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').
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"harFilePath": "<harFilePath>"
},
"name": "secscan_scan_har"
}
}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 |