What problem does it solve?
This Skill performs a thorough code audit to identify and flag dead code, hardcoded secrets, resource leaks, race conditions, missing authentication, and security anti-patterns.
Core Features & Use Cases
- Dead Code Identification: Detects unreachable branches, uncalled functions, unused imports, and hollow-shell functions.
- Hardcoded Secrets Detection: Identifies API keys, tokens, passwords, and JWT secrets with literal fallback values.
- Resource Leak Detection: Finds memory leaks, file handle leaks, and other resource management issues.
- Race Condition Identification: Detects check-then-act asynchronous gaps, boolean flags used as locks, and shared mutable state.
- Authentication and Validation Checks: Ensures input validation, authentication, and rate limiting are properly implemented.
- Security Anti-Patterns Detection: Identifies non-constant-time secret comparison, template injection, logging secrets, and other security issues.
- Use Case: When reviewing code for security vulnerabilities, auditing codebases for quality and security, or identifying potential performance bottlenecks.
Quick Start
Run the ponytail-audit skill on your codebase to detect and report security vulnerabilities and other issues.