Skip to main content
MalwarePublished Updated

@pergel/module-graphql (npm) · Malicious Code

Affects @pergel/module-graphqlSource GCVE Database

0

Malicious package : remove @pergel/module-graphql and rotate any secrets on hosts that installed it.

Data as of 20 Nov 2026, 01:11 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-191286

What to do

Remove @pergel/module-graphql 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@pergel/module-graphqlAffected
  • =0.6.1
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 @pergel/module-graphql version 0.6.1 was compromised by a malicious actor known as Sha1-Hulud: The Second Coming NPM worm. This malicious code steals tokens and credentials from users and exfiltrates them to GitHub. Additionally, the worm propagates itself by infecting other NPM packages owned by the user and establishes persistence through a GitHub action. The payload may also delete the user's home directory, causing potential data loss.

References

Community reviews

Loading reviews…