MAL-2026-12316 Malicious code in @cryptosrvc/shift-exchange-root (npm)

Malicious package Published
Package
@cryptosrvc/shift-exchange-root
Registry
npm

What is MAL-2026-12316?

MAL-2026-12316 is a malicious package in @cryptosrvc/shift-exchange-root, published on 5 Aug 2026.

Official description

On npm install, the package runs dist/recon.js as a postinstall script that collects the installer's hostname, username, SUDO_USER, home directory, current working directory, all local network interface IPs (including internal addresses), DNS domain, the full list of environment variable names, a filtered subset of env var names matching credential keywords (AWS, GCP, AZURE, NPM, TOKEN, SECRET, KEY, PASS, GITHUB, SSH), and CI indicators, and POSTs the JSON payload over plain HTTP to the hardcoded DigitalOcean address 138.68.108.20:80/cb. The file's header comment labels the collection as 'NON-SENSITIVE telemetry only' and the outgoing User-Agent is 'npm-install-telemetry/1.0', while the package's declared main entry (dist/index.js) is a math-utility stub unrelated to any telemetry function. The scope @cryptosrvc/shift-exchange-root resembles the legitimate @shiftforex/shift-exchange-root, consistent with a dependency-confusion or typosquat lure. Host identity plus internal network topology plus enumerated credential-shaped env var names constitute reconnaissance data suitable for follow-on targeted attacks against the installing environment.

What should I do about MAL-2026-12316?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-12316 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free