cpf is in maintenance. Security fixes land on main and ship in the
next release; only the latest release is supported.
Do not open a public issue. Use GitHub's private vulnerability reporting: https://github.com/schwichtgit/claude-project-foundation/security/advisories/new
Include a description, steps to reproduce, affected files, and the potential impact. Expect acknowledgment within 7 days and a resolution or mitigation plan within 30 days.
In projects that use it:
- Secret scanning. The
pre-commithook scans staged content for secrets: AWS keys, GitHub, GitLab, Slack, and OpenAI tokens, and credential assignments. - Forbidden files.
pre-commitblocks them:.envand.env.*(templates such as.env.exampleare allowed), private keys and certificates, credential files, and.ssh/.gnupg/.aws/.gclouddirectories. - Claude Code hooks. They block destructive shell commands (for
example
rm -rfon root or home, force pushes) and edits to sensitive files. - Tool versions. Tools resolve from the project's pins, and
uv run --frozennever rewritesuv.lock.
Recommended repository settings (secret scanning with push protection,
branch protection) are in the GitHub setup guide, available via
/cpf:specforge setup.
This policy covers cpf itself. Report issues in projects that use cpf to those projects.