Skip to content
OpenAdvisories
Malicious MAL-2026-12221 GHSA-4mgg-vhf5-9r79

tailwind-custom-forms

npm package · versions 0.5.2, 0.5.0, 0.5.1

Reported Aug 5, 2026 · Updated Aug 31, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (0a94fe37df5952bc2326d9f0a759cf89d7105f47790fc71dc4731d87ec67a7f2)
The package impersonates @tailwindcss/forms: package.json declares the name `tailwind-custom-forms` while the repository field points at `github.com/tailwindlabs/tailwindcss-forms` and src/index.js contains a verbatim copy of that legitimate plugin. Appended after `module.exports = forms;` is `eval(atob('<large base64 blob>'))`, which decodes and executes on any `require('tailwind-custom-forms')`. The decoded payload reconstructs the module names `http`, `https`, `zlib`, `url`, and `child_process` from `\u` escapes to hide its imports, uses `child_process.spawn`, and builds outbound HTTP requests with keep-alive agents to hosts resolved at runtime from Ethereum JSON-RPC endpoints (`eth.blockscout.com/api`, `1rpc.io/eth`, `eth.drpc.org`, `ethereum-rpc.publicnode.com`, `eth-mainnet.public.blastapi.io`) keyed off the hardcoded ETH address `0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a`, calling paths `/0x/cls` and `/0x/ls`. On-chain records act as a rotating dispatcher so the operator can update C2 hosts without republishing the package. Requiring this module executes attacker-controlled code on the installer's machine.

Source: ghsa-malware (3cb82ba15d4c2b620291d5a55882dabedb703d26b992536363a4c3ab72544a7d)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.