Malicious code in github-policy-bot (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in github-policy-bot (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.