scan_config_change
Compare before/after config file versions to detect security downgrades like CORS relaxation, CSP weakening, or HSTS removal.
Instructions
Compare before/after versions of a config file to detect security downgrades: CORS relaxation, CSP weakening, HSTS removal, debug mode, cookie flag changes, TLS disabling, new hardcoded secrets, removed security headers.
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": {
"before": "<before>",
"after": "<after>"
},
"name": "scan_config_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | New config file content | |
| before | Yes | Previous config file content | |
| format | No | Output format | json |
| file_path | No | Config file path for context | config |