Automated Security Patcher
Remediates validated security vulnerabilities using minimal diffs, safe API patterns, and mandatory verification loops.
The Patcher skill provides a structured framework for Claude to identify, fix, and verify security vulnerabilities within a codebase. It implements a rigorous iteration loop that includes querying knowledge graphs for validated findings, designing minimal-impact fixes using safe API patterns—such as parameterized queries or shell=False—and ensuring every patch is verified against a Proof of Concept (PoC). By enforcing standardized diff styles and conventional commit messages, it helps developers maintain a secure and clean repository while minimizing the risk of introducing regressions or unnecessary code changes.
Key Features
01Iterative patch generation and verification loop with up to three attempts.
02Automated regression test integration to ensure system stability.
03Mandatory patch_verify check to confirm PoC failure post-remediation.
04Standardized remediation patterns for common vulnerabilities like SQLi, SSRF, and XSS.
051 GitHub stars
06Minimal diff generation policy to ensure surgical, low-risk code fixes.
Use Cases
01Automating the remediation of findings from static and dynamic security audit tools.
02Securing legacy codebases against path traversal and injection attacks using safe API alternatives.
03Standardizing security fix patterns and commit documentation across large engineering teams.