trailofbits/building-secure-contracts
Smart contract security toolkit with vulnerability scanners for 6 blockchains
Open source
Description
building-secure-contracts is an agent skill from Trail of Bits that gives a coding assistant smart contract security guidance for six blockchain platforms. The skill collection holds 11 skills covering Algorand, Cairo, Cosmos, Solana, Substrate and TON. Each one surfaces the vulnerability patterns and checks for its platform from Trail of Bits' Building Secure Contracts framework, applied to the codebase you have open, so you do not have to cross-reference the published catalogues and checklists by hand. Listed uses include scanning a Solana or Anchor program for missing ownership checks and signer authorization problems, checking ERC20 token code for non-standard behaviour such as fee-on-transfer or rebasing, and preparing a contract codebase for a third-party security audit with a structured checklist. It is meant for developers and security reviewers who write or check smart contracts. You install it with the skills command from the trailofbits/skills repository, and the source is public on GitHub.…
Highlights
- 11 skills covering six blockchain platforms
- Platform-specific vulnerability patterns for Solana, Cairo, Cosmos and more
- Checks ERC20 tokens for fee-on-transfer and rebasing behaviour
- Structured checklist for preparing a codebase for audit
Ratings & Reviews
No ratings yet
Be the first to rate trailofbits/building-secure-contracts.
People also visit

guidelines-advisor
Smart contract development advisor based on Trail of Bits' best practices

solidity-security
Comprehensive smart contract security patterns, vulnerability prevention

solana-vulnerability-scanner
Scans Solana programs for 6 critical vulnerabilities including arbitrary CPI
trailofbits/building-secure-contracts FAQ
What does this skill do?
It gives your coding assistant Trail of Bits' smart contract security guidance for Algorand, Cairo, Cosmos, Solana, Substrate and TON, applied to the code you are working on.
How do I install it?
Run npx skills add https://github.com/trailofbits/skills --skill building-secure-contracts, or paste the repository link and ask your coding assistant to install it.
Who is it for?
Developers writing smart contracts or programs on the listed platforms, and teams getting a codebase ready for a third-party security audit.
Does it scan code by itself?
The page describes each skill as surfacing the relevant patterns and guidance for your codebase. It is used through your coding assistant.
Is it free?
The skill is in a public repository on GitHub and the page shows no price, so it is open source.
What are the best trailofbits/building-secure-contracts alternatives?
Popular alternatives to trailofbits/building-secure-contracts include guidelines-advisor, smart-contract-vulnerabilities and solidity-security. See all trailofbits/building-secure-contracts alternatives






