Malicious code in tailwindcss-form-styles (npm)
Description
The tailwindcss-form-styles npm package version 0.5.15 contains malicious code that executes attacker-controlled commands during the Tailwind build process. It masquerades as the legitimate tailwindcss-forms plugin to gain trust and uses obfuscated code to perform outbound HTTP requests and interact with Ethereum RPC endpoints to retrieve further commands. Installation or use of this package can lead to full compromise of the build environment, including developer machines and CI runners.
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 malicious tailwindcss-form-styles package (version 0.5.15) re-exports the legitimate tailwindcss-forms plugin as a cover, then appends obfuscated code that assigns require and module to global variables and executes a large base64-decoded payload. This payload includes HTTP client functionality that communicates with Ethereum RPC endpoints using hardcoded contract addresses and an on-chain dead-drop pattern to fetch next-stage commands. The package's repository field points to the legitimate tailwindlabs/tailwindcss-forms repository to inherit trust. The malicious code executes immediately when the plugin is loaded during a Tailwind build, resulting in attacker-controlled code execution in the build environment. The campaign tag 'A10-npm_new2' is embedded in the code. This compromises developer and CI environments, potentially exposing secrets and keys.
Potential Impact
Any system that installs or runs this package version 0.5.15 is considered fully compromised. The attacker gains code execution in the build environment, which can lead to theft or manipulation of secrets, keys, and other sensitive data. Removal of the package alone does not guarantee remediation, as the attacker may have installed additional malware or backdoors. Secrets and keys stored on compromised machines should be rotated immediately from a secure environment.
Mitigation Recommendations
Remove the malicious tailwindcss-form-styles package version 0.5.15 immediately. Rotate all secrets and keys that were stored or used on any compromised machine from a different, trusted environment. Because the attacker may have established persistent access, consider rebuilding or thoroughly cleaning affected systems. No official patch or fix is currently available; therefore, avoid using this package version. Monitor for any suspicious activity related to this compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14568
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-8wj9-gw6r-6vqh"]
- Ecosystems
- ["npm"]
Threat ID: 6a92f827acd9273b49e917fa
Added to database: 08/29/2026, 15:17:59 UTC
Last enriched: 09/09/2026, 18:24:06 UTC
Last updated: 10/04/2026, 07:50:24 UTC
Views: 85
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.