CodePilot AI processes GitHub PR diffs, repository metadata, prompts, model responses and optional Git write-back commands. Treat every deployment as a system that can access private source code and paid LLM/GitHub quotas.
This repository currently tracks security fixes on the main branch only. If you run a fork or private deployment, keep it rebased on main and review configuration changes before exposing the service to the internet.
Please do not open a public issue with exploit details, secrets, tokens, private repository URLs or private code snippets.
Use GitHub private vulnerability reporting when it is enabled for the repository. If private reporting is not available, contact the maintainer privately and include only the minimum reproduction details needed to triage the issue.
Useful report details:
- Affected component, for example API auth, webhook signature verification, GitHub token handling, prompt injection, auto-fix command execution or markdown rendering.
- Impact and attack path.
- Minimal reproduction steps using synthetic data.
- Whether the issue requires
CODEPILOT_GITHUB_FIX_ENABLED=true, public network exposure or a privileged GitHub token.
- Keep
CODEPILOT_API_AUTH_ENABLED=truefor any shared or public deployment. - Set
CODEPILOT_GITHUB_WEBHOOK_SECRETwhen webhooks are enabled. - Configure
CODEPILOT_GITHUB_ALLOWED_REPOSITORIESin production so arbitrary repositories cannot spend your LLM/GitHub quota. - Keep
CODEPILOT_GITHUB_FIX_ENABLED=falseunless the deployment has an isolated execution environment and a least-privilege GitHub token. - Keep fix validation in
localmode forgit diff --checkstyle checks only. Maven, Gradle, npm and other build/test commands are rejected unlessCODEPILOT_GITHUB_FIX_VALIDATION_EXECUTION_MODE=docker, an explicit sandbox image is configured, and build validation is explicitly enabled. - Do not mount Docker socket access into the production app container unless the host is dedicated to this workload and you accept that Docker socket access is host-level privilege.
- Never paste real secrets into issues, PRs, prompt fixtures, test cases or logs.
The maintainer will try to acknowledge valid private reports promptly, reproduce the issue, and publish a fix or mitigation guidance before public disclosure. Exact timelines depend on severity and maintainer availability.