Malicious code in ai-analyzer (npm)
The ai-analyzer npm package versions 1.0.14 through 1.0.19 contain malicious code that performs unauthorized data exfiltration during installation and runtime. The preinstall script leaks the installer's hostname and environment details to an external domain controlled by an offensive-security actor. Additionally, a postinstall script writes sensitive user and environment information to a temporary local file. The package's analyzeEmail() function sends caller-supplied content to a hardcoded external server without user control or consent, potentially exposing sensitive data.
AI Analysis
Technical Summary
The ai-analyzer npm package includes malicious lifecycle scripts and functions that compromise user privacy and security. The preinstall.js script constructs a subdomain using the installer's hostname and sends an HTTPS request to a Burp Collaborator domain, leaking hostname and environment context. The postinstall.js script collects and stores sensitive user information such as hostname, username, home directory, proxy environment variables, and git user details in a temporary directory. The analyzeEmail() API function unconditionally posts caller-supplied content to a hardcoded external endpoint (https://ai.calif-pentest.com/api/v1/ai-analyzer), enabling silent exfiltration of potentially sensitive data. The indicators and domain names suggest involvement of an offensive-security actor. No patch or remediation information is provided.
Potential Impact
This malicious package compromises confidentiality by leaking system and user environment details during installation and runtime. It also risks exfiltration of any data passed to the analyzeEmail() function to an attacker-controlled server. This can lead to exposure of sensitive information without user knowledge or consent. The presence of reconnaissance files on disk further increases risk of local information disclosure.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix or official guidance is available, users should avoid installing or using the ai-analyzer package versions 1.0.14 through 1.0.19. Review and remove any temporary files created by the package and monitor for unexpected network connections to the indicated domains. Consider using alternative trusted packages for email analysis.
Malicious code in ai-analyzer (npm)
Description
The ai-analyzer npm package versions 1.0.14 through 1.0.19 contain malicious code that performs unauthorized data exfiltration during installation and runtime. The preinstall script leaks the installer's hostname and environment details to an external domain controlled by an offensive-security actor. Additionally, a postinstall script writes sensitive user and environment information to a temporary local file. The package's analyzeEmail() function sends caller-supplied content to a hardcoded external server without user control or consent, potentially exposing sensitive data.
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-analyzer npm package includes malicious lifecycle scripts and functions that compromise user privacy and security. The preinstall.js script constructs a subdomain using the installer's hostname and sends an HTTPS request to a Burp Collaborator domain, leaking hostname and environment context. The postinstall.js script collects and stores sensitive user information such as hostname, username, home directory, proxy environment variables, and git user details in a temporary directory. The analyzeEmail() API function unconditionally posts caller-supplied content to a hardcoded external endpoint (https://ai.calif-pentest.com/api/v1/ai-analyzer), enabling silent exfiltration of potentially sensitive data. The indicators and domain names suggest involvement of an offensive-security actor. No patch or remediation information is provided.
Potential Impact
This malicious package compromises confidentiality by leaking system and user environment details during installation and runtime. It also risks exfiltration of any data passed to the analyzeEmail() function to an attacker-controlled server. This can lead to exposure of sensitive information without user knowledge or consent. The presence of reconnaissance files on disk further increases risk of local information disclosure.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix or official guidance is available, users should avoid installing or using the ai-analyzer package versions 1.0.14 through 1.0.19. Review and remove any temporary files created by the package and monitor for unexpected network connections to the indicated domains. Consider using alternative trusted packages for email analysis.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13934
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7e036abf8831d5398f8ad4
Added to database: 08/13/2026, 17:48:26 UTC
Last enriched: 08/13/2026, 18:07:08 UTC
Last updated: 08/13/2026, 19:11:12 UTC
Views: 3
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.
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.