Malicious code in jsb-adapter (npm)
MAL-2026-15512 · GHSA-69pf-x798-g22x
Published · Modified
Dependency scanning
Check whether jsb-adapter is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
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.
Source: ghsa-malware (d1f7aba38b9a7daa3d21cb1d57d50efdb1ffc6f22b82721a8008a668451e263a)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes