Malicious code in @ai_/autoprefixers (npm)
The npm package @ai_/autoprefixers is a typosquatting malicious package that executes attacker-controlled shell commands. When imported, it decodes and dynamically loads the Node.js child_process module, then fetches commands from attacker-controlled HTTP endpoints and executes them silently. This allows remote code execution on any project that installs and requires this package.
AI Analysis
Technical Summary
@ai_/[email protected] and related versions are malicious typosquat packages impersonating the legitimate 'autoprefixer' npm package. Upon require/import, the package base64-decodes the string 'node:child_process' to dynamically load the child_process module. It then fetches two responses over unencrypted HTTP from attacker-controlled URLs, combines them, and executes the resulting command via child_process.exec with silent:true. The use of base64 encoding obfuscates the require target, the exec sink, and the destination host to evade casual detection. This behavior results in arbitrary remote code execution on any system that installs and runs this package.
Potential Impact
Any project that installs and requires @ai_/autoprefixers versions 1.0.0, 1.1.0, or 1.2.0 will execute attacker-supplied shell commands fetched at runtime from attacker-controlled endpoints. This can lead to full remote code execution, compromising the host environment and potentially allowing further malicious activities such as data theft, system manipulation, or persistence.
Mitigation Recommendations
Users should immediately remove any instances of @ai_/autoprefixers from their projects and replace them with the legitimate 'autoprefixer' package. Avoid installing packages from untrusted or unknown namespaces. Since no official patch or fix is available for this malicious package, remediation involves removing the package and auditing systems for any signs of compromise caused by its execution.
Malicious code in @ai_/autoprefixers (npm)
Description
The npm package @ai_/autoprefixers is a typosquatting malicious package that executes attacker-controlled shell commands. When imported, it decodes and dynamically loads the Node.js child_process module, then fetches commands from attacker-controlled HTTP endpoints and executes them silently. This allows remote code execution on any project that installs and requires this package.
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
@ai_/[email protected] and related versions are malicious typosquat packages impersonating the legitimate 'autoprefixer' npm package. Upon require/import, the package base64-decodes the string 'node:child_process' to dynamically load the child_process module. It then fetches two responses over unencrypted HTTP from attacker-controlled URLs, combines them, and executes the resulting command via child_process.exec with silent:true. The use of base64 encoding obfuscates the require target, the exec sink, and the destination host to evade casual detection. This behavior results in arbitrary remote code execution on any system that installs and runs this package.
Potential Impact
Any project that installs and requires @ai_/autoprefixers versions 1.0.0, 1.1.0, or 1.2.0 will execute attacker-supplied shell commands fetched at runtime from attacker-controlled endpoints. This can lead to full remote code execution, compromising the host environment and potentially allowing further malicious activities such as data theft, system manipulation, or persistence.
Mitigation Recommendations
Users should immediately remove any instances of @ai_/autoprefixers from their projects and replace them with the legitimate 'autoprefixer' package. Avoid installing packages from untrusted or unknown namespaces. Since no official patch or fix is available for this malicious package, remediation involves removing the package and auditing systems for any signs of compromise caused by its execution.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-11120
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735742bf8831d539158f02
Added to database: 08/05/2026, 15:31:14 UTC
Last enriched: 08/05/2026, 17:07:21 UTC
Last updated: 08/05/2026, 17:07:21 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.