scan_config_change
Compare before and after config files to detect security downgrades including CORS relaxation, CSP weakening, HSTS removal, debug mode, cookie changes, TLS disabling, new hardcoded secrets, and removed security headers.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| before | Yes | Previous config file content | |
| after | Yes | New config file content | |
| file_path | No | Config file path for context | config |
| format | No | Output format | json |