GHSA-6rrf-hp88-jgvw
Malicious code in github-policy-bot (npm)
Impact
## Source: amazon-inspector (87b8742a99002975ebaced2478673108f4f442e5ac7878651edeb8346702f132) On `npm install`, the package's postinstall script collects host identifiers (os.hostname(), platform, arch, node version, package name, npm lifecycle event) and POSTs them as JSON to the hardcoded host vlfl47tl.instances.poc.jchunt.top at path /github-policy-bot. The outbound request is fail-silent (error handler swallows failures) and short-timeout, consistent with a beacon. The package name shadows the Google-owned `js-github-policy-bot` repository path referenced in the tarball's source.txt, and the package.json author is a placeholder (`r00tdaddy`) with a self-declared 'security research canary' purpose — an author-controlled label that does not change the behavior. Installing this package causes unsolicited disclosure of the installer's hostname and environment metadata to a third-party endpoint the installer did not configure. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/f8a3e64abb19cc0a9046ef108bdf72d02329ce3f/osv/malicious/npm/github-policy-bot/MAL-2026-14245.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | github-policy-bot | = 1.0.0 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-6rrf-hp88-jgvw
- https://github.com/ossf/malicious-packages/blob/f8a3e64abb19cc0a9046ef108bdf72d02329ce3f/osv/malicious/npm/github-policy-bot/MAL-2026-14245.json
- https://www.npmjs.com/package/github-policy-bot/v/1.0.0
- https://github.com/ossf/malicious-packages/blob/05b419acdcdd6e02782971da765f32a22a1aed8e/osv/malicious/npm/github-policy-bot/MAL-2026-14245.json