Malicious code in better-tailwindcss (npm)
A malicious package impersonating the legitimate better-tailwindcss npm project was published under the same name. This fake package declares dependencies resolved from an untrusted, plain-HTTP source without integrity verification, causing npm to fetch and execute arbitrary code during installation. The code is unrelated to the real project and is labeled as for 'Security Research Testing Purpose,' indicating namespace squatting and malicious intent.
AI Analysis
Technical Summary
The malicious better-tailwindcss package (version 4.6.3) published on npm declares both runtime and development dependencies on itself resolved from an untrusted HTTP source (http://pack.nppacks.com/npm/better-tailwindcss) without TLS or integrity hashes. During npm install, this causes arbitrary, mutable code from that source to be fetched and installed, including any install or postinstall scripts which execute on the installer's machine. The shipped code is a Babel plugin clone unrelated to the legitimate better-tailwindcss project, confirming this is a namespace squatting attack used as a delivery vehicle for malicious code.
Potential Impact
Users installing better-tailwindcss version 4.6.3 risk executing arbitrary code from an untrusted source during installation, potentially compromising their systems. The malicious package can run install scripts, enabling code execution on the installer's machine. This undermines supply chain security and trust in the npm ecosystem for this package name.
Mitigation Recommendations
No official patch or fix is indicated. Users should avoid installing better-tailwindcss version 4.6.3 from npm and verify package sources carefully. Prefer the legitimate better-tailwindcss project and confirm dependencies resolve from trusted registries over HTTPS with integrity verification. Monitor npm advisories for updates or official vendor guidance.
Malicious code in better-tailwindcss (npm)
Description
A malicious package impersonating the legitimate better-tailwindcss npm project was published under the same name. This fake package declares dependencies resolved from an untrusted, plain-HTTP source without integrity verification, causing npm to fetch and execute arbitrary code during installation. The code is unrelated to the real project and is labeled as for 'Security Research Testing Purpose,' indicating namespace squatting and malicious intent.
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 better-tailwindcss package (version 4.6.3) published on npm declares both runtime and development dependencies on itself resolved from an untrusted HTTP source (http://pack.nppacks.com/npm/better-tailwindcss) without TLS or integrity hashes. During npm install, this causes arbitrary, mutable code from that source to be fetched and installed, including any install or postinstall scripts which execute on the installer's machine. The shipped code is a Babel plugin clone unrelated to the legitimate better-tailwindcss project, confirming this is a namespace squatting attack used as a delivery vehicle for malicious code.
Potential Impact
Users installing better-tailwindcss version 4.6.3 risk executing arbitrary code from an untrusted source during installation, potentially compromising their systems. The malicious package can run install scripts, enabling code execution on the installer's machine. This undermines supply chain security and trust in the npm ecosystem for this package name.
Mitigation Recommendations
No official patch or fix is indicated. Users should avoid installing better-tailwindcss version 4.6.3 from npm and verify package sources carefully. Prefer the legitimate better-tailwindcss project and confirm dependencies resolve from trusted registries over HTTPS with integrity verification. Monitor npm advisories for updates or official vendor guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10550
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a55ff5d68715ace432f0aa1
Added to database: 07/14/2026, 09:20:29 UTC
Last enriched: 09/12/2026, 16:18:38 UTC
Last updated: 09/12/2026, 16:18:38 UTC
Views: 46
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.