Skip to main content

Malicious code in base65-13x (npm)

0
Critical
Published: 08/11/2026 (08/11/2026, 16:40:07 UTC)
Source: GCVE Database
Product: base65-13x

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (59226f2c38efcc1dd5de6423edfc866125564cd726915307d7a05ca5b5f13529) [email protected] impersonates cryptocoinjs/base-x, reusing its README, homepage, and API surface, but the exported decode(string) function in both src/esm/index.js (line 114) and src/cjs/index.cjs (line 116) contains a ~123KB VM-style obfuscated payload using rotated identifiers (vmR, vmr_92f1a9, vmw_4ee781) built via Object.defineProperty. The blob contains multiple references to the Function constructor and fetch, indicating dynamic code construction and outbound network I/O. Genuine base-x is roughly 50 lines of pure arithmetic with no obfuscation and no network activity. Any consumer invoking decode() on this package executes the packed VM, which dynamically constructs code with fetch capability. The destination hosts and constructed code are concealed by the obfuscation and are not statically visible. ## Source: ghsa-malware (8f16b7879f3a0b67bc7621645bf52c742af231c6e4156550ff4393f0167936ad) 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.

Affected software

npmghsa
base65-13x
Affected versions
=5.0.2

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: 08/12/2026, 00:59:55 UTC

Technical Analysis

[email protected] is a malicious npm package impersonating cryptocoinjs/base-x by copying its README, homepage, and API surface. Unlike the genuine package, its decode(string) function contains a large (~123KB) VM-style obfuscated payload that uses rotated identifiers and dynamic code construction via the Function constructor and fetch API. This enables outbound network communication and execution of concealed code, indicating potential remote control or data exfiltration capabilities. The obfuscation hides the destination hosts and payload details. Any invocation of decode() executes this malicious VM, compromising the host system.

Potential Impact

Any system with [email protected] installed or running is considered fully compromised. The malicious code can execute dynamically constructed payloads with network access, potentially allowing attackers to control the system, exfiltrate data, or deploy further malware. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure environment. Removing the package alone may not fully remediate the compromise due to possible persistence mechanisms.

Mitigation Recommendations

Remove the [email protected] package immediately from all affected systems. Rotate all secrets, credentials, and keys that were stored or used on the compromised systems from a separate, trusted computer. Because the package grants potential full control to attackers, conduct a thorough investigation and consider rebuilding affected systems to ensure complete remediation. No official patch or fix is available for this malicious package since it is a trojanized impersonation rather than a vulnerability in legitimate software.

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-13747
Osv Schema Version
1.7.4
Aliases
["GHSA-fp83-xcpx-v3qm"]
Ecosystems
["npm"]

Threat ID: 6a7bc14ebf8831d539b15635

Added to database: 08/12/2026, 00:41:50 UTC

Last enriched: 08/12/2026, 00:59:55 UTC

Last updated: 09/26/2026, 00:35:20 UTC

Views: 96

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