token-integration-analyzer

Installation
Summary

Comprehensive token security analyzer checking ERC20/ERC721 conformity, 24+ weird token patterns, and integration safety.

  • Analyzes both token implementations and protocol integrations across 10 assessment categories, including contract composition, owner privileges, and on-chain scarcity
  • Detects 24+ known weird token patterns (fee-on-transfer, missing return values, reentrant hooks, pausable tokens, blocklists, and more) with specific code evidence
  • Integrates Slither analysis for ERC conformity checks, complexity assessment, and property-based testing when Solidity code is available
  • Queries deployed contracts for holder distribution, exchange listings, and configuration risks; includes rationalizations to prevent common analysis shortcuts
  • Delivers prioritized recommendations (CRITICAL/HIGH/MEDIUM/LOW) with specific fixes and safe transfer patterns for defensive integration
SKILL.md

Token Integration Analyzer

Purpose

Systematically analyzes the codebase for token-related security concerns using Trail of Bits' token integration checklist:

  1. Token Implementations: Analyze if your token follows ERC20/ERC721 standards or has non-standard behavior
  2. Token Integrations: Analyze how your protocol handles arbitrary tokens, including weird/non-standard tokens
  3. On-chain Analysis: Query deployed contracts for scarcity, distribution, and configuration
  4. Security Assessment: Identify risks from 20+ known weird token patterns

Framework: Building Secure Contracts - Token Integration Checklist + Weird ERC20 Database


How This Works

Phase 1: Context Discovery

Determines analysis context:

Related skills
Installs
2.4K
GitHub Stars
5.1K
First Seen
Jan 19, 2026