MAL-2026-6518: Malicious code in ai-node-relay (npm)
The npm package 'ai-node-relay' contains malicious code that fully compromises any computer on which it is installed or running. Removal of the package does not guarantee elimination of all malicious software introduced. Immediate rotation of all secrets and keys stored on the affected computer from a separate, trusted device is strongly advised.
AI Analysis
Technical Summary
The 'ai-node-relay' package in the npm ecosystem is identified as containing malicious code that compromises the host system completely. Installation or execution of this package grants an attacker full control over the affected computer. Due to the nature of the compromise, simply uninstalling the package may not remove all malicious artifacts or backdoors. This threat is classified as a malicious package rather than a traditional vulnerability and does not have a CVSS score assigned.
Potential Impact
Full system compromise on any computer with the 'ai-node-relay' package installed or running. All secrets and keys stored on the compromised system are at risk and should be considered exposed. The attacker may maintain persistent access beyond removal of the package.
Mitigation Recommendations
Remove the 'ai-node-relay' package immediately from all affected systems. Rotate all secrets, keys, and credentials stored on the compromised computers from a separate, secure device. Because full control may have been given to an attacker, consider rebuilding or thoroughly cleaning affected systems to ensure removal of all malicious software.
MAL-2026-6518: Malicious code in ai-node-relay (npm)
Description
The npm package 'ai-node-relay' contains malicious code that fully compromises any computer on which it is installed or running. Removal of the package does not guarantee elimination of all malicious software introduced. Immediate rotation of all secrets and keys stored on the affected computer from a separate, trusted device is 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
The 'ai-node-relay' package in the npm ecosystem is identified as containing malicious code that compromises the host system completely. Installation or execution of this package grants an attacker full control over the affected computer. Due to the nature of the compromise, simply uninstalling the package may not remove all malicious artifacts or backdoors. This threat is classified as a malicious package rather than a traditional vulnerability and does not have a CVSS score assigned.
Potential Impact
Full system compromise on any computer with the 'ai-node-relay' package installed or running. All secrets and keys stored on the compromised system are at risk and should be considered exposed. The attacker may maintain persistent access beyond removal of the package.
Mitigation Recommendations
Remove the 'ai-node-relay' package immediately from all affected systems. Rotate all secrets, keys, and credentials stored on the compromised computers from a separate, secure device. Because full control may have been given to an attacker, consider rebuilding or thoroughly cleaning affected systems to ensure removal of all malicious software.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6518
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-25p7-8xj5-25qp"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a3ef7b127e9c79719ffb92a
Added to database: 06/26/2026, 22:05:37 UTC
Last enriched: 06/26/2026, 22:29:55 UTC
Last updated: 06/26/2026, 22:29:55 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.