MAL-2026-12317 Malicious code in @cryptosrvc/shift-sdk-v4 (npm)
Malicious package
Published
MAL-2026-12317 is a malicious package: @cryptosrvc/shift-sdk-v4 (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-12317/ (Markdown: https://insights.sbomify.com/MAL-2026-12317/index.md)
- Package
- @cryptosrvc/shift-sdk-v4
- Registry
- npm
What is MAL-2026-12317?
MAL-2026-12317 is a malicious package in @cryptosrvc/shift-sdk-v4, published on 5 Aug 2026.
Official description
package.json declares a postinstall script
node dist/recon.js || true that runs automatically on npm install. dist/recon.js collects installer host identity (hostname, username, SUDO_USER, homedir, cwd, platform/arch/release, node version), all internal and external IPv4 addresses from every network interface, the DNS domain via dnsdomainname, CI-provider indicators, and the full list of process.env variable names with a subset matching AWS|NPM|TOKEN|SECRET|KEY|GITHUB|SSH flagged as secret-shaped. The data is POSTed as JSON over plain HTTP to the hardcoded bare IP http://138.68.108.20:80/cb with a 4-second timeout and errors silently swallowed to preserve install success. A source comment frames the behavior as 'NON-SENSITIVE telemetry only', contradicting the actual enumeration of sudo user, network topology, and env-var names. The destination is an unattributed DigitalOcean IP with no relationship to any legitimate SDK publisher.What should I do about MAL-2026-12317?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.