analyze_headers
Analyze a web application's HTTP security headers to identify missing protections, detect information disclosure, and receive actionable hardening recommendations.
Instructions
Analyze HTTP security headers for a web application.
Checks for the presence and correctness of critical security headers and flags information disclosure headers that should be removed.
Args: url: Target URL to analyze. follow_redirects: Follow HTTP redirects to the final destination. timeout_seconds: HTTP request timeout in seconds.
Returns: Security header analysis with scores, grades, and recommendations.
Note: - Uses httpx directly (no subprocess). Pure Python implementation. - Performs a single GET request to the target URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| timeout_seconds | No | ||
| follow_redirects | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||