Malicious code in @ai-vertical/ai-agent (npm)
The npm package @ai-vertical/ai-agent versions 1.0.0 and 1.0.1 contains malicious code that fetches and executes arbitrary code from a mutable GitHub Gist using eval(). This allows the package maintainer to run any code with the privileges of the process importing the package. The package has no legitimate functionality and ships with empty metadata. Any system with this package installed should be considered fully compromised, and all secrets and keys on that system should be rotated immediately. Removal of the package does not guarantee removal of all malicious components.
AI Analysis
Technical Summary
The @ai-vertical/ai-agent npm package (versions 1.0.0 and 1.0.1) acts as a remote code loader by fetching a hardcoded GitHub Gist via the GitHub API and executing its contents with eval(). Because the Gist is controlled by the package maintainer and can be changed at any time, this allows arbitrary code execution with the privileges of the importing process. The package contains no other functionality and has empty author and description metadata, indicating it is a malicious package designed solely to execute remote code. This behavior effectively compromises any system that installs or runs the package.
Potential Impact
Systems with this package installed or running are fully compromised, as arbitrary code execution can occur with the privileges of the process importing the package. This can lead to theft of secrets, keys, and other sensitive data. The compromise is severe enough that all secrets and keys stored on the affected system should be rotated from a different, trusted machine. Removal of the package alone may not fully remediate the compromise due to potential persistence mechanisms installed by the malicious code.
Mitigation Recommendations
There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove the @ai-vertical/ai-agent package versions 1.0.0 and 1.0.1 from all affected systems. Additionally, all secrets and keys stored on compromised systems should be rotated from a secure, unaffected environment. Due to the high risk of full system compromise, consider rebuilding affected systems from known good backups or reinstalling the operating system to ensure complete remediation.
Malicious code in @ai-vertical/ai-agent (npm)
Description
The npm package @ai-vertical/ai-agent versions 1.0.0 and 1.0.1 contains malicious code that fetches and executes arbitrary code from a mutable GitHub Gist using eval(). This allows the package maintainer to run any code with the privileges of the process importing the package. The package has no legitimate functionality and ships with empty metadata. Any system with this package installed should be considered fully compromised, and all secrets and keys on that system should be rotated immediately. Removal of the package does not guarantee removal of all malicious components.
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-vertical/ai-agent npm package (versions 1.0.0 and 1.0.1) acts as a remote code loader by fetching a hardcoded GitHub Gist via the GitHub API and executing its contents with eval(). Because the Gist is controlled by the package maintainer and can be changed at any time, this allows arbitrary code execution with the privileges of the importing process. The package contains no other functionality and has empty author and description metadata, indicating it is a malicious package designed solely to execute remote code. This behavior effectively compromises any system that installs or runs the package.
Potential Impact
Systems with this package installed or running are fully compromised, as arbitrary code execution can occur with the privileges of the process importing the package. This can lead to theft of secrets, keys, and other sensitive data. The compromise is severe enough that all secrets and keys stored on the affected system should be rotated from a different, trusted machine. Removal of the package alone may not fully remediate the compromise due to potential persistence mechanisms installed by the malicious code.
Defensive Guidance
There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove the @ai-vertical/ai-agent package versions 1.0.0 and 1.0.1 from all affected systems. Additionally, all secrets and keys stored on compromised systems should be rotated from a secure, unaffected environment. Due to the high risk of full system compromise, consider rebuilding affected systems from known good backups or reinstalling the operating system to ensure complete remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14070
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-3248-8gvm-g9jv"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8460a5c6e8be033245ab7a
Added to database: 08/18/2026, 13:39:49 UTC
Last enriched: 08/18/2026, 13:44:45 UTC
Last updated: 08/18/2026, 21:59:12 UTC
Views: 4
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.