Token Integration Analyzer
Analyze ERC20/ERC721 token implementations and integrations against Trail of Bits' token integration checklist. Checks conformity, 20+ weird-token patterns, owner privileges, and how protocols handle non-standard tokens.
Integrating arbitrary tokens is a notorious source of DeFi exploits. This skill applies Trail of Bits' token integration checklist — fee-on-transfer, rebasing, missing return values, reentrancy, owner backdoors, and 20+ other weird patterns — to both token implementations and the protocols that consume them.
When to use
Use when auditing an ERC20/ERC721 implementation for conformity, or when reviewing how a DeFi protocol handles non-standard and malicious tokens.
Examples
Vet a token integration
Check for weird-token pitfalls
Analyze how this lending protocol handles non-standard tokens like fee-on-transfer and rebasing
Audit a token
Check ERC20 conformity and owner power
Audit this ERC20 implementation for conformity issues and dangerous owner privileges