T09 · Insecure Skill Coding Practices
- Location
SKILL.md:131- Finding
Unlimited ERC-20 Allowance Exceeds the Required Deposit Amount
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent Orderly deposit and withdrawal guide, but one deposit example grants persistent unlimited token-spending permission without clear warnings or safer defaults.
Review this skill carefully before using its examples with real funds. Prefer exact-amount ERC-20 approvals, verify contract and destination addresses from trusted Orderly sources, confirm the chain ID before signing, and revoke unused allowances after deposits.
SKILL.md:131Unlimited ERC-20 Allowance Exceeds the Required Deposit Amount
The skill includes a deposit flow that approves the vault with ethers.MaxUint256 and provides withdrawal examples using destination addresses, but it does not prominently warn about the risks of unlimited ERC20 allowances or irreversible transfers to the wrong address. In a fund-movement skill, this omission is security-relevant because users may copy the example directly, leaving excessive token spending authority in place or sending assets to an incorrect recipient with no recovery path.
No suspicious patterns detected.