npm · Malicious package advisory
Malwarejsb-adapter
MAL-2026-15512
Malicious code in jsb-adapter (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (368bba2e9d134a0d1ce565627644361ebe98bbf7bc2fd04812ff7137c300eaac) package.json declares a dependency whose key (`jsb-adapter`) equals this package's own name and whose value is the bare HTTPS URL `https://repo.securityctrl.com/jsb-adapter` instead of a registry version range. On `npm install`, npm fetches whatever tarball that host currently returns, unpinned and with no integrity check, and runs any lifecycle scripts inside it — so the code executed on the installer is whoever controls `repo.securityctrl.com` at install time, not the published tarball. The shipped index.js is an inert stub, so the manifest line is the entire published payload. Aggravating shape: the dependency key matches the package's own name and the version `45.0.0` is implausibly high, consistent with dependency-confusion targeting an internal package of the same name.
Compromised versions (1)
- 45.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.