Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10420: Malicious code in path-addon-extend (npm)

0
Critical
Published: 07/13/2026 (07/13/2026, 06:59:11 UTC)
Source: GCVE Database
Product: path-addon-extend

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

npmghsa
path-addon-extend
Affected versions
=1.0.7=1.0.8

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: 07/13/2026, 09:22:38 UTC

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.

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-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 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