Compromised jscrambler npm Release Executed Cross-Platform Rust Infostealer
Supply Chain Risk · 15 sources · Updated 4mo ago · First seen Jul 11, 2026

The npm package jscrambler was compromised through malicious version 8.14.0, which added an undocumented preinstall hook and install-time files that executed hidden native binaries on Windows, macOS, and Linux during npm install, before application code ran. Researchers said the release appeared to be published directly to npm from a legitimate maintainer account without matching source repository commits or tags, pointing to a likely compromise of the maintainer account or build pipeline. Socket reported detecting the release within minutes of publication and alerted the maintainers, while a subsequent 8.15.0 release appeared clean.
Further analysis linked the package to a Rust-based infostealer aimed at developer workstations and CI/build environments, creating exposure for source code, environment variables, build credentials, deployment tokens, and other secrets. Reported targets included cloud credentials, browser data, messaging sessions, cryptocurrency wallets, Bitwarden vault contents, and configuration files for AI coding tools such as Claude Desktop, Cursor, Windsurf, VS Code, and Zed. Researchers also observed anti-debugging on Windows and macOS, Linux eBPF capability, persistence through Windows scheduled tasks and macOS LaunchAgents, and encrypted command-and-control details; because 8.14.0 remained available on npm, pinned installs on older npm clients that still run install scripts could continue to trigger the payload.
Why it matters
Impact assessment
A cross-platform supply-chain compromise affected the jscrambler npm package used in developer workstations, CI/CD pipelines, and build systems. Impact is high because installation or runtime execution of malicious versions could steal source code, cloud credentials, deployment secrets, browser and messaging sessions, wallet material, and AI tooling configuration from environments that often hold privileged access.
Exposure is broader than a single endpoint because jscrambler is used in software build workflows and had roughly 15,800 weekly downloads; malicious versions were downloaded at least 1,479 times before deprecation. Exploitation occurred in the wild through malicious npm releases published with compromised publishing credentials, and exact-version pins or older npm clients may still install deprecated malicious versions.
Affected populations
- Organizations using jscrambler in development, CI/CD, or production build pipelines
- Developer workstations on Windows, macOS, and Linux
- Cloud engineering and DevOps environments with AWS, Azure, or GCP credentials
- Downstream users with exact-version pins or lockfiles referencing compromised releases
Severity and business risk
- Credential theft risk includes cloud keys, npm tokens, GitHub tokens, API keys, CI/CD secrets, browser sessions, and messaging sessions
- Source code and build artifact exposure can enable follow-on supply-chain compromise
- Potential financial and reputational impact from cloud abuse, unauthorized deployments, wallet theft, and downstream package tampering
- Persistence on endpoints increases dwell time and incident response complexity
Scope and known exploitation
- Malicious versions identified: 8.14.0, 8.16.0, 8.17.0, 8.18.0, 8.20.0
- Clean versions reported: 8.15.0 appeared clean; 8.22.0 identified as confirmed clean after the incident
- Known malicious publication used valid npm publishing credentials from a legitimate maintainer account
- Reported affected/downstream packages include jscrambler-webpack-plugin 8.6.2, gulp-jscrambler 8.6.2, grunt-jscrambler 8.5.2, and jscrambler-metro-plugin 9.0.2
Extracted entities
- Entity: Jscrambler
- Package: jscrambler
- Related packages: jscrambler-webpack-plugin, gulp-jscrambler, grunt-jscrambler, jscrambler-metro-plugin
- Researchers/vendors: Socket, StepSecurity, SafeDep, JFrog
- Platforms: Windows, macOS, Linux


