Malicious code in jsb-adapter (npm)
Description
The npm package 'jsb-adapter' version 45.0.0 contains malicious code delivered via a dependency confusion attack. The package.json declares a dependency on itself using a bare HTTPS URL pointing to an untrusted external host, allowing arbitrary code execution during installation. The shipped code is a stub, but the installation process fetches and runs code controlled by an attacker. Any system with this package installed should be considered fully compromised, and secrets should be rotated immediately.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'jsb-adapter' npm package version 45.0.0 is malicious due to a dependency confusion attack where its package.json declares a dependency on itself with a URL to 'https://repo.securityctrl.com/jsb-adapter'. During 'npm install', npm fetches and executes code from this external URL without integrity checks, enabling arbitrary code execution controlled by whoever manages that domain. The published index.js is inert, indicating the attack relies entirely on the malicious dependency URL. This results in full compromise of any system installing this package version.
Potential Impact
Systems that have installed 'jsb-adapter' version 45.0.0 are fully compromised. Attackers may have executed arbitrary code with the privileges of the installer, potentially stealing secrets and keys. Because the compromise occurs at install time and may include additional malware, simply removing the package does not guarantee remediation. All secrets and keys on affected systems should be rotated from a clean environment.
Defensive Guidance
Remove the 'jsb-adapter' package version 45.0.0 immediately from all systems. Rotate all secrets and keys stored on affected systems from a different, uncompromised computer. Due to the nature of the compromise, assume full system control by attackers and consider rebuilding affected systems. There is no official patch or fix; the package itself is malicious. Avoid installing packages with dependencies declared as bare URLs from untrusted sources.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15512
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a92f7e3acd9273b49e75d08
Added to database: 08/29/2026, 15:16:51 UTC
Last enriched: 09/09/2026, 20:38:03 UTC
Last updated: 10/01/2026, 22:27:31 UTC
Views: 26
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.