Skip to main content
MalwarePublished

@zapier/spectral-api-ruleset (npm) · Malicious Code

Affects @zapier/spectral-api-rulesetSource GCVE Database

0

Malicious package : remove @zapier/spectral-api-ruleset and rotate any secrets on hosts that installed it.

Data as of 18 Nov 2026, 02:08 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-190919

What to do

Remove @zapier/spectral-api-ruleset 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
npm@zapier/spectral-api-rulesetAffected
  • =1.9.1
  • =1.9.2
  • =1.9.3
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 @zapier/spectral-api-ruleset versions 1.9.1, 1.9.2, and 1.9.3 were found to contain malicious code. This malicious payload, associated with the Sha1-Hulud: The Second Coming NPM worm, steals tokens and credentials and exfiltrates them to GitHub. It also propagates itself to other NPM packages owned by the user and establishes persistence via a GitHub action. Additionally, the malware may destroy the user's home directory.

References

Community reviews

Loading reviews…