Malicious code in better-tailwindcss (npm)
The npm package 'better-tailwindcss' version 4.6.3 is a malicious package impersonating the legitimate project. It declares dependencies resolved from an untrusted, plain-HTTP source without integrity checks, allowing arbitrary code execution during installation. The package contains unrelated code and is used as a namespace squatting vehicle to deliver potentially harmful code.
AI Analysis
Technical Summary
The malicious 'better-tailwindcss' package (version 4.6.3) publishes under the name of the legitimate project but declares runtime and dev dependencies from a non-secure HTTP source (http://pack.nppacks.com/npm/better-tailwindcss) without TLS or integrity verification. During 'npm install', this allows fetching and executing arbitrary, mutable code including install/postinstall scripts on the user's machine. The shipped code is unrelated to the real project and self-identifies as for 'Security Research Testing Purpose,' indicating namespace squatting and malicious intent.
Potential Impact
Users installing version 4.6.3 of 'better-tailwindcss' risk executing arbitrary code on their machines due to the package fetching dependencies from an untrusted HTTP source without integrity checks. This can lead to compromise of the development environment or further malicious activity triggered by install scripts.
Mitigation Recommendations
No official patch or fix is currently documented. Users should avoid installing 'better-tailwindcss' version 4.6.3 from untrusted sources. Verify package authenticity and source URLs before installation. Monitor for vendor advisories for any updates or official remediation.
Malicious code in better-tailwindcss (npm)
Description
The npm package 'better-tailwindcss' version 4.6.3 is a malicious package impersonating the legitimate project. It declares dependencies resolved from an untrusted, plain-HTTP source without integrity checks, allowing arbitrary code execution during installation. The package contains unrelated code and is used as a namespace squatting vehicle to deliver potentially harmful code.
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) publishes under the name of the legitimate project but declares runtime and dev dependencies from a non-secure HTTP source (http://pack.nppacks.com/npm/better-tailwindcss) without TLS or integrity verification. During 'npm install', this allows fetching and executing arbitrary, mutable code including install/postinstall scripts on the user's machine. The shipped code is unrelated to the real project and self-identifies as for 'Security Research Testing Purpose,' indicating namespace squatting and malicious intent.
Potential Impact
Users installing version 4.6.3 of 'better-tailwindcss' risk executing arbitrary code on their machines due to the package fetching dependencies from an untrusted HTTP source without integrity checks. This can lead to compromise of the development environment or further malicious activity triggered by install scripts.
Mitigation Recommendations
No official patch or fix is currently documented. Users should avoid installing 'better-tailwindcss' version 4.6.3 from untrusted sources. Verify package authenticity and source URLs before installation. Monitor for vendor advisories for any updates or official remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10550
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff5d68715ace432f0aa1
Added to database: 07/14/2026, 09:20:29 UTC
Last enriched: 07/14/2026, 09:31:07 UTC
Last updated: 07/31/2026, 12:50:41 UTC
Views: 20
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.