Trap Door Supply Chain Attack Spreads Credential-Stealing Malware via npm, PyPI, and CratesIO
Summary: A coordinated supply chain campaign codenamed TrapDoor has spread credential-stealing malware through npm, PyPI, and Crates.io using more than 34 malicious packages across over 384 versions, with the earliest activity recorded on May 22, 2026, at 8:20 p.m. UTC. The packages target developers in crypto, DeFi, Solana, and AI communities, using postinstall hooks, import-time execution, and malicious build.rs scripts to steal developer secrets, crypto wallets, SSH keys, cloud credentials, browser data, and environment variables.
Key Takeaway: The campaign also planted .cursorrules and CLAUDE.md files with hidden instructions in pull requests to projects including browser-use, langchain, and langflow, testing whether AI coding assistants can be tricked through ordinary open-source contribution workflows into finding and exfiltrating secrets.
Read the original at The Hacker News ↗
- Topics
- Supply Chain & AppSec
- Related
- Kitesurf is now open source Cyber Risks · Nov 13, 2026Trained to betray: How post-training supply chain attacks hijack coding agents Cyber Risks · Nov 12, 2026ZDI-26-913: (0Day) Meta fairseq load_audio_path Code Injection Remote Code Execution Vulnerability Cyber Risks · Nov 11, 2026