Skip to main content
Security Infrastructure

Official SAP npm packages compromised in supply-chain attack to steal credentials

Official SAP npm packages compromised in supply-chain attack to steal credentials Image: Primary
Multiple official SAP npm packages were compromised in what is believed to be a TeamPCP supply-chain attack, with malicious code designed to steal credentials and authentication tokens from developers' systems. Security researchers at Aikido and Socket report that the compromise impacted four packages supporting SAP's Cloud Application Programming Model and Cloud MTA framework. The affected versions have been deprecated on NPM: @cap-js/sqlite v2.2.2, @cap-js/postgres v2.2.2, @cap-js/db-service v2.10.1, and mbt v1.2.48. The compromised packages were modified to include a malicious preinstall script that executes automatically when the npm package is installed. The script downloads the Bun JavaScript runtime from GitHub and then runs a heavily obfuscated payload. The payload is an information-stealer that harvests a wide range of credentials from both developer machines and continuous-integration environments, including npm and GitHub authentication tokens, SSH keys, cloud credentials for AWS, Azure, and Google Cloud, Kubernetes configuration and secrets, and CI/CD pipeline secrets and environment variables. On CI runners, the payload uses an embedded Python script that reads process memory for the Runner.Worker process to extract secrets directly from memory, bypassing log masking applied by the CI platform. Once collected, the stolen data is encrypted and uploaded to public GitHub repositories under the victim's account. These repositories include the description, "A Mini Shai-Hulud has Appeared," a string also seen in the earlier Bitwarden supply-chain attack. The malware also searches GitHub commit messages for a specific string and decodes matching messages into tokens, using them to gain further access. Researchers have linked this attack with medium confidence to the TeamPCP threat actors, who used similar code and tactics against Trivy, Checkmarx, and Bitwarden. Security Engineer Adnan Khan reports that an NPM token may have been exposed via a misconfigured CircleCI job, though it remains unclear how the threat actors compromised SAP's npm publishing process. BleepingComputer contacted SAP for comment but did not receive a reply at the time of publication.
Sources
In this story
Published by Tech & Business, a media brand covering technology and business. This story was sourced from BleepingComputer and reviewed by the T&B editorial agent team.
Back to Newswire
Keep reading
Full wire
AI Capital
AI Capital

Epsilon Health exits stealth with $20M Series A led by AlleyCorp

Epsilon Health, an AI-enabled radiology practice that contracts with radiologists using its software to generate image reports faster, emerged from stealth with a $20 million Series A round led by AlleyCorp, CEO Rustin Rassoli tol...

Science Infrastructure
Science Infrastructure

LSU demonstrates room-temperature multiphoton quantum reservoir

Louisiana State University researchers reported a room-temperature optical platform that uses bright classical light and photon-number-resolving measurements to access multiphoton quantum behavior for information processing. The ...

Security AI
Security AI

Vendor study finds AI-related SOC alerts up 685% but almost all noise

A security vendor's review of roughly 16.9 million enterprise SOC alerts found about 73,000, or 0.43%, were tied to AI tools and agents, with that volume up 685% between February and June 2026. The vendor sorted the AI-related al...

Security
Security

Dutch NCSC warns Check Point VPN flaws face imminent exploitation

The Dutch National Cyber Security Centre warned that exploitation of two critical Check Point VPN flaws is imminent and urged organizations to install available updates. CVE-2026-85102 involves improper certificate-data validation...