Cpython Security Toolkit
Description
A Claude Code plugin for finding semantic security flaws in CPython's standard library — archive extraction boundaries, validation coverage gaps, resource amplification, and audit hook bypass.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
CPython Security Toolkit
A [Claude Code](https://docs.anthropic.com/en/docs/claude-code) plugin for finding semantic security flaws in CPython's standard library — the class of bug that generic SAST tools, fuzzers, and sanitizers do not model well.
Built around CPython-specific security invariants: archive extraction boundaries, protocol validation coverage, resource amplification ratios, and audit hook gaps. Every detector is anchored to a confirmed historical CVE; every finding requires a runnable reproducer before it reaches a maintainer.
⚠️ Read this before you use this toolkit on CPython
This tool finds **security vulnerabilities** in CPython's standard library. Security findings are handled differently from correctness bugs.
- Read WORKING_WITH_MAINTAINERS.md. It is the most important document in this repository.
- Security findings go to
security@python.orgfirst — never the public issue tracker. See the CPython security policy. - Pre-triage with a trusted CPython developer before submitting. One private message — "I found something that might be a security issue in
tarfile, can you take a look?" — takes five minutes and saves everyone time. - Never file a finding without a runnable reproducer. A finding with no reproducer is not a finding. The tool enforces this.
- Concise and objective reports only. CPython maintainers are busy. One clear sentence describing the violated invariant is worth more than three paragraphs of analysis.
Why a Separate Tool?
| Concern | cpython-review-toolkit | cpython-security-toolkit |
|---|---|---|
| Layer | C source (Modules/, Objects/, Python/) | Python stdlib (Lib/) |
| Question asked | "Is this C implementation correct?" | "Does this stdlib behavior violate a security invariant?" |
| Bug class | Refcount leaks, null safety, error paths | Archive escapes, validation bypass, resource ampl |
Related Skills
Fastapi Review
Review a FastAPI application for architecture, async correctness, dependency injection, Pydantic schemas, secu
Security Defense in Depth
Implement multi-layered testing and security best practices.
Security SecLists Official Repository
[OWASP Testing Guide](https://owasp.org/www-project-web-security-testing-guide/)
Security Threat Hunting with Sigma Rules
Use Sigma detection rules to hunt for threats and analyze security events
Security Maintenance Walkthrough - 2026-03-29
- Re-triaged the full 2026-03-15 security finding set against current `main` and wrote a fresh current-head re
Security Google Workspace Model Armor
Filter user-generated content for safety
Security Related Agents
Django Reviewer
Expert Django code reviewer specializing in ORM correctness, DRF patterns, migration safety, security misconfi
Token Auditor
Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces d
Gitnexus Security Boundary Reviewer
GitNexus security and trust-boundary reviewer. Use for auth, permissions, secrets, injection, unsafe parsing,