quartz-core (npm) · Malicious Code
Affects quartz-coreSource GCVE Database
Malicious package : remove quartz-core and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 22:23 UTC
Malicious package
Published to npm · OSV MAL-2026-15671
What to do
Remove quartz-core 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
| Product | Affected | Fixed in |
|---|---|---|
| npmquartz-core | Affected
| 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 quartz-core version 99.1.9 contains malicious code that executes during installation. Its preinstall script collects the installer's OS username, hostname, and current working directory, then sends this information via a DNS query to an attacker-controlled domain. This behavior is consistent with reconnaissance for dependency confusion attacks. The package has no legitimate functionality beyond this beacon. Systems with this package installed should be considered fully compromised.