Skip to content
The Injection_
LIVE
LIVElast sweep next in--:--:--

[ RSS ][ JSON ][ llms.txt ]

Malicious package

Also called: supply chain malware

A malicious package is a library, plugin, extension, skill or model file published to look useful while carrying code that steals data, opens a backdoor or attacks its user. AI tooling has made registries like npm, PyPI, Hugging Face and skill and MCP marketplaces frequent targets.

How it works

Malicious packages run code at install, import or load time, or wait for a trigger. They arrive through typosquatting, compromised maintainer accounts, takeovers of abandoned names, or agents that install dependencies automatically.

How to defend

Pin and review dependencies, use registry scanners, restrict which sources agents may install from, and isolate build and agent environments from long-lived secrets.

Real cases 15 stories

  1. CRIT

    Supply chain · AIR Security

    TrojanPony: fake skill forks ship a Windows trojan to agent folders

    TrojanPony is a live campaign that publishes fake improved copies of popular coding-agent skills and plugins. AIR Security counts 487 public repositories carrying the kit, which drops the MopsStealer trojan on Windows machines.

  2. HIGH

    Supply chain · Wiz

    agent-framework: two PyPI releases shipped an Azure credential stealer

    Versions 1.26.1 and 1.26.2 of the agent-framework PyPI package, the Python build of Microsoft Agent Framework, carried a credential stealer that collected Azure and CI tokens. PyPI quarantined both about an hour after release.

  3. MED

    Supply chain · OSV

    mcp-aevo-server: a fake MCP package takes trading keys and wallets

    A malicious PyPI package named mcp-aevo-server collects Aevo trading credentials and wallet private keys from environment variables, then listens for remote commands. Six releases used a name the real project never claimed.

  4. HIGH

    Supply chain · GitGuardian

    wfx-loot: an npm hook runs the CI secret stealer GitHub's holds missed

    wfx-loot is a credential-theft campaign that pushes a CI secret stealer into public repositories with stolen GitHub credentials. GitGuardian counted 28,500 payload patches from 2,367 accounts across 17,715 repositories.

  5. MED

    Supply chain · Socket

    strutil-core: a RubyGems worm writes itself into AI agent configs

    strutil-core 1.0.1 is a malicious RubyGems package that steals credentials during install and edits AI coding tool config files so agents run it again. Socket reports RubyGems removed both published versions.

  6. HIGH

    Supply chain · Cursor

    Cursor: a backdoored Claude Code extension opened SSH tunnels

    Cursor served tampered builds of the Anthropic.claude-code extension, versions 2.1.312 and 2.1.313, from its own extension marketplace for part of October 29, 2026. Cursor said at most 5,000 users were affected.

  7. HIGH

    Supply chain · AIR Security

    SolanaCry: a poisoned starter kit turns coding agents into RAT installers

    SolanaCry is malware AIR Research Lab found in the wild that reaches developers through their coding agents: the agent searches for a Solana starter kit, picks a poisoned GitHub repo, and runs the README's one-line PowerShell install.

  8. HIGH

    Supply chain · JFrog Security Research

    testmetest: 42 armed repos run a payload when an agent opens them

    JFrog found 42 armed GitHub repositories across 11 legitimate owners in the testmetest npm campaign. Each carries startup hooks for Claude Code, Gemini CLI, Cursor and VS Code, so opening the workspace starts a credential stealer.

  9. HIGH

    Attack · Forever Security

    Markdown in Downloads: a planted AGENTS.md hijacks Codex and Claude Code

    A planted AGENTS.md file in a user's Downloads folder makes OpenAI Codex install malware, Forever Security reports, and a matching CLAUDE.md reroutes Claude Code's traffic to an attacker server that captures its OAuth token.

  10. CRIT

    Supply chain · Socket

    LiteLLM 1.107.0: backdoored wheels steal cloud and AI keys

    LiteLLM 1.107.0 shipped a credential stealer in all seven PyPI wheels and the v1.107.0 container images, Socket and JFrog report. LiteLLM now traces the release to a master key left in a public repository since May 2026.

  11. MED

    Supply chain · Bloom Security

    SlugFest: npm Trusted Publishing bound packages to a name, not an id

    npm Trusted Publishing bound a package to a GitHub repository name, not its permanent id, so anyone reclaiming a renamed or deleted repository's slug could publish new versions. Bloom Security found 1,500+ exposed packages.

  12. MED

    Supply chain · Elastic Security Labs

    Apex Accelerator: a fake npm coding agent plants an attacker MCP server

    Apex Accelerator is a fake Web3 accelerator that shipped two malicious npm packages. Elastic Security Labs found that the operation's AI coding assistant repackages Oh My Pi, reroutes model traffic and registers an attacker MCP server.

  13. HIGH

    Supply chain · CloudSEK

    NEBULA: seven fake AI SDK packages on npm drop a Windows RAT

    NEBULA is a malicious npm campaign that ships seven packages posing as a NebulaAI SDK and installs a Windows remote access trojan at install time. CloudSEK reports two of them were still downloadable on October 8.

  14. HIGH

    Supply chain · Socket

    TensorLake npm SDK published a credential stealer in 0.5.144

    tensorlake 0.5.144 on npm carried a credential-stealing worm that runs from a preinstall hook, Socket reports. The package is the SDK for a sandbox runtime used to run AI agents, with about 12,000 weekly downloads.

  15. HIGH

    Supply chain · Socket

    MemTensor MemOS packages compromised with a credential stealer

    Malicious releases of MemTensor's MemOS packages on npm and PyPI shipped sckit, a Go credential stealer that runs on import and sends npm, PyPI, GitHub, cloud and SSH secrets to skyleen[.]fr. Safe versions: npm 0.1.20, PyPI 2.0.33.