preflight_tx_firewall
Stage 1 Free ($0.00) pre-sign security firewall evaluating EVM transaction risks, calldata decoding, unlimited token approvals, Permit2 signatures, EIP-712 typed data phishing, Indirect Prompt Injections in untrusted calldata/descriptions, and simulated state changes via eth_call. Returns JSON with verdict (ALLOW, BLOCK, MANUAL_REVIEW), risk_score (0.0-10.0), reasons, and simulation details.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "preflight_tx_firewall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calldata | No | Hex transaction calldata | 0x |
| chain_id | No | EVM Chain ID (default: 8453 for Base Mainnet) | |
| value_wei | No | Transaction value in Wei | |
| to_address | No | Target contract or recipient EVM address | |
| from_address | No | Optional sender EVM address | |
| run_simulation | No | Whether to run eth_call simulation on chain | |
| target_address | No | Alias for to_address | |
| untrusted_text | No | Optional untrusted text or proposal description to scan for prompt injection | |
| eip712_typed_data | No | Optional EIP-712 typed data dictionary to inspect before signing |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| stage | Yes | ||
| reasons | Yes | ||
| summary | No | ||
| verdict | Yes | ||
| cost_usd | No | ||
| risk_score | Yes | ||
| llm_invoked | No | ||
| approval_risks | No | ||
| flagged_issues | Yes | ||
| eip712_findings | No | ||
| prompt_injection_detected | No |