Skip to main content
MalwarePublished

github-policy-bot (npm) · Malicious Code

Affects github-policy-botSource GCVE Database

0

Malicious package : remove github-policy-bot and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:30 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14245

What to do

Remove github-policy-bot 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
npmgithub-policy-botAffected
  • =1.0.0
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 'github-policy-bot' version 1.0.0 contains malicious code in its postinstall script that collects host identifiers and environment metadata and sends this data to a hardcoded third-party server without user consent. The package masquerades as a legitimate Google-owned repository but is authored by an untrusted entity. This behavior results in unsolicited disclosure of sensitive environment information during installation.

References

Community reviews

Loading reviews…