openssf-python-review
Installation
SKILL.md
OpenSSF Python Review
Use this skill for manual Python review when the result needs OpenSSF Python rule coverage plus the evidence standard of the local OWASP and CWE review skills. Prefer a narrower framework or platform skill when one clearly fits; use this skill to drive Python-specific adversarial review and to make recovered-source uncertainty explicit.
Review Principles
- Start from architecture, trust boundaries, attacker-controlled inputs, sensitive assets, privilege levels, and Python runtime assumptions.
- Treat OpenSSF rules as coverage prompts and root-cause clues, not as proof. Confirm a reachable path before reporting a finding.
- Prioritize paths that cross trust zones or reach code execution, deserialization, query execution, archive extraction, filesystem, import resolution, secrets, authorization, logs, error output, randomness, and shared state.
- Assume attackers will exploit alternate encodings, malformed archives, crafted object state, client-controlled identity fields, poisoned environment variables, thread timing, exceptional control flow, and recovered-source gaps.
- Distinguish confirmed vulnerabilities from suspicious patterns, hardening opportunities, and unanswered questions.
- For recovered source, separate what is visible in code from what may be missing because of decompilation, packaging, generated wrappers, native extensions, or absent deployment configuration.
- Use the guide's linked CWE as an initial mapping candidate. Validate the primary CWE with the local
cwe-code-reviewskill when precise mapping matters or when the guide's CWE is broader than the proven root cause. - Always create or update one standalone
poc_<finding_slug>.pyartifact per confirmed finding in the review workspace.