Skip to main content

Malicious code in tailwind-forms-kit (npm)

0
High
Published: 09/30/2026 (09/30/2026, 01:27:06 UTC)
Source: GCVE Database
Product: tailwind-forms-kit

Description

The npm package [email protected] impersonates the legitimate @tailwindcss/forms plugin by using a misleading package name with a leading space, copying the README, and pointing its repository field to the legitimate source. However, its main entry point contains obfuscated code that dynamically fetches and executes arbitrary code from blockchain-hosted transaction data tied to a hardcoded Ethereum address. This allows an attacker controlling that address to execute arbitrary code on any host that installs or requires this package, bypassing typical domain or URL blocklists.

Affected software

npmghsa
tailwind-forms-kit
Affected versions
=0.5.1=0.5.3

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

AILast updated: 10/06/2026, 21:42:42 UTC

Technical Analysis

The tailwind-forms-kit npm package version 0.5.1 impersonates the official Tailwind CSS forms plugin by using a similar package name (with a leading space), copying the README, and referencing the legitimate repository. Its main JavaScript file is obfuscated and, upon require(), imports Node.js core modules including http, https, zlib, and child_process. It reconstructs a hardcoded Ethereum sender address and queries multiple public Ethereum RPC endpoints and an Etherscan-style indexer to retrieve on-chain transaction data. This data is decoded into a payload that is then executed dynamically via child_process.spawn. This technique, known as EtherHiding blockchain-hosted command and control (C2), enables whoever controls the Ethereum address to run arbitrary code on any system using this package, circumventing traditional network-based blocking methods.

Potential Impact

An attacker controlling the hardcoded Ethereum address can execute arbitrary code on any system that installs or requires the affected tailwind-forms-kit package version 0.5.1. This compromises the host's security, potentially allowing full system compromise, data theft, or further malicious activity. The use of blockchain-hosted payload delivery evades conventional domain or URL filtering, increasing the stealth and persistence of the attack.

Mitigation Recommendations

No official patch or remediation is currently documented for this malicious package. Users should avoid installing or using tailwind-forms-kit versions 0.5.1 and 0.5.3. Verify package authenticity by checking the exact package name (watch for leading spaces), repository URLs, and source integrity. Prefer official packages from trusted sources and consider using package integrity verification tools such as checksums or signed packages. Monitor for and remove any installations of this package from development and production environments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-17310
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6ac56b1c2cdf04f656e1c1d2

Added to database: 10/06/2026, 21:41:48 UTC

Last enriched: 10/06/2026, 21:42:42 UTC

Last updated: 10/06/2026, 21:42:42 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses