audit_security_vulnerabilities
Audit code snippets for hardcoded secrets, SQL/Command injection, weak CORS, missing sanitization, and insecure JWT usage to identify and fix security risks.
Instructions
Performs defensive security audits on code snippets to detect hardcoded secrets/API keys, SQL/Command injection risks, weak CORS headers, missing sanitization, and insecure JWT usage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code_snippet | Yes | Code snippet or file content to audit for security risks | |
| language_or_framework | No | Language or framework (e.g., 'JavaScript', 'Python', 'SQL', 'React', 'Express') |