CyGuide receives active security updates and vulnerability patches on the current default release branch and latest PyPI release.
| Release Channel | Supported | Notes |
|---|---|---|
Latest Release / Default Branch (main) |
Yes | Active security support and patches. |
| Prior Releases | Best Effort | Security fixes are backported or rolled into the next minor/patch release. |
We recommend always running the latest packaged release (pip install -U cyguide) or pulling the latest tagged release.
The CyGuide team takes security seriously. If you discover a vulnerability, potential security bug, or weakness in CyGuide (including command injection vectors in tool adapters, path traversal in export/import routines, or credential exposure), please do not report it through a public GitHub issue.
- GitHub Private Vulnerability Reporting: Navigate to the CyGuide Security Advisory tab and submit a private report.
- Direct Maintainer Contact: If the advisory portal is unavailable, contact the project maintainer directly at
harshwardhan@h45sh.comwith the subject line[SECURITY] CyGuide Vulnerability Report.
To help us assess and resolve the issue quickly, please provide:
- A clear description of the vulnerability and its potential impact.
- Step-by-step reproduction instructions or a minimal Proof of Concept (PoC).
- The affected CyGuide version and operating system environment.
- Any potential mitigations or remediation patches you have identified.
- Acknowledgment: Within 48 hours of initial receipt.
- Triage & Assessment: Within 5 business days, confirming whether the report is accepted or requires further detail.
- Remediation & Advisory Release: A coordinated release date will be scheduled once a patch is tested. We aim to release critical fixes within 14 days of confirmation.
Credit will be given in the release notes and security advisories for responsibly disclosed vulnerabilities, unless the reporter requests anonymity.
CyGuide operates as an orchestration, analysis, and educational harness executing external cybersecurity binaries on the local host. When assessing potential vulnerabilities, consider the following threat model boundaries:
- Subprocess Execution: CyGuide tool adapters must always pass arguments as structured argument lists (
List[str]) directly toasyncio.create_subprocess_execrather than invoking a shell withshell=True. Vulnerabilities where arbitrary target parameters or unescaped macro tokens lead to unintended shell execution on the host are in-scope. - Environment Sanitization & Credential Protection: Subprocess environments must be scrubbed (
sanitize_subprocess_env) of operator secrets (CYGUIDE_*,OPENAI_*,ANTHROPIC_*,AWS_*,GITHUB_*,SSH_PRIVATE_KEY). Flaws where external CLI tools can read operator API tokens from child/proc/<PID>/environare in-scope. - Session Database Isolation & Hardening: Exported
.dbfiles contain findings and command metadata. SQLite database connections enforcePRAGMA trusted_schema = OFFand parameterized queries. Deserialization flaws leading to path traversal, arbitrary file writes, or trigger execution are in-scope. - Network Gateways & Cloud Metadata SSRF Protection: CyGuide provides target validation and Link-Local/cloud metadata blocking (
169.254.0.0/16, IMDSv2, cloud metadata hostnames). Bypasses that trick the gateway into dispatching requests to cloud metadata services or bypassing target CIDR boundary checks are considered security issues. - AI Prompt Injection & Boundary Delimiters: Parsing untrusted stdout/stderr from external security tools encapsulates content within
<untrusted_scan_output>XML boundary tags with closing-tag sanitization and credential redaction (PEM keys, tokens, passwords). Exploits that achieve prompt injection override or credential exfiltration are in-scope. - Local Filesystem Permissions: Sensitive settings (
settings.json) and scratchpads (scratchpad.md) enforce atomic0o600permissions to prevent TOCTOU race conditions.