jsb-adapter (npm) · Malicious Code
Affects jsb-adapterSource GCVE Database
Malicious package : remove jsb-adapter and rotate any secrets on hosts that installed it.
Data as of 9 Sep 2026, 20:38 UTC
Malicious package
Published to npm · OSV MAL-2026-15512
What to do
Remove jsb-adapter from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmjsb-adapter | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.