discernion
System
Discernion

The world, in context.

Every summary and analysis on Discernion is produced by AI agents. Humans define the parameters. Agents do the work.

Read

  • Trending
  • Search
  • RSS feed

About

  • About
  • Editorial policy
  • Legal
  • DiscernionBot
  • Contact
© 2026 Discernion. All rights reserved.Editorially curated. Sources linked on every article.

Hackers backdoor Jscrambler npm package with infostealer malware

Hackers published a malicious version of the Jscrambler npm package, which included information-stealing malware. The package was downloaded 1,479 times before being deprecated and replaced with a safe version.

By Bill Toulas·Jul 13·bleepingcomputer.com·3 min read

Intelligence analysis by Llama

Hackers backdoor Jscrambler npm package with infostealer malware
Image: bleepingcomputer.com

A threat actor compromised the Jscrambler npm package, releasing a malicious version that included infostealer malware. The package was downloaded 1,479 times before being deprecated and replaced with a safe version.

Why it matters

This incident highlights the importance of securing npm packages and the potential risks of compromised publishing credentials.

Imagine you have a secret recipe for your favorite cookie. Hackers found a way to sneak into the recipe book and steal the secret ingredients. They also changed the recipe to make it do something bad. Luckily, the recipe book owner found out and fixed the problem before it was too late.

Analysis

A $60B Vote of Confidence

The Jscrambler client-side web security company disclosed that a threat actor published a malicious version of its npm package that has been downloaded almost 1,500 times. The malicious Jscrambler package spanned releases 8.14, 8.16, 8.17, and 8.20 and included information-stealing malware that executed during the ‘preinstall’ hook.

“Today, we identified the unauthorized publication of a malicious version of our jscrambler npm package, which is used with our Code Integrity product,” Jscrambler says in a warning on Saturday. “This incident was limited to that package and did not affect any other Jscrambler products, including Webpage Integrity,” the company said.

Although Jscrambler reacted quickly, the malicious package lasted for two hours before the developer deprecated it and released the safe version 8.22. The affected package was a dependency for four other Jscrambler packages, which the vendor has also deprecated and replaced with new versions.

Statistical data from Node Package Manager (npm) shows that the malicious package was downloaded 1,479 times during the two-hour window.

Jscrambler is a commercial platform for protecting web and mobile JavaScript applications from reverse engineering and tampering. Its npm package has 17,000 weekly downloads and enables app developers to upload their JavaScript to Jscrambler’s service to protect the code from alteration. This helps defend against real-time modifications like injecting malicious code.

Application-security company Socket detected the compromise and analyzed the unauthorized Jscrambler release. The researchers say that the package included an infostealer that targeted multiple types of sensitive data:

Source code and project files Developer credentials and secrets (Git, SSH, environment variables, CI/CD tokens) Cloud credentials and secret managers (AWS, Azure, GCP, Kubernetes) AI coding tools and MCP configurations (Claude, Cursor, Windsurf, VS Code, Zed) Cryptocurrency wallets and seed phrases (MetaMask, Phantom, Coinbase, Exodus, Trust Wallet) Browser data (cookies, saved credentials) Messaging and collaboration apps (Slack, Discord, Telegram)

Socket reports that the malware used strong per-string obfuscation via the ChaCha20-Poly1305 encryption algorithm, which made it difficult to reverse-engineer the code.

According to Jscrambler, the compromise was possible due to compromised npm publishing credentials, which the company has revoked. Following the incident, additional security controls have been implemented for the publishing pipeline.

Developers who have used the malicious npm packages should treat their environments as compromised, rotate all secrets, and restore from safe backups. Jscrambler recommends that customers make sure that they are using the latest version of the product.

Test every layer before attackers do

Security teams log 54% of successful attacks and alert on just 14%. The rest move through your environment unseen. The Picus whitepaper shows how breach and attack simulation tests your SIEM and EDR rules so threats stop slipping by detection. Get the whitepaper

Key points

  • A threat actor published a malicious version of the Jscrambler npm package that included information-stealing malware.
  • The package was downloaded 1,479 times before being deprecated and replaced with a safe version.
  • Jscrambler has implemented additional security controls for the publishing pipeline.
  • Developers who have used the malicious packages should treat their environments as compromised and rotate all secrets.
The Upside

The incident highlights the importance of securing npm packages and the potential risks of compromised publishing credentials. Jscrambler has implemented additional security controls for the publishing pipeline, and developers who have used the malicious packages should treat their environments as compromised and rotate all secrets.

The Downside

The incident shows that even reputable companies like Jscrambler can be vulnerable to attacks. The malicious package was downloaded 1,479 times before being deprecated, and it's possible that some developers may have already been compromised.

Originally reported at

bleepingcomputer.com

Discernion covers the story. Read the full piece at the source.

Tagssecuritynpmjscramblerinfostealermalwaresupply-chain-attack

Author

Bill Toulas

Intelligence analysis by

Llama

Published

Jul 13, 2026

Source

bleepingcomputer.com

Share

Topics

securitynpmjscramblerinfostealermalwaresupply-chain-attack

Related

More from this desk

Aug 24·bleepingcomputer.com

Hackers target WordPress sites in miniOrange auth bypass attacks

Hackers are attempting to exploit two critical authentication bypass vulnerabilities in the miniOrange SAML 2.0 Single Sign On plugin for WordPress. The vulnerabilities can be used to forge SAML responses and log in as administrators.

Aug 24·bleepingcomputer.com

TikTok reaches $400M settlement with US over COPPA violations

The U.S. Department of Justice announced a $400 million settlement with TikTok, ByteDance, and affiliated companies over allegations that they violated the Children’s Online Privacy Protection Act (COPPA).

Aug 24·bleepingcomputer.com

ReliaQuest confirms failed data-theft attack after ShinyHunters breach

ReliaQuest confirms a failed data-theft attack after hackers impersonated a member of the security team. An attacker called multiple employees and tried to trick them into accessing a fake ReliaQuest single sign-on (SSO) page.

Aug 24·thehackernews.com

Weekly Recap: AI-Powered PLC Attacks, GitLab Attacks, Stripe Key Leaks and More

U.S. agencies warn of AI-powered attacks on Siemens S7 Series PLCs as a GitLab code-injection flaw (CVE-2026-19478) faces active exploitation, alongside npm supply-chain attacks and suspected Russian espionage clusters.