token-integration-analyzer

Analyze smart contracts for token integration and implementation security risks.

1|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Ramprasad4121/srp --skill token-integration-analyzer-ramprasad4121
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: token-integration-analyzer
Source: https://github.com/Ramprasad4121/srp/tree/main/skills-repos/trailofbits/plugins/building-secure-contracts/skills/token-integration-analyzer
Command: npx skills add https://github.com/Ramprasad4121/srp --skill token-integration-analyzer-ramprasad4121

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires slither-analyzer, web3, ethers, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill systematically analyzes smart contracts for security vulnerabilities and non-standard behaviors related to token implementations and integrations, ensuring robust and safe tokenomics.

Core Features & Use Cases

  • Token Implementation Analysis: Checks ERC20/ERC721 conformity, identifies over 20 "weird token" patterns, and assesses contract composition.
  • Token Integration Analysis: Evaluates how protocols handle external tokens, including safety patterns and defensive measures.
  • On-chain Scarcity Analysis: Queries deployed contracts for supply distribution, holder concentration, and exchange listings.
  • Use Case: A DeFi protocol integrating multiple ERC20 tokens can use this Skill to ensure it correctly handles potential risks like fee-on-transfer tokens, missing return values, or reentrancy vulnerabilities before deployment.

Quick Start

Analyze the security of the ERC20 token contract located at './contracts/MyToken.sol'.

Frequently Asked Questions about token-integration-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit smart contracts for ERC20 and ERC721 token integration security risks?

Auditing smart contracts for token integration security risks involves analyzing ERC20 and ERC721 conformity, identifying non-standard token patterns, and evaluating contract composition. This process checks for vulnerabilities like fee-on-transfer issues and reentrancy before deployment.

What security vulnerabilities should I check when integrating fee-on-transfer tokens into a DeFi protocol?

When integrating fee-on-transfer tokens into a DeFi protocol, check for missing return values, reentrancy vulnerabilities, and non-standard transfer behaviors. Analyzing token integration security ensures protocols handle defensive measures against these specific weird token patterns.

Can Slither static analysis detect non-standard ERC20 token patterns in smart contracts?

Slither static analysis can detect non-standard ERC20 token patterns by evaluating contract composition and identifying over 20 known weird token behaviors. It checks for ERC20 and ERC721 conformity issues to ensure robust tokenomics.

How does on-chain scarcity analysis work for deployed tokens?

On-chain scarcity analysis works by querying deployed smart contracts using web3 queries to assess supply distribution, holder concentration, and exchange listings. This evaluates the actual on-chain state of tokens to identify potential market manipulation risks.

Does this token security audit check for owner privilege concerns in smart contract composition?

This token security audit checks for owner privilege concerns in smart contract composition by evaluating contract composition risks and implementation security. It identifies centralized control vulnerabilities and assesses defensive measures against unauthorized privilege escalation.

What is the best way to analyze token implementation security before deploying a DeFi protocol?

The best way to analyze token implementation security before deploying a DeFi protocol is to systematically evaluate ERC20 and ERC721 conformity, identify weird token patterns, and perform on-chain scarcity analysis. This ensures safe handling of external token integrations.