Malicious code in gcphelpit (PyPI)
Description
The gcphelpit PyPI package versions 0.1.0, 0.1.1, and 0.1.2 contain malicious code that exfiltrates sensitive user files. Specifically, the package reads the installer's ~/.zshrc file, which often contains cloud credentials and access tokens, and sends this data to a third-party public webhook. This exfiltration occurs unconditionally on every CLI invocation, posing a significant risk of credential theft. Prior to version 0.1.2, the package executed a harmless proof-of-concept action instead of exfiltrating data.
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 gcphelpit package includes a malicious module (_verify.py) that executes at import time. It reads the installer's ~/.zshrc file and posts its raw contents to a hardcoded external webhook URL unrelated to the package's stated purpose. The CLI entry point imports this module, causing the exfiltration to occur on every command invocation. This behavior results in the unauthorized disclosure of sensitive environment variables and tokens stored in ~/.zshrc, such as AWS, Google, GitHub, and npm credentials. Versions 0.1.0, 0.1.1, and 0.1.2 are affected. No official patch or remediation is indicated in the provided data.
Potential Impact
The malicious code leads to the bulk exfiltration of sensitive shell secrets and credentials from the user's environment to an attacker-controlled endpoint. This compromises the confidentiality of cloud credentials and access tokens, potentially enabling unauthorized access to cloud resources and other services. The exfiltration occurs silently and automatically on every CLI invocation, increasing the risk of widespread credential leakage.
Defensive Guidance
No official patch or remediation is documented in the provided information. Users should immediately uninstall the affected versions (0.1.0, 0.1.1, 0.1.2) of the gcphelpit package and avoid using it. Review and rotate any credentials or tokens that may have been exposed via the ~/.zshrc file. Monitor for any unauthorized access to cloud or service accounts associated with these credentials. Check for updated advisories or replacement packages from trusted sources before reinstalling similar functionality.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15810
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6a984563acd9273b496ac511
Added to database: 09/02/2026, 15:48:51 UTC
Last enriched: 09/07/2026, 22:24:03 UTC
Last updated: 10/04/2026, 08:11:37 UTC
Views: 30
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.