Skip to main content

Building Secure Contracts

Plugin Verified Active
Part of:Trailofbits

Comprehensive smart contract security toolkit based on Trail of Bits' Building Secure Contracts framework. Includes vulnerability scanners for 6 blockchains and 5 development guideline assistants.

11 Skills 0 MCPs
Purpose

To enhance the security of smart contracts by providing specialized scanning tools and best practice guidance for multiple blockchain ecosystems.

Features

  • Vulnerability scanners for 6 blockchains
  • Development guideline assistants
  • Platform-specific analysis (Solana, Cairo, Cosmos, etc.)
  • Code maturity assessment
  • Audit preparation assistance

Use Cases

  • Auditing smart contracts before deployment
  • Reviewing existing code for security vulnerabilities
  • Improving smart contract development practices
  • Preparing codebases for formal security reviews

Non-Goals

  • Performing live network exploits
  • Replacing formal, human-led security audits
  • Analyzing non-smart contract code (e.g., general backend services)

Scope

  • info:Tool surface sizeThe plugin exposes 11 distinct skills, which is slightly more than the ideal range but manageable given their specialized security focus.

Installation

First, add the marketplace

/plugin marketplace add trailofbits/skills
/plugin install building-secure-contracts@trailofbits

Contains 11 extensions

Skill (11)

Algorand Vulnerability Scanner Skill

Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing field validations, and access control issues. Use when auditing Algorand projects (TEAL/PyTeal).

75
Audit Prep Assistant Skill

Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools, increases test coverage, removes dead code, ensures accessibility, and generates documentation (flowcharts, user stories, inline comments).

95
Cairo/StarkNet Vulnerability Scanner Skill

Scans Cairo/StarkNet smart contracts for 6 critical vulnerabilities including felt252 arithmetic overflow, L1-L2 messaging issues, address conversion problems, and signature replay. Use when auditing StarkNet projects.

95
Code Maturity Assessor Skill

Systematic code maturity assessment using Trail of Bits' 9-category framework. Analyzes codebase for arithmetic safety, auditing practices, access controls, complexity, decentralization, documentation, MEV risks, low-level code, and testing. Produces professional scorecard with evidence-based ratings and actionable recommendations.

75
Cosmos Vulnerability Scanner Skill

Scans Cosmos SDK blockchain modules and CosmWasm contracts for consensus-critical vulnerabilities — chain halts, fund loss, state divergence. 25 core + 16 IBC + 10 EVM + 3 CosmWasm patterns. Use when auditing custom x/ modules, reviewing IBC integrations, or assessing pre-launch chain security. Updated for SDK v0.53.x.

78
Guidelines Advisor Skill

Smart contract development advisor based on Trail of Bits' best practices. Analyzes codebase to generate documentation/specifications, review architecture, check upgradeability patterns, assess implementation quality, identify pitfalls, review dependencies, and evaluate testing. Provides actionable recommendations.

94
Secure Workflow Guide Skill

Guides through Trail of Bits' 5-step secure development workflow. Runs Slither scans, checks special features (upgradeability/ERC conformance/token integration), generates visual security diagrams, helps document security properties for fuzzing/verification, and reviews manual security areas.

75
Solana Vulnerability Scanner Skill

Scans Solana programs for 6 critical vulnerabilities including arbitrary CPI, improper PDA validation, missing signer/ownership checks, and sysvar spoofing. Use when auditing Solana/Anchor programs.

78
Substrate Vulnerability Scanner Skill

Scans Substrate/Polkadot pallets for 7 critical vulnerabilities including arithmetic overflow, panic DoS, incorrect weights, and bad origin checks. Use when auditing Substrate runtimes or FRAME pallets.

92
Token Integration Analyzer Skill

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.

78
Ton Vulnerability Scanner Skill

Scans TON (The Open Network) smart contracts for 3 critical vulnerabilities including integer-as-boolean misuse, fake Jetton contracts, and forward TON without gas checks. Use when auditing FunC contracts.

75

Quality Score

Verified
95 /100
Analyzed about 11 hours ago

Trust Signals

Last commit3 days ago
Stars5.2k
LicenseCC-BY-SA-4.0
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.