Skip to main content

Malicious code in jsb-adapter (npm)

0
Critical
Published: 08/28/2026 (08/28/2026, 23:13:14 UTC)
Source: GCVE Database
Product: jsb-adapter

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

npmghsa
jsb-adapter
Affected versions
=45.0.0

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

AILast updated: 09/09/2026, 20:38:03 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses