typography-stylecss
This report shows the evidence for typography-stylecss@0.7.4, the only known version.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-3776 confirms this npm version as malicious.
Advisory
MAL-2026-3776
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in typography-stylecss (npm)
Details
The package impersonates the legitimate @tailwindcss/typography plugin: README, src/index.js, src/utils.js, and src/styles.js are copied verbatim from the Tailwind Labs plugin, and peerDependencies lists tailwindcss to reinforce the masquerade, but the package is published under the unrelated name typography-stylecss. Appended to src/index.js after the legitimate `module.exports = plugin.withOptions(...)` is an obfuscator.io-style payload (hex-named identifiers _0x168f6b, _0x3fc27f, etc., with a rotated string table _0x5975). Decoded string-table fragments include platform branching ('win32', 'windows', 'agent-linux-') and a URL path template `/agents/<deploymentHash>` built against a base URL read from a `__SSTAR_API_BASE` global, consistent with downloading a platform-specific agent binary and executing it. Because this code sits at module top level, it fires on `require('typography-stylecss')` / `import 'typography-stylecss'` — exactly the usage the cloned README instructs developers to add to their `tailwind.config.js`. Any build or dev server that loads the Tailwind config will trigger the dropper, which fetches and runs an attacker-controlled native binary on the installer's machine.
References
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 typography-stylecss@0.7.4.
The versions list below shows the verdict for each recorded version.
- Avoid installing typography-stylecss@0.7.4. 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.