web_security_audit
When: a public site or API is about to ship, or a CORS call fails in the browser. Gives: headers (CSP, HSTS…), TLS certificate of the port the URL names, CORS policy and cookie flags, in parallel, one grade capped by the weakest link (an unmeasured check is listed, never counted as passing); checks runs only some; headers grades a pasted response header block for a server this one cannot reach; origin (+ method, request_headers, credentials) answers whether a page on that origin may call the URL, as the browser would decide. Optional AI review with model (BYOK). Does not prove: anything about application logic, authentication or server-side vulnerabilities.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "https://www.ia-qa.com",
"checks": [
"headers",
"ssl"
]
},
"name": "web_security_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Full URL to audit. | |
| model | No | Groq model for the optional AI review (e.g. "openai/gpt-oss-20b"). Default "none": deterministic checks only, nothing sent to a model. | |
| checks | No | Default: all four. | |
| method | No | Method the page uses (default GET). | |
| origin | No | Origin of the calling page. | |
| api_key | No | Your Groq API key, used for this request only. Without it the server key is used, 10 reviews a day. | |
| headers | No | Pasted response headers (e.g. curl -sI output), instead of url. | |
| credentials | No | fetch with credentials: "include". | |
| request_headers | No | Header names the page sets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssl | No | ||
| url | No | ||
| cors | No | ||
| cookies | No | ||
| headers | No | ||
| ai_analysis | No | ||
| not_measured | No | ||
| overall_grade | No | ||
| overall_score | No | ||
| grade_capped_by | No |