Is timeago.js safe?
Versions 4.1.2 and 4.2.2 of timeago.js were compromised (maintainer token compromise). Other versions are not flagged as malicious.
Do not install timeago.js 4.1.2 or 4.2.2
CRITICALanalyst verifiedMaintainer token compromise, part of the mini_shai_hulud_antv_2026_05_19 campaign. Confirmed 2026-05-19, verified by a CyberXYZ analyst.
Mini-Shai-Hulud: maintainer-token compromise in AntV ecosystem, 2026-05-19 disclosed by Endor Labs. Payload: credential exfil (GitHub/npm/GCP/AWS/Vault tokens) → filev2.getsession[.]org over TCP/443; persistence via .claude/settings.json + .vscode/tasks.json hooks; OIDC token minting + Sigstore provenance forgery.
- Malicious
- 4.1.2, 4.2.2
- Move to
- 4.0.2 newest 4.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 timeago.js@4.0.2
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-23 at 18:46 UTC. Updated continuously from NVD, GHSA, OSV and CNA feeds.