ReviewToolkits/cpython-security-toolkit

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.

This repository also configures its own agents. See what cpython-security-toolkit tells them →

1Stars on the repository
12Mods indexed here, across every type
1mo agoLast push, which is what freshness is scored on
customA LICENSE file GitHub cannot name, so bodies are not copied

audit-hook-coverage

01

ReviewToolkits/cpython-security-toolkit

Agent Claude Code

Detects file-loading paths that bypass sys.audit() hooks by using open() instead of io.opencode(), and shell-calling paths where validation occurs before template substitution. Invoke when scanning importlib, webbrowser, or venv.

not rated 1 1mo ago A 51 tokens

ReviewToolkits/cpython-security-toolkit

Agent Claude Code

Detects decompression paths that materialize unbounded output before applying a size check, and allocations whose size is directly controlled by attacker-supplied archive metadata. Invoke when scanning zipfile, tarfile, lzma, bz2, gzip, or plistlib.

not rated 1 1mo ago A 59 tokens

ReviewToolkits/cpython-security-toolkit

Agent Claude Code

Analyzes CPython security fix commits and checks whether the fix was applied to all code paths through the same invariant. The most important agent for preventing second-round CVEs. Invoke after identifying a security fix commit or when reviewing recent type-security labeled changes.

not rated 1 1mo ago A 57 tokens

traversal-detector

04

ReviewToolkits/cpython-security-toolkit

Agent Claude Code

Detects archive extraction paths that may write outside the destination directory. Invoke when scanning tarfile, zipfile, or shutil.unpackarchive for path traversal vulnerabilities.

not rated 1 1mo ago A 37 tokens

validation-coverage

05

ReviewToolkits/cpython-security-toolkit

Agent Claude Code

Detects security-sensitive value types where some assignment paths validate input but others do not. Specializes in the incomplete-fix pattern. Invoke when scanning http.cookies, wsgiref, urllib, or webbrowser for validation gaps.

not rated 1 1mo ago A 50 tokens

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: