Scan HAR File for Security Issues
secscan_scan_harAnalyze HAR files from QA test automation for security issues: missing headers, insecure cookies, CORS misconfigurations, and leaked secrets, without sending live requests.
Instructions
Passively scans an existing HAR file (typically produced by QA test automation, e.g. Playwright's recordHar option) for security issues: missing security headers, insecure cookie flags, CORS misconfiguration, and more.
This tool does NOT send any network requests of its own — it only analyzes HTTP traffic that already happened, captured in the HAR file. Safe to run against any environment, including production.
Args:
harFilePath (string): Path to the .har file to scan.
response_format ('markdown' | 'json'): Output format (default: 'markdown').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| harFilePath | Yes | Path to a HAR (.har) file to scan, typically produced by Playwright's recordHar option or a browser DevTools export. | |
| response_format | No | Output format: 'markdown' for a human-readable summary, or 'json' for the full structured report. | markdown |