Malicious code in tailwind-custom-templates (npm)
The npm package 'tailwind-custom-templates' version 0.7.2 contains malicious code disguised as a Tailwind CSS form-styling plugin. It includes an obfuscated payload that initiates Ethereum-related network activity, including connections to RPC providers and blockchain explorer APIs. This behavior is unrelated to the package's stated purpose and suggests a wallet-address-swap or on-chain command-and-control operation triggered upon import.
AI Analysis
Technical Summary
The 'tailwind-custom-templates' npm package (version 0.7.2) masquerades as a Tailwind CSS form-styling plugin but embeds an obfuscated payload in its main entry file (src/index.js). This payload decodes to code that performs Ethereum blockchain network interactions, referencing hardcoded RPC endpoints, blockchain explorer APIs, and an Ethereum wallet address. The presence of these elements is inconsistent with the package's advertised functionality and indicates malicious intent, likely to perform wallet address swapping or on-chain command-and-control activities on the importing system.
Potential Impact
Users who install and import this package risk executing malicious code that interacts with Ethereum blockchain services, potentially leading to theft or manipulation of cryptocurrency wallet addresses or other on-chain activities controlled by the attacker. This compromises the security and integrity of the user's development environment and any assets linked to the affected wallets.
Mitigation Recommendations
Avoid using the 'tailwind-custom-templates' package version 0.7.2. Since no official patch or remediation is indicated, users should remove this package from their projects and replace it with trusted alternatives. Monitor for updates from the package maintainer or npm advisories for any official fixes or removals. Conduct audits of dependencies to detect similar malicious packages.
Malicious code in tailwind-custom-templates (npm)
Description
The npm package 'tailwind-custom-templates' version 0.7.2 contains malicious code disguised as a Tailwind CSS form-styling plugin. It includes an obfuscated payload that initiates Ethereum-related network activity, including connections to RPC providers and blockchain explorer APIs. This behavior is unrelated to the package's stated purpose and suggests a wallet-address-swap or on-chain command-and-control operation triggered upon import.
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 'tailwind-custom-templates' npm package (version 0.7.2) masquerades as a Tailwind CSS form-styling plugin but embeds an obfuscated payload in its main entry file (src/index.js). This payload decodes to code that performs Ethereum blockchain network interactions, referencing hardcoded RPC endpoints, blockchain explorer APIs, and an Ethereum wallet address. The presence of these elements is inconsistent with the package's advertised functionality and indicates malicious intent, likely to perform wallet address swapping or on-chain command-and-control activities on the importing system.
Potential Impact
Users who install and import this package risk executing malicious code that interacts with Ethereum blockchain services, potentially leading to theft or manipulation of cryptocurrency wallet addresses or other on-chain activities controlled by the attacker. This compromises the security and integrity of the user's development environment and any assets linked to the affected wallets.
Mitigation Recommendations
Avoid using the 'tailwind-custom-templates' package version 0.7.2. Since no official patch or remediation is indicated, users should remove this package from their projects and replace it with trusted alternatives. Monitor for updates from the package maintainer or npm advisories for any official fixes or removals. Conduct audits of dependencies to detect similar malicious packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14195
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4c7acd9273b49252886
Added to database: 08/19/2026, 13:51:03 UTC
Last enriched: 08/19/2026, 14:42:53 UTC
Last updated: 08/19/2026, 14:42:53 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.