Loading…
Topic
npm
2 posts about npm. Every summary links to the original.
- 2 posts
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
What 5,400 Malicious npm Packages Reveal about Software Supply Chain Risk in 2026
An analysis of approximately 5,400 confirmed malicious npm packages published between December 2025 and October 2026 reveals that exposure is concentrated in compromised legitimate packages, which account for 7% of the set but over 99% of downloads, while attacker-created packages constitute 89% of the set but only 0.2% of downloads. Account compromise has shifted from stolen tokens to compromised build pipelines, with 85% of packages published via trusted publishing being compromised legitimate packages. A distinct class of activity targets AI development tooling, including MCP server packages that harvest credentials and packages that modify AI assistant configuration. Obfuscation increased, with the share of actors triggering obfuscation rules more than doubling between May and August 2026. The registry is used as a distribution channel for payloads unrelated to software supply chain, and removal is slower than reporting, with attackers removing their own packages at a median of seven hours before any takedown.
Closing the Binary Blind Spot: Domain-Knowledge Injection for LLM Malware Triage in npm Packages
Supply chain attacks on the npm registry are growing, and packages that bundle a binary payload are rare but disproportionately hard for LLMs to triage. The authors built a scanner that combines static analysis with LLM reasoning and introduced capability profiles, which encode malicious techniques as weighted conditions injected into the prompt before the model decides. They tested nine models across seven providers on five adversarial payload types, including credential stealers and reverse shells, at varying obfuscation levels. Without profiles, the budget-tier models failed to reach a malicious verdict on 50 percent of tests, with failures following distinct model-specific patterns rather than random error. With profiles enabled, the failure rate dropped to 4 percent, and 91 percent of prior failures recovered to a detection.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.