www.infoworld.com Mini Shai-Hulud npm Attack Compromises SAP Developer Packages
Article Content
- •Four SAP-related npm packages (mbt, @cap-js/db-service, @cap-js/postgres, @cap-js/sqlite) published malicious versions on April 29.
- •Malicious code reportedly harvested developer, GitHub, npm, and cloud credentials at install time.
- •Stolen tokens were reportedly used to add malicious GitHub Actions workflows and publish poisoned package versions.
- •The @cap-js compromise was linked by SafeDep to an npm OIDC trusted publishing configuration gap; mbt is suspected to involve a static npm token.
- •Affected versions were replaced by safe releases; no CVE is assigned in the reporting.
On April 29, SAP warned customers that malicious code was found in four open-source npm packages used in SAP development: @cap-js/sqlite, @cap-js/postgres, @cap-js/db-service, and mbt.
The campaign, referred to as "mini Shai-Hulud," affected packages tied to SAP Business Technology Platform, SAP Cloud Application Programming Model (SAP CAP), and the Cloud MTA Build Tool.
According to researchers at SafeDep, Aikido Security, Wiz, and other firms, the malicious versions were [email protected], @cap-js/[email protected], @cap-js/[email protected], and @cap-js/[email protected].
The injected installation-time code reportedly could steal developer credentials, GitHub and npm tokens, GitHub Actions secrets, and cloud credentials from AWS, Azure, GCP, and Kubernetes environments. Stolen data was reportedly encrypted and exfiltrated to public GitHub repositories created from victims' own accounts.
The malware reportedly used stolen tokens to add malicious GitHub Actions workflows to accessible repositories and publish poisoned package versions.
SafeDep said attackers abused a configuration gap in npm's OIDC trusted publishing setup for the @cap-js packages, while the mbt compromise is suspected to involve a static npm token. The attackers also attempted persistence through Visual Studio Code and Claude Code configuration files.
The suspicious versions were later replaced by safe releases.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (2)
Following this threat?
Track SAP in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed
Common questions
Am I affected if I use SAP CAP or the Cloud MTA Build Tool?
What should I do if I installed a malicious version?
Is there a CVE assigned to this incident?
Continue Reading
SAP Confirms Security Incident as Attackers Reportedly Steal GitHub Tokens and Alter Source Code SAP confirmed a security incident after identifying suspicious activity in its IT environment, according to statements to dpa, Reuters and BleepingComputer. Der Spiegel reported, citing an insider, that attackers stole SAP employees' authentication tokens and used them to copy and alter source code on GitHub; SAP has…
React Server Components RCE Vulnerability CVE-2025-55182 Disclosed and Patched A critical unauthenticated remote code execution vulnerability, CVE-2025-55182, exists in React Server Components, reported by Lachlan Davidson on November 29 and rated CVSS 10.0. The flaw lies in how React decodes payloads sent to React Server Function endpoints. Vulnerable versions are 19.0, 19.1.0, 19.1.1, and…