MAL-2026-18358
Malicious code in @testsecuiitytestme/cache-helper (npm)
Auswirkung
This package installs a credential stealer and self-spreading worm. On a developer machine (it exits under CI, in containers and under a debugger), the install script loads a prebuilt native addon that decodes and runs a hidden, obfuscated Bun program. That program collects npm, GitHub, GitLab, PyPI, RubyGems, JFrog, Docker and cloud (AWS, GCP, Azure) credentials, HashiCorp Vault and Kubernetes secrets, SSH keys, .git-credentials and .env files, browser logins, the macOS keychain, 1Password and Bitwarden, and uses stolen publishing tokens to spread: it publishes to npm, PyPI and RubyGems, injects GitHub workflows and GitLab CI templates, and writes hooks into AI coding assistant configuration. Anyone who installed any version should treat every credential reachable from that machine as exposed: rotate npm, GitHub and cloud tokens, check their own packages for unexpected releases, and check repositories for unexpected workflow changes. @testsecuiitytestme/cache-helper is the only package of the npm account testsecuiitytestme. It was created on 2026-10-27 at 12:08 UTC with npm's staged-publish placeholder 0.0.0-stage, followed by 1.0.1 (12:28 UTC), 1.0.2 (15:33 UTC) and 1.0.3 (16:24 UTC); a 1.0.0 was removed before 14:21 UTC. It describes itself as "Cache helper utilities" and has no README, repository or source code. Four more versions followed on 2026-10-27: 1.0.4 (20:33 UTC), 1.0.5 (21:23 UTC), 1.0.6 (21:45 UTC) and 1.0.7 (22:12 UTC). The whole package was then unpublished at 22:17 UTC (0.0.0-stage and 1.0.1 to 1.0.7). Each version runs a native addon at install time. 1.0.1 has postinstall: node -e "try{require(process.platform==='win32'?'./addon_win.node':'./addon.node')}catch(e){}". 1.0.2 and 1.0.3 depend on node-gyp-build and run it as postinstall, which loads the prebuilt addon shipped in prebuilds/linux-x64/node.napi.node or prebuilds/win32-x64/node.napi.node. 1.0.3 adds a binding.gyp with an empty sources list and an install script node-gyp rebuild, so the
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | @testsecuiitytestme/cache-helper | unbekannt | nicht erfasst |
Schwachstellenklasse
Referenzen
- https://osv.dev/vulnerability/MAL-2026-18358
- https://www.npmjs.com/package/@testsecuiitytestme/cache-helper/v/1.0.1
- https://www.npmjs.com/package/@testsecuiitytestme/cache-helper/v/1.0.2
- https://www.npmjs.com/package/@testsecuiitytestme/cache-helper/v/1.0.3
- https://www.npmjs.com/package/@testsecuiitytestme/cache-helper/v/1.0.5
- https://www.npmjs.com/package/@testsecuiitytestme/cache-helper/v/1.0.4
- https://www.npmjs.com/package/@testsecuiitytestme/cache-helper/v/1.0.7
- https://www.npmjs.com/package/@testsecuiitytestme/cache-helper/v/1.0.6
- https://www.npmjs.com/package/@testsecuiitytestme/cache-helper/v/1.0.0