tailwind-typography-style
This report shows the evidence for tailwind-typography-style@0.5.8, the only known version.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-5854 confirms this npm version as malicious.
Advisory
MAL-2026-5854
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in tailwind-typography-style (npm)
Details
The package impersonates @tailwindcss/typography by name and ships a verbatim copy of tailwindlabs/tailwindcss-typography's src/ tree (index.js, styles.js, utils.js) so it appears functional. After the legitimate `module.exports = plugin.withOptions(...)` block, src/index.js appends a custom string-shuffle cipher (the `_$_1e42` IIFE and `sfL` decoder) that decodes the strings `require`, `module`, and `constructor`, retrieves the Function constructor via `sfL[EKc]`, compiles a deobfuscated body string into a function (`var xBg=dgC(Apa,sfL(joW)); var pYd=xBg(sfL('o B%v[Raca...'));`), and immediately invokes it (`Tgw(2509)`). Node's `require` is stashed on `global` under a deobfuscated key so the dynamically-created function has full access to the filesystem, network, and child_process. Any project that does `require('tailwind-typography-style')` (or imports it through a Tailwind config) executes attacker-controlled code at module load while the legitimate plugin API masks the behavior. Two layers of custom Fisher–Yates string-shuffle obfuscation are used to hide payload contents from static review — there is no legitimate reason for a Tailwind CSS plugin to perform runtime code generation.
## Source: ghsa-malware (e586cfdd5f2f3377c2cb4ee333817075c3ca88bf4261e741b9d7ef527ca80868) 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.
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to tailwind-typography-style@0.5.8.
The versions list below shows the verdict for each recorded version.
- Avoid installing tailwind-typography-style@0.5.8. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.