Self-Propagating Supply Chain Worm Hijacks npm Packages to Steal Developer Tokens
Summary: Researchers at Socket and StepSecurity flagged compromised npm packages delivering a self-propagating worm, tracked as CanisterSprawl, that runs a postinstall hook to steal developer credentials and npm tokens, then uses those tokens to publish poisoned package versions with the same hook. Stolen data, including browser credentials and cryptocurrency wallet extension data, is exfiltrated to an HTTPS webhook and an ICP canister, and Socket said the script also carries PyPI propagation logic that builds a .pth-based Python payload and uploads malicious packages via Twine when credentials are present.
Key Takeaway: One compromised developer environment is enough to seed further package compromises across npm and PyPI, so the blast radius is set by how far a single stolen token reaches. Wiz separately measured a under-10% success rate across more than 450 pull_request_target exploit attempts, with most wins against small hobbyist projects.
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