Malicious npm packages abuse dependency confusion to profile developer environments
2026-05-31T14:52:14Z•f10d4bb7b79f2bb74d5f380977372d61e6a0c7ecee2d541fdf82d425f282ea7c
CI/CDdependency-confusiondevsecopsmalicious-packagesnpmreconnaissancesoftware-supply-chainsupply-chain-security
What happened
Microsoft discovered a dependency‑confusion campaign that published 33 malicious npm packages which execute during install to collect reconnaissance data from developer and build environments. The packages abuse package naming and registry resolution to cause developer machines and CI systems to fetch attacker-controlled code, enabling environment profiling (installed tools, credentials, CI metadata) that can facilitate subsequent credential theft or lateral movement. The report outlines the attack chain, observed tradecraft, detection opportunities, and mitigations (registry scoping/locking,
Why it matters
A reviewed impact interpretation has not been published for this record.
Evidence and limitations
- Source ID
- microsoft_security_blog
- Record identifier
- f10d4bb7b79f2bb74d5f380977372d61e6a0c7ecee2d541fdf82d425f282ea7c
- Enrichment time
- 2026-05-31T14:52:14Z
- AI-assisted enrichment
- Yes
This record may overlap with other records. Its enrichment can be incomplete or wrong, and machine assistance was used. Validate consequential decisions against the linked source and your own environment.