analyze_hook
Run static analysis and security rule engine on Hooks WASM bytecode to detect vulnerabilities and return SARIF-lite findings.
Instructions
THE MOAT: run the Hook static-analysis / security rule engine over a CreateCode WASM (+ optional SetHook params) and return SARIF-lite findings. The first Hooks-specific analyzer. Offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | No | ||
| grants | No | ||
| hookOn | No | ||
| wasmHex | No | ||
| namespace | No | ||
| parameters | No | ||
| wasmBase64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| valid | No | ||
| decoded | No | ||
| summary | No | ||
| findings | No |