MAL-2026-10420: Malicious code in path-addon-extend (npm)
The npm package path-addon-extend masquerades as Node's built-in path module but executes malicious code on load. It performs an HTTPS GET request to a base64-obscured URL, retrieving JSON content that is passed directly to eval(), enabling arbitrary remote code execution. This endpoint is publicly writable by anyone with the token, allowing dynamic and potentially harmful code injection. Versions 1.0.7 and 1.0.8 of path-addon-extend are affected.
AI Analysis
Technical Summary
The path-addon-extend package for npm pretends to be the Node.js core path module but contains malicious behavior. Upon loading, it decodes a base64 string to obtain a URL pointing to a public JSON-bin service. It fetches data from this URL and executes the content field using eval(), which allows arbitrary code execution in any process that imports this package. Because the JSON-bin is publicly mutable by anyone with the token, an attacker can change the code executed at runtime, posing a severe remote code execution risk. This behavior is concealed by storing the URL as a base64-encoded string decoded at runtime.
Potential Impact
Any application or process that installs and requires path-addon-extend versions 1.0.7 or 1.0.8 is vulnerable to arbitrary remote code execution. The malicious code is fetched dynamically from a public JSON-bin service, which can be altered by an attacker to execute arbitrary commands or payloads within the context of the affected process. This can lead to full system compromise depending on the privileges of the running process.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately remove and replace path-addon-extend versions 1.0.7 and 1.0.8 from their projects. Avoid using this package entirely due to its malicious nature. Monitor dependencies carefully and verify package authenticity before installation.
MAL-2026-10420: Malicious code in path-addon-extend (npm)
Description
The npm package path-addon-extend masquerades as Node's built-in path module but executes malicious code on load. It performs an HTTPS GET request to a base64-obscured URL, retrieving JSON content that is passed directly to eval(), enabling arbitrary remote code execution. This endpoint is publicly writable by anyone with the token, allowing dynamic and potentially harmful code injection. Versions 1.0.7 and 1.0.8 of path-addon-extend are affected.
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
The path-addon-extend package for npm pretends to be the Node.js core path module but contains malicious behavior. Upon loading, it decodes a base64 string to obtain a URL pointing to a public JSON-bin service. It fetches data from this URL and executes the content field using eval(), which allows arbitrary code execution in any process that imports this package. Because the JSON-bin is publicly mutable by anyone with the token, an attacker can change the code executed at runtime, posing a severe remote code execution risk. This behavior is concealed by storing the URL as a base64-encoded string decoded at runtime.
Potential Impact
Any application or process that installs and requires path-addon-extend versions 1.0.7 or 1.0.8 is vulnerable to arbitrary remote code execution. The malicious code is fetched dynamically from a public JSON-bin service, which can be altered by an attacker to execute arbitrary commands or payloads within the context of the affected process. This can lead to full system compromise depending on the privileges of the running process.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately remove and replace path-addon-extend versions 1.0.7 and 1.0.8 from their projects. Avoid using this package entirely due to its malicious nature. Monitor dependencies carefully and verify package authenticity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10420
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54ad9268715ace438f04ff
Added to database: 07/13/2026, 09:19:14 UTC
Last enriched: 07/13/2026, 09:22:38 UTC
Last updated: 07/13/2026, 09:23:02 UTC
Views: 2
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.