Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in github-policy-bot (npm)

0
Medium
Published: 08/19/2026 (08/19/2026, 03:52:07 UTC)
Source: GCVE Database
Product: github-policy-bot

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.

Affected software

npmghsa
github-policy-bot
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 14:30:04 UTC

Technical Analysis

The 'github-policy-bot' npm package version 1.0.0 includes a postinstall script that gathers host-specific information such as hostname, platform, architecture, Node.js version, package name, and npm lifecycle event. It then sends this data as JSON to a hardcoded external endpoint (vlfl47tl.instances.poc.jchunt.top/github-policy-bot). The outbound request is designed to fail silently with a short timeout, consistent with a beacon for data exfiltration. The package name mimics a legitimate Google-owned repository, but the author is a placeholder named 'r00tdaddy' with a self-declared 'security research canary' label that does not alter the malicious behavior. Installing this package causes unauthorized disclosure of environment metadata to a third party.

Potential Impact

Installation of this package results in the unauthorized transmission of host and environment metadata to an external server controlled by the attacker. This could lead to privacy violations and potential reconnaissance for further attacks. There is no indication of direct code execution or system compromise beyond data leakage. No known exploits in the wild have been reported.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing the 'github-policy-bot' package version 1.0.0 from untrusted sources. Verify package authenticity before installation and monitor for suspicious postinstall scripts. Since the package is not a cloud service, remediation depends on user action to avoid or remove the malicious package. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-14245
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a85b4c2acd9273b492524c3

Added to database: 08/19/2026, 13:50:58 UTC

Last enriched: 08/19/2026, 14:30:04 UTC

Last updated: 08/19/2026, 14:30:04 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses