audit_crypto_usage
Scan source code and configuration text to detect hardcoded keys, weak algorithms, insecure modes, and other cryptographic vulnerabilities with CWE mappings.
Instructions
Scan text or code for cryptographic security issues.
Detects hardcoded keys, weak algorithms, insecure modes (ECB), missing key derivation, disabled certificate validation, insecure TLS versions, and more. Maps findings to CWE IDs.
Args: text: Source code, configuration, or documentation text to audit output_format: Output format - "json" (default) or "sarif" for CI/CD integration
Returns: JSON audit report with findings, CWE mappings, and remediation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| output_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |