frontend_validateAll
Scan frontend code for critical violations that block deployments: hardcoded addresses, outdated hooks, dangerous configs, and security issues. Audit to fix before deployment.
Instructions
Scan entire frontend for ALL critical rule violations.
This tool performs a comprehensive scan of your frontend code for:
CRITICAL (would block writes):
Hardcoded contract addresses (use useDeployedContractInfo instead)
Raw wagmi hooks (use scaffold-eth hooks)
Infinite token approvals (security risk!)
Old hook names (useScaffoldContractRead → useScaffoldReadContract)
Dangerous config changes (onlyLocalBurnerWallet: false)
WARNINGS (non-blocking):
Inline ABI definitions (should use deployedContracts/externalContracts)
Generic hardcoded addresses (may be intentional)
Use this tool to audit your codebase before deployment or to find existing issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative path to scan (default: 'packages/nextjs') | |
| includeWarnings | No | Include warning-level issues in results (default: true) |