tw-style-utils has 2 compromised versions.

HighTyposquatnpm

tw-style-utils has 2 versions on the npm registry flagged in 1 incident we track. Only the exact versions listed below were named by the source advisories. tw-style-utils never had a legitimate version. It was published to be mistaken for a real package, so any install of it was an install of the payload.

At a glancenpm
2
Compromised versionsDo not install these

If one is in your tree, treat the machine as compromised, not just out of date.

Ecosystem
npm
Worst severity
High
Incidents
1
First flagged
26 Jun 2026
Type
Typosquat

Version data comes from the public advisories cited on each incident page.

Affected versions

The exact releases to look for.

Check what you actually have installed with npm ls tw-style-utils.

  • tw-style-utils@0.7.1
  • tw-style-utils@0.7.0
The incident

The incident that flagged it

HighTyposquat

tw-style-utils typosquats Tailwind Typography to deliver the SStar Agent RAT

tw-style-utils masqueraded as a Tailwind CSS typography plugin (99% of its code copied from @tailwindcss/typography) while ~5KB of top-level IIFE downloader code installed SStar Agent, a Windows/macOS RAT with keyboard/clipboard hooks and exfiltration capability. Two versions (0.7.0, 0.7.1) were live on npm from 2026-05-26 17:19 UTC; npm yanked the package and replaced latest with a 0.0.1-security holder on 2026-06-26 05:17 UTC, and GitHub published GHSA-75cr-ggc5-8h7g the same day.

Versions named here: 0.7.0, 0.7.1Read the incident →
What to do

Installed one of these? Start here.

Treat the machine as compromisedUpgrading is not enough. Packages in these incidents typically execute at install time, so the payload has already run with whatever credentials were in the environment.

  1. Rotate every credential that machine or CI job could reach, such as registry tokens, cloud keys, SSH keys and CI secrets, from a different machine.
  2. Pin to a version not listed above, then reinstall from a clean lockfile.
  3. Clear caches and private mirrors. Artifactory, Nexus, Verdaccio and devpi routinely keep serving a tarball after the public registry has pulled it.
  4. Read the incident write-up. Recommended actions differ per incident, and some have specific indicators of compromise worth searching your logs for.

Version data comes from the public advisories cited on each incident page. We list only versions those advisories name and do not infer additional ones. Think this is wrong or incomplete? Tell us.

Check your whole project

Check every dependency, not just this one.

It is usually pulled in as a transitive dependency rather than one you installed directly. Paste your package-lock.json to check every dependency at once. It runs in your browser and nothing is uploaded.