Skip to content
Kovo npm packages

chalk

Terminal string styling done right

1 version of chalk was published with malicious code. The latest version, 6.0.1, is not one of them.

  • Malicious versions on record
  • 6.0.1 latest, 2026-09-27
  • 491.5M weekly downloads
  • 0/29 recent releases with provenance

Check your version

Enter the exact version from your lockfile.

No known advisories affect chalk@6.0.1.
Checked against 1 advisory.

Major incidents

Curated

Written by Kovo from cisa.gov, Tracking issue, Aikido analysis. Everything else on this page is generated from registry and advisory data.

  1. 2025-09-08Account compromise

    Maintainer phished; crypto-wallet drainer published

    A phishing email from a look-alike npm domain captured the maintainer's credentials. Malicious versions of chalk, debug and 16 other packages injected browser code that rewrote crypto-wallet transactions, and were removed within hours.

    Affected 5.6.1

Security checks

Last two years: 1 malicious. 44 stable releases since 2013, 56 KB unpacked, license MIT.

  • No known advisories affect the latest version, 6.0.1
    Checked against 1 advisory in OSV.
  • 1 version was published with malicious code
    5.6.1 Reported by OpenSSF malicious-packages via OSV.
  • None of its advisories are on CISA's Known Exploited list
    Checked against the CISA KEV catalog.
  • 0 of the last 29 releases have build provenance
    None of these releases can be traced to a CI build.
  • No install scripts in the latest version
    0 runtime dependencies in 6.0.1.
  • 2 accounts have published the last 30 releases
    qixsindresorhus
  • 1 of the last 30 releases breaks the publishing pattern
    5.6.1 reported malicious

Release lines

A line counts as active if it had a release in the last 180 days.

LineLatestLast releaseStatus
6.x6.0.12026-09-27Active
5.x5.6.22025-09-08No release in 13 months
4.x4.1.22021-07-30No release in 5.2 years
3.x3.0.02019-11-09No release in 6.9 years
2.x2.4.22019-01-05No release in 7.8 years

How long the code was vulnerable before disclosure

Each bar starts at the publish date of the first affected version and ends at disclosure. Critical, high and malicious advisories from the last two years.

Median time from the first affected release to disclosure: the same day.

MAL-2025-46969 Malicious code in chalk (npm)

Generated 2026-10-10 from the npm registry, OSV.dev and the CISA Known Exploited Vulnerabilities catalog.

Apart from the incidents marked Curated, every sentence on this page is a fixed template filled from those sources. Advisory summaries and the package description are quoted verbatim.

Kovo: verified fixes for dangerous dependency vulnerabilities in Node.js repositories. How Kovo works · All package pages