Monitor this situation.
Unsubscribe anytime.
[SITUATION] · [ACTIVE] · [TECHNOLOGY]
3 clusters · 7 sources · 27 days · First seen · Last updated
Software supply chain security vulnerabilities
Overview
Security researchers have identified several significant software supply-chain vulnerabilities and malicious campaigns targeting developers through the npm registry and GitHub.
Initial findings detailed the MALFEX campaign, which used malicious postinstall scripts in packages like ‘function-flag’ to deploy the Overlord Remote Access Trojan (RAT) for keylogging and remote shell access. This operation utilized Solana blockchain-based command-and-control mechanisms. CloudSEK noted that the MALFEX malicious scripts remained undetected for 14 months, targeting cryptocurrency wallets, browser credentials, and messaging data. Additionally, the ‘PhantomSub’ campaign involved 101 npm packages that abused the ‘Baileys’ WhatsApp project to add users to unauthorized groups without consent, accumulating approximately 490,000 downloads.
Subsequent reports highlighted a compromised version of the Tensorlake SDK (version 0.5.144) that was injected into its main branch to search for developer and cloud service credentials. Further research uncovered ‘SlugFest’, a vulnerability in GitHub’s ‘Trusted Publishing’ mechanism. This flaw allowed attackers to claim abandoned project names due to the system’s reliance on human-readable slugs rather than permanent IDs, enabling the issuance of malicious updates to over 1,500 packages. GitHub has since implemented a 48-hour validation window for new trusted publishing configurations to mitigate such risks.
Recent analysis suggests that traditional defenses, such as the ‘ignore-scripts’ setting, may be insufficient. A campaign involving a malicious package imitating the ‘sorted-btree’ library demonstrated that payloads can remain dormant until specific functions, such as ‘BTree.prototype.set’, are called during runtime. Furthermore, research into pnpm indicates that hooks like ‘pnpmfile.cjs’ may run regardless of security settings, and npm configuration handling can still expose registry credentials via environment variables.
Entities
npm · GitHub · CloudSEK · OX Security · WhatsApp
Timeline
-
[TECHNOLOGY] 2 sourcesSecurity researchers highlight risks in npm and pnpm package execution
Security researchers warn that blocking npm installation scripts is insufficient, as malicious code can trigger during runtime or through other package manager hooks like pnpmfile.cjs.
-
[TECHNOLOGY] 2 sourcesSoftware supply chain vulnerabilities identified in npm and GitHub
Security flaws in GitHub’s Trusted Publishing and a compromised Tensorlake npm package have exposed numerous software packages and developer credentials to potential supply chain attacks.
-
[TECHNOLOGY] 3 sourcesnpm supply-chain attacks identified in MALFEX and PhantomSub campaigns
Researchers have uncovered major npm supply-chain attacks, including the 14-month undetected MALFEX campaign and the PhantomSub campaign, which adds developers to unauthorized WhatsApp groups.
Sources
cybernoz.com · elitegrouparchitects.com · gipfeli.ch · itnerd.blog · jornal24horas.com.br · minutodaseguranca.blog.br · thehackernews.com
This summary has been updated 1 time: see revision history