cors_test
Audit a URL for CORS misconfigurations across several origins: wildcard with credentials, reflected origin, null origin, subdomain bypass, missing Vary. Returns risk level (safe/low/medium/high/critical) plus per-origin results. "unknown" means nothing was tested: every origin failed to connect, answered 5xx, or was refused with no CORS header (a 404, a firewall); never read it as "safe".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL to test (e.g. https://api.example.com/endpoint) | |
| origin | No | Custom Origin header to test (default: tests multiple origins automatically) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| error | No | ||
| tests | No | ||
| warning | No | ||
| risk_level | No | ||
| origins_tested | No | ||
| total_findings | No | ||
| origins_reachable | No | ||
| origins_conclusive | No | ||
| origins_inconclusive | No |