Evidence · DiggingBeagle record
TrapDoor Crypto Stealer Supply Chain Attack Hits 34 Packages and Hundreds of Versions Across npm, PyPI, and Crates.io
Socket documents more than 34 TrapDoor packages and at least 384 related versions or artifacts across npm, PyPI and Crates.io. The analysis describes code designed to collect wallets and developer credentials through installation, import or compilation, plus hidden instructions in .cursorrules and CLAUDE.md and related pull requests aimed at coding assistants. Socket distinguishes observed code from broader attacker design documents and does not provide a measured assistant compromise rate or a realized financial loss total.
- Published
- May 24, 2026
- Publisher
- Socket
Evidence record
Claim-level citations (4)
- supportsTrapDoor disguised credential stealers as AI and security developer tools: Socket linked more than 34 malicious packages and at least 384 related versions or artifacts across npm, PyPI and Crates.io to the TrapDoor campaign.
Opening campaign summary and package lists across npm, PyPI and Crates.io.
- supportsTrapDoor disguised credential stealers as AI and security developer tools: Socket observed hidden AI-facing instructions and campaign-linked pull requests intended to influence coding assistants, but cautions that the technique may not work consistently across all tools and models and does not report a measured successful-compromise rate for that stage.
Sections 'AI Injection Targets Developer Assistants' and 'Attacker Opens PRs to AI and Developer Projects', including Socket's effectiveness caveat.
- supportsTrapDoor disguised credential stealers as AI and security developer tools: Socket observed TrapDoor components planting hidden instructions in .cursorrules and CLAUDE.md and campaign-linked pull requests attempting to introduce those AI-facing files into legitimate developer projects.
Sections 'AI Injection Targets Developer Assistants' and 'Attacker Opens PRs to AI and Developer Projects'.
- supportsTrapDoor disguised credential stealers as AI and security developer tools: TrapDoor packages were designed to steal developer credentials and cryptocurrency wallet material through ecosystem-specific install, import and build-time execution paths.
Sections 'What TrapDoor Steals', 'npm Packages Use Postinstall Hooks and Persistent Credential Harvesting', 'Crates.io Packages Exfiltrate Wallet Keystores' and 'PyPI Packages Execute Remote JavaScript on Import'.