token integration analyzer

Other Community

Skill notes

Purpose

Systematically analyzes the codebase for token-related security concerns using Trail of Bits' token integration checklist: Token Implementations: Analyze if your token follows ERC20/ERC721 standards or has non-standard behavior Token Integrations: Analyze how your protocol handles arbitrary tokens, including weird/non-standard tokens On-chain Analysis: Query deployed contracts for scarcity, distribution, and configuration

Phase 1: Context Discovery

Determines analysis context: Token implementation: Are you building a token contract? Token integration: Does your protocol interact with external tokens? Platform: Ethereum, other EVM chains, or different platform? Token types: ERC20, ERC721, or both?

Phase 2: Slither Analysis (if Solidity)

For Solidity projects, I'll help run: slither-check-erc - ERC conformity checks slither --print human-summary - Complexity and upgrade analysis slither --print contract-summary - Function analysis slither-prop - Property generation for testing

Phase 3: Code Analysis

Analyzes: Contract composition and complexity Owner privileges and centralization risks ERC20/ERC721 conformity Known weird token patterns

Phase 4: On-chain Analysis (if deployed)

If you provide a contract address, I'll query: Token scarcity and distribution Total supply and holder concentration Exchange listings On-chain configuration

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Other
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@trailofbits · no license declared
Token usage
Lean
Setup complexity
Guided setup
External API key
Not required
Operating systems
Unspecified (assume cross-platform)
Runtime requirements
No explicit requirements detected
Detected file/system behavior
  • Read-only
  • Shell exec
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview token-integration-analyzer.preview
# Example Output

When analysis is complete, you'll receive a comprehensive report structured as follows: ``` === TOKEN INTEGRATION ANALYSIS REPORT === Project: MultiToken DEX Token Analyzed: Custom Reward Token + Integration Safety Platform: Solidity 0.8.20 Analysis Date: March 15, 2024 ---

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.