Security News

Cybersecurity news aggregator

📦
HIGH Attacks SecurityWeek

SAP NPM Packages Targeted in Supply Chain Attack

A supply chain attack named Mini Shai-Hulud compromised four SAP NPM packages (`npm mbt 1.2.48`, `@cap-js/db-service 2.10.1`, `@cap-js/postgres 2.2.2`, and `@cap-js/sqlite 2.2.2`) by injecting a malicious preinstall script that fetches and executes a Bun binary to steal local credentials and cloud secrets. The malicious versions were available for 2-4 hours and have been unpublished; clean versions have been released to supersede them. Organizations using SAP CAP or MTA-based deployment pipelines should verify they did not install these specific compromised versions during the exposure window.
Read Full Article →

Malware & Threats SAP NPM Packages Targeted in Supply Chain Attack The Mini Shai-Hulud attack introduced a preinstall hook to fetch and execute a Bun binary and bypass security monitoring. By Ionut Arghire | April 30, 2026 (10:27 AM ET) Flipboard Reddit Whatsapp Whatsapp Email Four SAP NPM packages have been injected with malicious code as part of a new supply chain attack, security researchers warn. The campaign, referred to as Mini Shai-Hulud, is targeting packages linked to the SAP Cloud Application Programming (CAP) ecosystem and SAP cloud deployment workflows. On April 29, four package versions were flagged as malicious, namely npm mbt 1.2.48, npm @cap-js/db-service 2.10.1, npm @cap-js/postgres 2.2.2, and npm @cap-js/sqlite 2.2.2 . With over 500,000 combined weekly downloads, these packages are SAP’s Cloud MTA Build Tool for building Multi-Target Application archives, and database service packages for CAP software. These packages, Socket reports, were injected with a preinstall script working as a runtime bootstrapper. When executed, the script fetches a Bun ZIP from a GitHub repository, extracts it, and executes the included Bun binary. According to Onapsis , the malicious package versions were available for 2-4 hours. They have since been unpublished and clean versions have been released to supersede them. Advertisement. Scroll to continue reading. The malicious code delivered through the compromised packages is an information stealer that targets local credentials, GitHub and NPM tokens, and AWS, Azure, GCP, GitHub Action, Kubernetes, and other cloud secrets. The malware exfiltrates them through public GitHub repositories that have the hardcoded description “A Mini Shai-Hulud has Appeared”. The malware also includes a propagation mechanism. According to Aikido , the threat checks for GitHub Actions release workflows and then modifies package tarballs to add the payload, modify their versions, repackage them, and use stolen GitHub Actions tokens to publish them. SAP’s NPM ecosystem was likely hit through a compromised NPM token that was exposed to pull request builds via CircleCI, Aikido says. As Onapsis underlines, the Mini Shai-Hulud supply chain attack represents a major threat to developers and organizations that use SAP CAP, which is the framework for S/4HANA extensions, Fiori app backends, MTAs, and integration flows. “Any SAP customer with JavaScript development may be pulling @sap/* and @cap-js/* packages into their build pipelines, frequently with loose version ranges and lots of transitive dependencies,” Onapsis notes. All organizations using SAP Business Technology Platform workflows, SAP CAP, or MTA-based deployment pipelines should check if they installed the malicious package versions during the exposure window. Based on technical overlaps and operational patterns, cybersecurity firm Wiz attributes the incident to the notorious TeamPCP hacking group that claimed several supply chain attacks over the past months. “This assessment is due to a shared RSA public key used to encrypt the exfiltrated secrets. This means that the same private key would decrypt the payloads, limiting the accessibility of the exfiltrated data to TeamPCP,” Wiz notes . Related: Critical Gemini CLI Flaw Enabled Host Code Execution, Supply Chain Attacks Related: Checkmarx Confirms Data Stolen in Supply Chain Attack Related: Bitwarden NPM Package Hit in Supply Chain Attack Related: Mercor Hit by LiteLLM Supply Chain Attack Written By Ionut Arghire Ionut Arghire is an international correspondent for SecurityWeek. More from Ionut Arghire Iranian Cyber Group Handala Targets US Troops in Bahrain Chrome 147, Firefox 150 Security Updates Rolling Out Alleged Chinese State Hacker Extradited to US Dozens of Open VSX Extension Clones Linked to GlassWorm Malware No Patch for New PhantomRPC Privilege Escalation Technique in Windows Spectrum Security Emerges From Stealth Mode With $19 Million Incomplete Windows Patch Opens Door to Zero-Click Attacks OpenSSH Flaw Allowing Full Root Shell Access Lurked for 15 Years Latest News Critical Gemini CLI Flaw Enabled Host Code Execution, Supply Chain Attacks EnOcean SmartServer Flaws Expose Buildings to Remote Hacking Critical cPanel & WHM Vulnerability Exploited as Zero-Day for Months ‘Copy Fail’ Logic Flaw in Linux Kernel Enables System Takeover Sandhills Medical Says Ransomware Breach Affects 170,000 Fresh LiteLLM Vulnerability Exploited Shortly After Disclosure Hundreds of Internet-Facing VNC Servers Expose ICS/OT Checkmarx Confirms Data Stolen in Supply Chain Attack Trending Daily Briefing Newsletter Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts. Webinar: A Step-by-Step Approach to AI Governance April 28, 2026 With "Shadow AI" usage becoming prevalent in organizations, learn how to balance the need for rapid experimentation with the rigorous controls required for enterprise-grade deployment. Register Virtual Event: Threat Detection and Incident Response Summit May 20, 2026 Delve into big-picture strategies to reduce attack surfaces, improve patch management, conduct post-incident forensics, and tools and tricks needed in a modern organization. Register People on the Move MongoDB has appointed Doug Bowers as Chief Information Security Officer. Ben Wilkens has been promoted to Director of Cybersecurity at NMFTA. Cato Networks has appointed Meital Koren as Chief Legal Officer. More People On The Move Expert Insights The Mythos Moment: Enterprises Must Fight Agents with Agents Only with the right platform and an agentic, AI-driven defense, will enterprises be able to protect themselves in the agentic era. (Etay Maor) Why Cybersecurity Must Rethink Defense in the Age of Autonomous Agents From autonomous code generation to decision-making systems that initiate actions without human intervention, the industry is entering a new phase. (Torsten George) Government Can’t Win the Cyber War Without the Private Sector Securing national resilience now depends on faster, deeper partnerships with the private sector. (Steve Durbin) The Hidden ROI of Visibility: Better Decisions, Better Behavior, Better Security Beyond monitoring and compliance, visibility acts as a powerful deterrent, shaping user behavior, improving collaboration, and enabling more accurate, data-driven security decisions. (Joshua Goldfarb) The New Rules of Engagement: Matching Agentic Attack Speed The cybersecurity response to AI-enabled nation-state threats cannot be incremental. It must be architectural. (Nadir Izrael) Flipboard Reddit Whatsapp Whatsapp Email

Share this article