security_sri_hash
Subresource Integrity (SRI) hash generator — Fetches a script or stylesheet URL and returns its Subresource Integrity hashes (sha256, sha384, sha512), a ready-to-paste script or link tag with integrity and crossorigin attributes, and checks that make SRI actually work: CORS header present, version-pinned URL, https, correct content type, redirects. Verdict OK or REVIEW with warnings. Optional algo= sha256 | sha384 (default) | sha512. Price: $0.002 USDC (Base, via x402).
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": {
"url": "<url>"
},
"name": "security_sri_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | script or stylesheet URL, e.g. https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js |