Malicious code in @ai-agent-node/nodesql (npm)
The npm package '@ai-agent-node/nodesql' contains malicious code that compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys stored on the affected system should be rotated immediately from a different, uncompromised device. Removing the package alone does not guarantee removal of all malicious software introduced by it.
AI Analysis
Technical Summary
The '@ai-agent-node/nodesql' package distributed via npm has been identified as containing malicious code. Installation or execution of this package results in a full compromise of the host system. Due to the nature of the compromise, attackers may have gained persistent control, making simple removal of the package insufficient to restore system integrity. Immediate secret and key rotation from a secure environment is required to mitigate potential credential theft or misuse.
Potential Impact
Full system compromise on any computer with the package installed or running. Potential exposure and theft of all stored secrets and keys. Persistent malicious presence may remain even after package removal, risking ongoing unauthorized access and data exfiltration.
Mitigation Recommendations
Remove the '@ai-agent-node/nodesql' package immediately from all affected systems. Rotate all secrets and keys stored on compromised machines from a separate, secure device. Because the system may remain compromised beyond the package itself, consider full system reimaging or forensic analysis to ensure complete eradication of malicious components.
Malicious code in @ai-agent-node/nodesql (npm)
Description
The npm package '@ai-agent-node/nodesql' contains malicious code that compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys stored on the affected system should be rotated immediately from a different, uncompromised device. Removing the package alone does not guarantee removal of all malicious software introduced by it.
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-agent-node/nodesql' package distributed via npm has been identified as containing malicious code. Installation or execution of this package results in a full compromise of the host system. Due to the nature of the compromise, attackers may have gained persistent control, making simple removal of the package insufficient to restore system integrity. Immediate secret and key rotation from a secure environment is required to mitigate potential credential theft or misuse.
Potential Impact
Full system compromise on any computer with the package installed or running. Potential exposure and theft of all stored secrets and keys. Persistent malicious presence may remain even after package removal, risking ongoing unauthorized access and data exfiltration.
Mitigation Recommendations
Remove the '@ai-agent-node/nodesql' package immediately from all affected systems. Rotate all secrets and keys stored on compromised machines from a separate, secure device. Because the system may remain compromised beyond the package itself, consider full system reimaging or forensic analysis to ensure complete eradication of malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-11173
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-fm4j-w897-7h3g"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a6ae5389c2644c7f8986c0b
Added to database: 07/30/2026, 05:46:32 UTC
Last enriched: 07/30/2026, 07:08:24 UTC
Last updated: 07/31/2026, 02:00:28 UTC
Views: 10
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.