Detect ERC-20 approval pitfalls — approve race (front-run), missing safeApprove, infinite approvals, approval-without-revoke, Permit2 misuse, max-approval to untrusted contracts. Activate on approve, safeApprove, permit, forceApprove, Permit2, IERC20.allowance.
$npx -y skills add omermaksutii/rugproof --skill approval-issuesInstalls into the current project.
Run `npx skills use "https://github.com/omermaksutii/rugproof" --skill "omermaksutii/rugproof/approval-issues"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/omermaksutii/rugproof" that are relevant to the current task. Run `npx skills add "https://github.com/omermaksutii/rugproof"` and select the relevant skills, then follow their instructions.