Supply chain attacks now hijack developer tools and CI/CD pipelines to steal credentials
Attackers are increasingly compromising developer environments and CI/CD pipelines to inject malware that steals credentials and self-propagates via npm packages.
Security & privacy Unit 42 21 Aug 2026 Incident analysis Real-world evidence
Published as “Connecting the Dots: Securing the Overlooked Corners of the Software Development Lifecycle (SDLC) Supply Chain”
Why it matters
If unaddressed, supply chain attacks can silently compromise developer credentials and propagate across the ecosystem.
Summary
The writeup analyzes the ChainDrop npm worm, which infected hundreds of packages and reads memory from GitHub Actions runners to steal OIDC tokens and other secrets. It shows how the worm leverages preinstall scripts, modifies developer tool configs, and uses stolen tokens to propagate automatically. The authors argue that traditional SBOMs miss such build-time malicious activity and recommend continuous visibility across developer endpoints, pipelines, and cloud runtimes, plus hardening steps like disabling install scripts and using short-lived OIDC credentials. Evidence is based on observed real-world infections and described attack techniques, but no quantitative evaluation of mitigation effectiveness is provided.
What they found 3
- ChainDrop infected over 400 npm packages.
“ChainDrop npm worm, which infected over 400 packages including massively popular libraries like keyv and cacheable-request”
- The worm reads live process memory from GitHub Actions runners to steal OIDC tokens.
“a hidden Python script directly read live process memory from GitHub Actions runners to steal temporary OpenID Connect (OIDC) tokens and secrets”
- Standard SBOMs miss malware executed during the build process.
“An inventory list created at the finish line won't catch malware that was executed during the build process.”
What’s new here 4
- Detailed breakdown of the three-step ChainDrop infection chain.
- Highlighting the lack of sandboxing for npm preinstall scripts and IDE extensions.
- Argument that static SBOMs are insufficient for detecting build-time malware.
- Practical hardening recommendations for CI/CD pipelines and developer environments.