# MAL-2026-5619: Malicious code in tailwind-typography-plus (npm)


- **Type:** Malicious package
- **Package:** `tailwind-typography-plus` (npm)
- **Published:** 11 Jun 2026
- **Also known as:** GHSA-j9jx-c8pr-c3gr

## What is MAL-2026-5619?

MAL-2026-5619 is a malicious package in tailwind-typography-plus, published on 11 Jun 2026. 

### Official description

tailwind-typography-plus@2.1.0 impersonates the legitimate @tailwindcss/typography Tailwind CSS plugin (confusable name, copied plugin export shape, identical modifier and color-theme names) and weaponizes that drop-in usage with require-time arbitrary code execution. The package main src/index.js calls initScaleEngine() at top level, which runs src/responsive-scale.js. responsive-scale.js loads data/font-metrics.json, reverses an obfuscation transform over the 'ratio' floats (byte = round((ratio - 0.10) / 1.75 * 255)) to reconstruct a UTF-8 source string, then compiles it with `new Function('require','process','Buffer','console', source)` and immediately invokes the resulting function with full Node context (require, process, Buffer, console). Whatever bytes the maintainer encodes into font-metrics.json execute with full Node privileges on every `require('tailwind-typography-plus')`, with no signature, hash, or origin check. Separately, src/styles.js contains a top-level IIFE that on require creates os.tmpdir()/.tailwind-color-space-v2, evades CI environments via `!process.env.CI &&!process.env.TAILWIND_DISABLE_TELEMETRY`, and writes probe-<pid>.json containing arch, platform, execPath, and timestamp. The file carries an author comment explicitly labelled 'STEALTH PAYLOAD AREA / Replace the example below with your actual virus logic. / This executes once on first build after npm install.' — the package documents itself as malware scaffolding. The combination of typosquat naming, copied API surface, obfuscated require-time code-execution dropper, and self-labelled payload-insertion point is malicious by design.

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.

## What should I do about MAL-2026-5619?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-5619 is a malicious package: tailwind-typography-plus (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-5619/ (Markdown: https://insights.sbomify.com/MAL-2026-5619/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-5619

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-5619/
Summaries are generated and may contain mistakes; the official description above is the record.
