Cyber Risks · Qualys Blog

How to Prevent NPM Supply Chain Attacks in CI/CD Pipelines with Container Security | Qualys

Summary: On September 8, 2025, attackers compromised 18 widely used NPM packages, including chalk, debug, ansi-styles, and strip-ansi, which are collectively downloaded 2.6 billion times per week. The malicious versions contained obfuscated JavaScript designed to intercept cryptocurrency transactions, and organizations unknowingly pulled the poisoned packages into their builds. Qualys describes its QScanner integration with GitHub Actions, which scans container images for vulnerabilities and secrets and outputs results in SARIF format to GitHub's Code scanning alerts.

Key Takeaway: Eighteen packages downloaded 2.6 billion times a week were poisoned in a single incident, and the tainted code reached production because scanning happened after the build rather than before it.

Read the original at Qualys Blog ↗

Topics
Cloud Security
Related