惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
有赞技术团队
有赞技术团队
博客园_首页
H
Help Net Security
GbyAI
GbyAI
aimingoo的专栏
aimingoo的专栏
V
Visual Studio Blog
The Cloudflare Blog
腾讯CDC
Jina AI
Jina AI
Last Week in AI
Last Week in AI
月光博客
月光博客
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
Blog — PlanetScale
Blog — PlanetScale
人人都是产品经理
人人都是产品经理
Engineering at Meta
Engineering at Meta
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
爱范儿
爱范儿
N
Netflix TechBlog - Medium
F
Fortinet All Blogs

2024 Sonatype Blog

Why AI Demands a New Approach to Shift Left Reduce AI Token Waste by Getting Decisions Right Earlier Optimising Out the Waste in Open Source Publishing The CRA Reporting Deadline Is Almost Here Hugging Face Security Incident: A New Class of Threat Is Here The AI Productivity Paradox: More Code, Not More Delivery A Reported Log4j RCE Is More Complicated Than It Looks Why Financial Services Is the Canary in the Code Mine 91 Spring CVEs: The AI Vulnerability Consumption Problem An Air Gap Doesn Securing Software at the Speed of AI: What Four Years of Data Reveal Major Themes at Black Hat 2026 Six npm Packages Use Ethereum Transactions to Retrieve Malicious Payloads Flooding Dropper Hits npm With 850 Malicious Packages Mini Shai-Hulud npm Attack: More Than 2,200 Components Impacted Defining Community Open Source Is Harder Than It Looks Walking the Walk on Package Registry Sustainability AI Changes the Software Supply Chain and How We Secure It The Hugging Face Incident Changes the Vulnerability Equation What Is Grounding? Why AI Coding Assistants Need Better Intelligence Open Source, Open Infrastructure, and the Space Between Request for Comments: CARE and Maven Central Q2 2026 Open Source Malware Index AI Is Forcing a New Open Source Security Model Vulnerability Prioritization Is Missing the AI-Era Point The Hidden National Security Threat Inside AI-Driven Software Miasma Returns: Leo Platform Compromise in npm The Rise of Collective Defense for Open Source Signal Over Noise: Reachability Analysis Is the Reality Check SCA Has Been Missing Software Security Has to Start at Assembly
5 Reasons Developers Still Download Malicious Packages
Aaron Linskens · 2026-08-05 · via 2024 Sonatype Blog

Engineering organizations deploy dependency scanners, train developers, secure endpoints, and establish policies for open source components. Yet malicious packages still reach developer workstations, build systems, and CI/CD environments.

The easy explanation is that a developer mistyped a package name or failed to inspect a dependency. But that explanation is increasingly incomplete.

According to Sonatype's latest research on malicious open source packages, only 9% used traditional typosquatting to imitate legitimate software. The remaining 91% relied on broader naming variations designed to resemble legitimate plugins, configurations, SDKs, utilities, wrappers, scoped modules, and versioned extensions.

Attackers are exploiting naming conventions and workflow familiarity, not just hurried keystrokes.

Engineering leaders should ask a different question: not why a developer selected the wrong package, but why the development process let a plausible-looking package execute before anyone verified that it was safe.

That problem stems from five systemic challenges:

  • Malicious packages no longer look obviously wrong.

  • Fast development leaves little time for package verification.

  • Post-download detection can come too late.

  • Attacker campaigns move faster than package reputation.

  • Attackers exploit the least-governed path into development.

Malicious Packages No Longer Look Obviously Wrong

Malicious packages no longer look obviously malicious because attackers design them to resemble legitimate parts of the software ecosystem.

Sonatype researchers found that 91% of the brandjacking malware in our dataset went beyond traditional typosquatting. Instead of relying on spelling mistakes, attackers used naming variations — such as prefixes, suffixes, scoped modules, and familiar terms like plugin, config, or sdk — to make malicious packages appear trustworthy.

The shift is significant. Traditional typosquatting exploits typing errors. Modern naming-variant attacks exploit developer expectations. In ecosystems full of plugins, wrappers, and integrations, a malicious package only needs to look like it belongs.

As a result, checking package names is no longer enough. Organizations need security controls that evaluate package context before software reaches developers.

Fast Development Leaves Little Time for Package Verification

Developers download risky packages because modern software workflows prioritize speed over manual package verification.

Adding a dependency is often just another step in completing a task. Developers may install packages while:

  • Resolving a build error.

  • Testing a new framework.

  • Following online documentation.

  • Working against a deadline.

  • Accepting a recommendation from an AI coding assistant.

In those moments, a malicious package often looks no different from a legitimate one. Both may have plausible names, professional documentation, and little publishing history.

That makes package verification a systems problem, not a developer problem. Organizations need security controls that evaluate components automatically before they reach developer workstations or build pipelines.

Post-Download Detection Can Come Too Late

Post-download detection may be too late because many malicious packages execute as soon as they are installed.

Unlike vulnerabilities, which are unintended weaknesses in legitimate software, malware is intentionally designed to steal data, establish access, or deliver additional payloads. A malicious package may begin doing exactly that as soon as it is installed.

Sonatype found that 74% of the malicious packages analyzed targeted developer data, including environment information, secrets, or both. Common behaviors included host-information exfiltration, secrets theft, droppers, backdoors, and obfuscated code. Development environments often contain API keys, GitHub tokens, cloud credentials, registry tokens, SSH keys, and CI/CD secrets — all valuable targets for attackers.

By the time a scanner identifies the package in a manifest or repository, the initial compromise may already have occurred. Engineering leaders should therefore evaluate software supply chain security tools not only by whether they detect malware, but by whether they stop it before download.

Attacker Campaigns Move Faster Than Package Reputation

New malicious packages often spread faster than reputation-based defenses can identify them.

By the time public reports, download counts, or other trust signals indicate a package is dangerous, it may already have reached developer workstations, test environments, and build systems.

Sonatype identified 174 campaign families that reused naming tactics, publisher behavior, infrastructure, and malicious objectives across packages and ecosystems. Rather than publishing isolated malicious packages, attackers increasingly operate repeatable campaigns that move faster than traditional reputation systems.

That is why automated quarantine matters. Instead of trusting every unfamiliar package or blocking every new one, organizations can temporarily hold suspicious components while additional analysis determines whether they should be released or blocked.

Attackers Exploit the Least-Governed Path Into Development

Attackers exploit the least-governed path into development because security controls rarely cover every way software enters an organization.

Dependencies enter organizations through far more than a centrally managed repository. They also arrive through:

  • Direct downloads from public registries.

  • Developer workstations.

  • CI/CD pipelines and build systems.

  • Containers and container images.

  • AI-generated dependency recommendations.

  • Temporary or unmanaged development environments.

Malware prevention is only as strong as the least-governed path. Organizations may tightly control their internal repository while allowing software to enter elsewhere with little or no inspection.

Engineering leaders should identify every path through which software enters the organization and apply consistent controls across those workflows. Sonatype Firewall extends malicious package protection across repositories, endpoints, and the network edge, helping prevent unsafe components from reaching developers regardless of how they are introduced.

The Better Model: Stop Malware Before Download

Organizations reduce malicious package risk by evaluating software before it reaches developers instead of after it enters the environment.

That means:

  • Evaluating packages before installation.

  • Assessing publisher, naming, ecosystem, and campaign context.

  • Automatically quarantining suspicious components.

  • Protecting every path through which software enters development.

  • Keeping trusted software moving without unnecessary friction.

Modern malicious packages are designed to look ordinary. They no longer rely primarily on spelling mistakes. They rely on manufactured legitimacy.

Organizations need open source security controls that evaluate components before they reach developers, block malicious packages before they enter repositories, and continuously guide teams toward trusted components instead of leaving every dependency decision to individual developers.

This approach requires accurate, timely intelligence. Public vulnerability databases and reputation signals provide valuable context, but they often lag behind emerging malware campaigns or lack the detail needed to make confident policy decisions. Sonatype Research Labs continuously investigates malicious open source packages, validates findings beyond public sources, and delivers proprietary threat intelligence that helps organizations identify and stop malicious components earlier.

That intelligence powers software supply chain security capabilities, enabling engineering teams to build with confidence without slowing development.

Tags

dependencies Open Source engineering developers packages supply chain attacks Sonatype Firewall open source malware