scan_web_snippet
Audit HTML snippets and third-party script tags for missing Subresource Integrity, plaintext http:// script loads, and exposed secrets to support PCI DSS v4.0.1 checks.
Instructions
Audit an HTML snippet or third-party tags against PCI DSS v4.0.1 Subresource Integrity (Req 6.4.3 / 11.6.1), plaintext http:// script loading, and exposed secrets.
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": {
"html_snippet": "<html_snippet>"
},
"name": "scan_web_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sarif | No | When true, includes a SARIF 2.1.0 report block for CI security gates. | |
| html_snippet | Yes | HTML fragment or list of <script> tags to inspect for SRI/TLS hygiene. |