Malicious code in base65-13x (npm)
The npm package base65-13x version 5.0.2 is a malicious impersonation of the legitimate cryptocoinjs/base-x package. It contains a heavily obfuscated ~123KB payload within its decode() function that dynamically constructs and executes code with network fetch capabilities. This behavior is not present in the genuine base-x package, which is simple and non-obfuscated. Installing or running this package can lead to full compromise of the host system, including potential unauthorized remote control and data exfiltration. Immediate removal and secret/key rotation from a separate trusted system are strongly advised.
AI Analysis
Technical Summary
[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.
Malicious code in base65-13x (npm)
Description
The npm package base65-13x version 5.0.2 is a malicious impersonation of the legitimate cryptocoinjs/base-x package. It contains a heavily obfuscated ~123KB payload within its decode() function that dynamically constructs and executes code with network fetch capabilities. This behavior is not present in the genuine base-x package, which is simple and non-obfuscated. Installing or running this package can lead to full compromise of the host system, including potential unauthorized remote control and data exfiltration. Immediate removal and secret/key rotation from a separate trusted system are strongly advised.
Affected software
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
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.
Defensive Guidance
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.
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"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7bc14ebf8831d539b15635
Added to database: 08/12/2026, 00:41:50 UTC
Last enriched: 08/12/2026, 00:59:55 UTC
Last updated: 08/12/2026, 01:49:14 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.