Skip to main content
MalwarePublished Updated

chai-as-sharpened (npm) · Malicious Code

Affects chai-as-sharpenedSource GCVE Database

0

Malicious package : remove chai-as-sharpened and rotate any secrets on hosts that installed it.

Data as of 12 Sep 2026, 19:02 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10045

What to do

Remove chai-as-sharpened from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmchai-as-sharpenedAffected
  • =7.0.9
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'chai-as-sharpened' contains malicious code that executes remote code on any system that requires it. Upon loading, it spawns a detached Node.js process that fetches and executes a remote payload from an obfuscated URL. The package uses name confusion by mimicking legitimate libraries to trick users into installation. This results in unconditional remote code execution (RCE) on the host system.

References

Community reviews

Loading reviews…