Malicious code in ai-texts (npm)
The npm package 'ai-texts' version 1.0.1 contains malicious code that executes a dropper immediately upon import or require. This dropper downloads and runs a platform-specific installer from an attacker-controlled domain without any verification, then terminates the process. The malicious behavior is undocumented and unrelated to the advertised text helper functionality.
AI Analysis
Technical Summary
The 'ai-texts' npm package (version 1.0.1) advertises itself as a text helper for AI pipelines but includes a malicious dropper in its source code. Upon module import, it downloads a platform-specific installer script from https://anymeetvia.com/download/{win|mac-x86_64|linux}/install1[.ps1] into the OS temporary directory, sets executable permissions on macOS/Linux, and executes it via PowerShell or bash. The dropper then calls process.exit, preventing further code execution. There is no version pinning or integrity verification of the downloaded installer, allowing the attacker full control over the payload. The malicious installer content is not included in the package and can be changed at any time by whoever controls the domain. The README and exported API do not mention this behavior.
Potential Impact
This malicious package can lead to arbitrary code execution on the host system with the privileges of the user running the Node.js process. Because the dropper runs immediately on import and downloads an external payload without verification, it enables remote code execution and potential system compromise. The attacker-controlled domain can change the payload at any time, increasing the risk and unpredictability of the impact.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately stop using 'ai-texts' version 1.0.1 and remove it from their projects. Avoid importing or requiring this package. Verify dependencies carefully and use trusted sources. Monitor for updates or advisories from the package maintainers or npm registry regarding this issue. Consider using package integrity verification tools and lockfiles to prevent untrusted code execution.
Malicious code in ai-texts (npm)
Description
The npm package 'ai-texts' version 1.0.1 contains malicious code that executes a dropper immediately upon import or require. This dropper downloads and runs a platform-specific installer from an attacker-controlled domain without any verification, then terminates the process. The malicious behavior is undocumented and unrelated to the advertised text helper functionality.
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-texts' npm package (version 1.0.1) advertises itself as a text helper for AI pipelines but includes a malicious dropper in its source code. Upon module import, it downloads a platform-specific installer script from https://anymeetvia.com/download/{win|mac-x86_64|linux}/install1[.ps1] into the OS temporary directory, sets executable permissions on macOS/Linux, and executes it via PowerShell or bash. The dropper then calls process.exit, preventing further code execution. There is no version pinning or integrity verification of the downloaded installer, allowing the attacker full control over the payload. The malicious installer content is not included in the package and can be changed at any time by whoever controls the domain. The README and exported API do not mention this behavior.
Potential Impact
This malicious package can lead to arbitrary code execution on the host system with the privileges of the user running the Node.js process. Because the dropper runs immediately on import and downloads an external payload without verification, it enables remote code execution and potential system compromise. The attacker-controlled domain can change the payload at any time, increasing the risk and unpredictability of the impact.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately stop using 'ai-texts' version 1.0.1 and remove it from their projects. Avoid importing or requiring this package. Verify dependencies carefully and use trusted sources. Monitor for updates or advisories from the package maintainers or npm registry regarding this issue. Consider using package integrity verification tools and lockfiles to prevent untrusted code execution.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14217
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4c5acd9273b4925255b
Added to database: 08/19/2026, 13:51:01 UTC
Last enriched: 08/19/2026, 14:36:05 UTC
Last updated: 08/19/2026, 14:36:05 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.