Skip to main content

Malicious code in tailwind-aspect (npm)

0
Critical
Published: 09/04/2026 (09/04/2026, 05:19:41 UTC)
Source: GCVE Database
Product: tailwind-aspect

Description

The npm package 'tailwind-aspect' version 0.4.2 contains malicious code that downloads and executes a JavaScript file from an untrusted HTTP source. The package impersonates the official Tailwind CSS aspect-ratio plugin to deceive users. The downloaded code is fetched over unencrypted HTTP from a hardcoded IP address, allowing arbitrary code execution on the installer's machine during package import.

Affected software

npmghsa
tailwind-aspect
Affected versions
=0.4.2

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: 09/07/2026, 17:29:00 UTC

Technical Analysis

The 'tailwind-aspect' npm package (version 0.4.2) unconditionally downloads a JavaScript file from a hardcoded plain-HTTP IP address (http://23.27.245.100/index.js), writes it locally as './inout.js', and requires it on every import. This remote code is unpinned and unverified, enabling the operator of the IP or any on-path attacker to execute arbitrary code on the system importing the package. The package metadata impersonates the official '@tailwindcss/aspect-ratio' plugin to conceal its malicious behavior. The remote fetch is unrelated to any legitimate Tailwind CSS functionality.

Potential Impact

Users installing or importing this package version risk arbitrary code execution on their machines due to the unverified, cleartext HTTP download of remote code. This can lead to full compromise of the affected system. The impersonation of a legitimate package increases the likelihood of unsuspecting users installing the malicious package.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing or using 'tailwind-aspect' version 0.4.2. Verify package authenticity by using the official '@tailwindcss/aspect-ratio' plugin from trusted sources. Monitor for vendor advisories for any updates or fixes.

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-15912
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a9ad4edacd9273b49b677ca

Added to database: 09/04/2026, 14:25:49 UTC

Last enriched: 09/07/2026, 17:29:00 UTC

Last updated: 10/04/2026, 07:23:50 UTC

Views: 23

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