MAL-2026-12508 Malicious code in @shiftmarkets/no-brainer-sdk (npm)
Malicious package
Published
MAL-2026-12508 is a malicious package: @shiftmarkets/no-brainer-sdk (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-12508/ (Markdown: https://insights.sbomify.com/MAL-2026-12508/index.md)
- Package
- @shiftmarkets/no-brainer-sdk
- Registry
- npm
What is MAL-2026-12508?
MAL-2026-12508 is a malicious package in @shiftmarkets/no-brainer-sdk, published on 5 Aug 2026.
Official description
The package runs
node dist/recon.js as a postinstall lifecycle script on every npm install. The script collects host reconnaissance from the installer machine — hostname, username, SUDO_USER, homedir, cwd, network interface addresses (including internal/private IPs), CI indicators, npm lifecycle metadata, and the full list of environment variable names — and additionally filters those names against a credential-focused regex (AWS, GCP, GOOGLE, AZURE, NPM, NODE_AUTH, DOCKER, KUBE, VAULT, TOKEN, SECRET, KEY, PASS, CRED, GITHUB, GITLAB, SSH) to produce a secretish_names list. The JSON payload is POSTed over plain HTTP to the hardcoded bare-IPv4 endpoint http://138.68.108.20:80/cb, which is not a Shift Markets domain. The code labels itself as 'NON-SENSITIVE telemetry' but the destination is an unrelated bare IP and the installer never opted in. Enumerating which cloud/CI secret names exist on the host maps the target's credential inventory for follow-up attacks.What should I do about MAL-2026-12508?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.