check_frontend_hijack
Inspect a live DeFi web application HTTPS URL and optional EIP-1967 proxy contract for supply-chain hijack indicators: missing Content-Security-Policy (CSP), external <script> tags lacking Subresource Integrity (integrity="sha384-..."), suspicious third-party domains, and EIP-1967 implementation slot state. Read-only inspection over HTTPS and EVM RPC (5 free calls/hour per IP or unlimited with X-API-Key). Returns JSON with url, hijack_risk_score (0-100), verdict (PASS, WARN, BLOCK), scripts_analyzed, missing_sri_count, and proxy_implementation.
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": "check_frontend_hijack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full `https://` URL of the DeFi web application frontend to inspect for script integrity and HTTP security headers (e.g. `https://app.uniswap.org`). | |
| proxy | No | Optional 42-character EVM EIP-1967 proxy contract address (`0x...`) to read its on-chain implementation slot (`0x360894...`). Leave empty to skip proxy check. | |
| network | No | EVM network for reading the optional EIP-1967 proxy contract (`base`, `ethereum`, `arbitrum`, `polygon`, `optimism`, `bsc`). Defaults to `base`. | base |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| verdict | Yes | ||
| hijack_risk_score | Yes |