Skip to main content
MalwarePublished Updated

textshape-css (npm) · Malicious Code

Affects textshape-cssSource GCVE Database

0

Malicious package : remove textshape-css and rotate any secrets on hosts that installed it.

Data as of 15 Jul 2026, 12:52 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6475

What to do

Remove textshape-css from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmtextshape-cssAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'textshape-css' version 1.0.0 is a malicious typosquat of the legitimate Tailwind CSS typography plugin. It contains obfuscated code that executes immediately upon import or require, spawning a shell process that downloads and runs an unpinned third-party package from an attacker-controlled server. This results in remote code execution and full system compromise. Removal of the package does not guarantee eradication of all malicious components. Immediate secret and key rotation is advised.

References

Community reviews

Loading reviews…