MAL-2026-12315 Malicious code in @cryptosrvc/no-brainer-sdk (npm)
Malicious package
Published
MAL-2026-12315 is a malicious package: @cryptosrvc/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-12315/ (Markdown: https://insights.sbomify.com/MAL-2026-12315/index.md)
- Package
- @cryptosrvc/no-brainer-sdk
- Registry
- npm
What is MAL-2026-12315?
MAL-2026-12315 is a malicious package in @cryptosrvc/no-brainer-sdk, published on 5 Aug 2026.
Official description
On npm install, the package's postinstall script (dist/recon.js) collects installer-side host reconnaissance — hostname, username, SUDO_USER, home directory, cwd, network interfaces including internal IPs, DNS domain via dnsdomainname, and npm lifecycle context — and enumerates process.env, filtering the key names against a regex targeting AWS, GCP, AZURE, NPM, NODE_AUTH, DOCKER, KUBE, VAULT, TOKEN, SECRET, KEY, PASS, CRED, GITHUB, GITLAB, and SSH. Both the full env-name list and the credential-shaped subset are serialized and POSTed as JSON over plain HTTP to hardcoded bare IP 138.68.108.20:80/cb, with a
npm-install-telemetry/1.0 User-Agent and an inline comment framing the payload as 'NON-SENSITIVE telemetry only' despite including sudo_user, internal network layout, and credential env-var name inventory. Behavior fires automatically as a postinstall lifecycle hook.What should I do about MAL-2026-12315?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.