{"description":"Trending threats, MITRE ATT\u0026CK coverage, and detection metadata. Fed continuously.","favicon":"https://feed.craftedsignal.io/favicon-32x32.png","feed_url":"https://feed.craftedsignal.io/products/sap-javascript/feed.json","home_page_url":"https://feed.craftedsignal.io/","icon":"https://feed.craftedsignal.io/apple-touch-icon.png","items":[{"_cs_actors":["TeamPCP"],"_cs_cpes":["cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*","cpe:2.3:a:internlm:lmdeploy:*:*:*:*:*:*:*:*","cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:x64:*","cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:x86:*","cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:x64:*","cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:x86:*","cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:arm64:*","cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:x64:*","cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:x86:*","cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:arm64:*","cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:x64:*","cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:x86:*","cpe:2.3:o:microsoft:windows_11_23h2:*:*:*:*:*:*:arm64:*","cpe:2.3:o:microsoft:windows_11_23h2:*:*:*:*:*:*:x64:*","cpe:2.3:o:microsoft:windows_11_24h2:*:*:*:*:*:*:arm64:*","cpe:2.3:o:microsoft:windows_11_24h2:*:*:*:*:*:*:x64:*","cpe:2.3:o:microsoft:windows_11_25h2:*:*:*:*:*:*:arm64:*","cpe:2.3:o:microsoft:windows_11_25h2:*:*:*:*:*:*:x64:*","cpe:2.3:o:microsoft:windows_11_26h1:*:*:*:*:*:*:arm64:*","cpe:2.3:o:microsoft:windows_11_26h1:*:*:*:*:*:*:x64:*","cpe:2.3:o:microsoft:windows_server_2012:-:*:*:*:*:*:*:*","cpe:2.3:o:microsoft:windows_server_2012:r2:*:*:*:*:*:*:*"],"_cs_cves":[{"cvss":7.5,"id":"CVE-2026-33626"},{"cvss":4.3,"id":"CVE-2026-32202"},{"cvss":8.8,"id":"CVE-2026-3854"}],"_cs_exploited":true,"_cs_has_poc":true,"_cs_poc_references":[],"_cs_products":["AI SOC","Bitwarden CLI","cPanel","Entra ID","Firepower","GitHub","iOS","LMDeploy","OneDrive","pamdoora","Quasar Linux RAT","SAP Cloud Application","SAP JavaScript","Signal","Windows Shell"],"_cs_severities":["critical"],"_cs_tags":["supply-chain","npm","credential-theft","malware","github"],"_cs_type":"threat","_cs_vendors":["Apple","AWS","Bitwarden","Checkmarx","Cisco","cPanel","GitHub","Google","Intezer","Microsoft","PayPal","SAP","Trend Micro","Vercel"],"content_html":"\u003ch2 id=\"overview\"\u003eOverview\u003c/h2\u003e\n\u003cp\u003eThe \u0026quot;mini Shai-Hulud\u0026quot; campaign is a supply chain attack targeting SAP's JavaScript and cloud application development ecosystem. Active as of April 29, 2026, the campaign compromised multiple npm packages, including \u003ccode\u003embt@1.2.48\u003c/code\u003e, \u003ccode\u003e@cap-js/db-service@2.10.1\u003c/code\u003e, \u003ccode\u003e@cap-js/postgres@2.2.2\u003c/code\u003e, and \u003ccode\u003e@cap-js/sqlite@2.2.2\u003c/code\u003e. The compromised packages introduced a preinstall script that downloads and executes a platform-specific Bun binary from GitHub Releases. Wiz assesses this campaign likely links to the TeamPCP threat actor, due to similarities with previous operations. The malware harvests credentials and secrets from developers' local environments, GitHub Actions, and cloud platforms (AWS, Azure, GCP, Kubernetes), exfiltrating them to public GitHub repositories. The attack also self-propagates by injecting malicious GitHub Actions workflows into victim repositories to steal repository secrets and publish poisoned npm packages.\u003c/p\u003e\n\u003ch2 id=\"attack-chain\"\u003eAttack Chain\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003e\u003cstrong\u003eAccount Compromise:\u003c/strong\u003e Attackers compromised npm accounts, such as RoshniNaveenaS for the \u0026quot;@cap-js\u0026quot; packages and potentially \u0026quot;cloudmtabot\u0026quot; for the mbt package.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eMalicious Package Injection:\u003c/strong\u003e Modified workflows were pushed to non-main branches. For \u0026quot;@cap-js\u0026quot; packages, attackers exploited a misconfiguration in npm's OIDC trusted publisher setup.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePreinstall Hook Execution:\u003c/strong\u003e The compromised npm packages included a malicious \u0026quot;preinstall\u0026quot; script within their \u003ccode\u003epackage.json\u003c/code\u003e files.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eBun Runtime Download and Execution:\u003c/strong\u003e The \u0026quot;preinstall\u0026quot; script downloads a platform-specific Bun JavaScript runtime from GitHub Releases. The implementation follows HTTP redirects without validation.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCredential Stealing:\u003c/strong\u003e The downloaded Bun runtime executes a credential stealer (\u0026quot;execution.js\u0026quot;) designed to harvest local developer credentials, GitHub and npm tokens, GitHub Actions secrets, and cloud secrets from AWS, Azure, GCP, and Kubernetes.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eData Exfiltration:\u003c/strong\u003e Stolen credentials and secrets are encrypted using AES-256-GCM (with the key encapsulated using RSA-4096) and exfiltrated to public GitHub repositories created on the victim's own account, with the description \u0026quot;A Mini Shai-Hulud has Appeared.\u0026quot;\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eSelf-Propagation:\u003c/strong\u003e The malware injects a malicious GitHub Actions workflow into the victim's repositories using stolen GitHub and npm tokens, allowing it to steal repository secrets and publish poisoned versions of the npm packages.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePersistence:\u003c/strong\u003e The payload commits itself into every accessible GitHub repository by injecting a \u0026quot;.claude/settings.json\u0026quot; file (abusing Claude Code's SessionStart hook) and a \u0026quot;.vscode/tasks.json\u0026quot; file (with \u0026quot;runOn\u0026quot;: \u0026quot;folderOpen\u0026quot;) so that any attempt to open the infected repository in Microsoft Visual Studio Code (VS Code) or Claude Code causes the malware to be executed.\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch2 id=\"impact\"\u003eImpact\u003c/h2\u003e\n\u003cp\u003eThe \u0026quot;mini Shai-Hulud\u0026quot; campaign compromises developer environments and CI/CD pipelines, leading to widespread credential theft and supply chain poisoning. Over 1,100 GitHub repositories have been identified with the \u0026quot;A Mini Shai-Hulud has Appeared\u0026quot; description, indicating a significant number of victims. Successful exploitation allows attackers to steal sensitive cloud and development credentials, potentially leading to data breaches, code tampering, and further supply chain attacks. The attack's self-propagation capabilities exacerbate the spread and impact.\u003c/p\u003e\n\u003ch2 id=\"recommendation\"\u003eRecommendation\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003eDeploy the \u0026quot;Detect Mini Shai-Hulud Preinstall Script\u0026quot; Sigma rule to detect the execution of the malicious preinstall script during npm package installation.\u003c/li\u003e\n\u003cli\u003eDeploy the \u0026quot;Detect Mini Shai-Hulud Github Repo Creation\u0026quot; Sigma rule to detect the creation of GitHub repositories with the description \u0026quot;A Mini Shai-Hulud has Appeared.\u0026quot;\u003c/li\u003e\n\u003cli\u003eMonitor npm package installations for the presence of suspicious \u003ccode\u003epreinstall\u003c/code\u003e scripts that download and execute external binaries.\u003c/li\u003e\n\u003cli\u003eReview and harden npm OIDC trusted publisher configurations to ensure they only trust canonical release workflows on the main branch.\u003c/li\u003e\n\u003cli\u003eImplement multi-factor authentication (MFA) on all developer accounts and CI/CD systems to prevent account compromise.\u003c/li\u003e\n\u003cli\u003eAudit GitHub Actions workflows for suspicious activity, such as the injection of malicious steps.\u003c/li\u003e\n\u003c/ul\u003e\n","date_modified":"2026-11-20T01:36:50Z","date_published":"2026-04-29T16:26:00Z","id":"https://feed.craftedsignal.io/briefs/2026-04-29-mini-shai-hulud/","summary":"The 'mini Shai-Hulud' campaign compromised SAP-related npm packages with credential-stealing malware, exfiltrating sensitive data to public GitHub repositories and propagating through developer workflows.","title":"Mini Shai-Hulud Supply Chain Attack Targets SAP-Related npm Packages","url":"https://feed.craftedsignal.io/briefs/2026-04-29-mini-shai-hulud/"}],"language":"en","title":"CraftedSignal Threat Feed - SAP JavaScript","version":"https://jsonfeed.org/version/1.1"}