token-integration-analyzer

仓库创建 2026年1月15日最近提交 7 天前SkillHot 收录 20 天前
▸ 精选理由

结合实现与协议集成视角,能发现非标准或被误用的代币逻辑

▸ 风险提示

会访问合约源码与链上数据,某些分析可能调用外部 API 或工具

这个 Skill 做什么

分析代币实现与集成,检查 ERC 标准符合性及 20+ 异常代币模式

帮你把代币合约和对代币的集成流程一网打尽地检查一遍:确认 ERC20/ERC721 的合规性,识别 20+ 类奇怪代币行为,评估合约组成、所有者权限和链上稀缺性。适合在发行代币、做安全审计或把第三方代币接入协议时用。特别之处是既能看代币实现又能看协议如何处理非标准代币,基于 Trail of Bits 的检查表,有很强的上下文感知能力。

▸ 展开 SKILL.md 英文原文

Token integration and implementation analyzer based on Trail of Bits' token integration checklist. Analyzes token implementations for ERC20/ERC721 conformity, checks for 20+ weird token patterns, assesses contract composition and owner privileges, performs on-chain scarcity analysis, and evaluates how protocols handle non-standard tokens. Context-aware for both token implementations and token integrations.

垂直行业代币安全ERC20/ERC721合约合规稀缺性分析通用
6.3k
Stars
542
Forks
40
仓库内 Skill
+270
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/trailofbits/skills/main/plugins/building-secure-contracts/skills/token-integration-analyzer/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/trailofbits/skills/main/plugins/building-secure-contracts/skills/token-integration-analyzer/SKILL.md"
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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有