Malicious code in postcss-animatecss (npm)
The postcss-animatecss npm package versions 1.0.1 and 1.0.2 contain malicious code that executes arbitrary Node.js commands on developer or CI hosts. The package includes an obfuscated payload that fetches and executes remote code every 4 seconds, establishing a persistent command-and-control channel. This behavior leaks consumer plugin configuration data to the attacker and is unrelated to the package's intended functionality.
AI Analysis
Technical Summary
The postcss-animatecss package versions 1.0.1 and 1.0.2 include an obfuscated payload that runs on every build. It fetches a remote endpoint using a URL constructed from hidden RC4/base64 strings, retrieves a base64-encoded message, and executes it via a dynamically created function with full require access. This creates a persistent backdoor by re-invoking the fetch-and-execute loop every 4 seconds. The outbound request also leaks plugin configuration data. The malicious behavior is concealed by obfuscation and is unrelated to the package's legitimate purpose of adding CSS prefixes.
Potential Impact
This malicious code allows remote attackers to execute arbitrary Node.js code on developer or continuous integration environments where the affected package is used. It provides persistent remote code execution with full module loading capabilities, potentially compromising the build environment and any sensitive data or credentials accessible there. Additionally, it leaks configuration details to the attacker, increasing the risk of further targeted attacks.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately stop using postcss-animatecss versions 1.0.1 and 1.0.2. Remove these versions from all projects and CI pipelines. Replace with a trusted, verified version or alternative package. Monitor for any signs of compromise in development and CI environments. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in postcss-animatecss (npm)
Description
The postcss-animatecss npm package versions 1.0.1 and 1.0.2 contain malicious code that executes arbitrary Node.js commands on developer or CI hosts. The package includes an obfuscated payload that fetches and executes remote code every 4 seconds, establishing a persistent command-and-control channel. This behavior leaks consumer plugin configuration data to the attacker and is unrelated to the package's intended 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 postcss-animatecss package versions 1.0.1 and 1.0.2 include an obfuscated payload that runs on every build. It fetches a remote endpoint using a URL constructed from hidden RC4/base64 strings, retrieves a base64-encoded message, and executes it via a dynamically created function with full require access. This creates a persistent backdoor by re-invoking the fetch-and-execute loop every 4 seconds. The outbound request also leaks plugin configuration data. The malicious behavior is concealed by obfuscation and is unrelated to the package's legitimate purpose of adding CSS prefixes.
Potential Impact
This malicious code allows remote attackers to execute arbitrary Node.js code on developer or continuous integration environments where the affected package is used. It provides persistent remote code execution with full module loading capabilities, potentially compromising the build environment and any sensitive data or credentials accessible there. Additionally, it leaks configuration details to the attacker, increasing the risk of further targeted attacks.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately stop using postcss-animatecss versions 1.0.1 and 1.0.2. Remove these versions from all projects and CI pipelines. Replace with a trusted, verified version or alternative package. Monitor for any signs of compromise in development and CI environments. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10539
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff5d68715ace432f0aa4
Added to database: 07/14/2026, 09:20:29 UTC
Last enriched: 07/14/2026, 09:31:27 UTC
Last updated: 07/29/2026, 19:49:43 UTC
Views: 128
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.