SAP-Related npm Packages Compromised in Credential-Stealing Supply Chain Attack
Summary: A supply chain campaign calling itself the Mini Shai-Hulud compromised SAP-related npm packages, with suspicious versions published on April 29, 2026, between 09:55 UTC and 12:14 UTC. The poisoned releases added a preinstall hook running setup.mjs that loads the Bun runtime to execute a credential stealer harvesting developer credentials, GitHub and npm tokens, GitHub Actions secrets, and AWS, Azure, GCP, and Kubernetes cloud secrets, then encrypts and exfiltrates them to public GitHub repositories on the victim's own account described as "A Mini Shai-Hulud has Appeared."
Key Takeaway: More than 1,100 repositories already carry that description, and the 11.6 MB payload self-propagates by injecting malicious GitHub Actions workflows into victims' repositories to publish further poisoned npm versions. The root cause was an npm OIDC trusted publisher configuration for @cap-js/sqlite that trusted any workflow in cap-js/cds-dbs rather than only the canonical release-please.yml on main, so a branch push could mint a publishing token.
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