Is word-width safe?
Versions 1.1.1 and 1.2.1 of word-width were compromised (maintainer account compromise). Other versions are not flagged as malicious.
Do not install word-width 1.1.1 or 1.2.1
CRITICALanalyst verifiedMaintainer account compromise, part of the mini_shai_hulud_antv_2026_05_19 campaign. Added to CyberXYZ 2026-05-19, verified by a CyberXYZ analyst.
atool npm account compromise (i@hust.cc / hustcc on GitHub). Same actor compromised AntV namespace. Published two waves of malicious versions across 24 packages; all versions from this account are suspect until token rotation confirmed.
- Malicious
- 1.1.1, 1.2.1
- Move to
- 1.0.1 newest 1.x release, no known advisory
If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.
npm install word-width@1.0.1
0 direct dependencies
none carry a known advisory
0 packages depend on it
an advisory here reaches each of them
Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.
Checked 2026-10-31 at 00:02 UTC. Updated continuously from NVD, GHSA, OSV and CNA feeds.