Secure Contracts
@secure-contracts.com
This repository, brought to you by Trail of Bits, outlines our guidelines and best practices to write secure smart contracts.
Secure Contracts's Company Logos
Secure Contracts's Brand Colors
Hex Code
Color name
RGB
HSL
CMYK
#20609F
Matisse
32, 96, 159
210, 66, 37
80, 40, 0, 38
#002463
Midnight Blue
0, 36, 99
218, 100, 19
100, 64, 0, 61
#8CCEF7
Malibu
140, 206, 247
203, 87, 76
43, 17, 0, 3
About Secure Contracts
Trail of Bits presents Building Secure Smart Contracts, an educational repository of guidelines, reference material, and practical exercises for developing and reviewing secure smart contracts. It supports developers and security engineers in assessing code maturity, applying high-level security practices, preparing for security reviews, planning incident response, and following a secure development workflow. A token integration checklist helps readers consider risks when interacting with non-standard ERC-20 tokens.
The material also explains core EVM concepts, including opcodes, transaction tracing, arithmetic checks, and upgrade or fork changes across Ethereum and compatible ecosystems. Its collection of “Not So Smart Contracts” examples highlights common vulnerabilities in platforms such as Algorand, Cairo, Cosmos, Solana, Substrate, Sui, and TON, with descriptions and recommendations.
For hands-on program analysis, the repository offers tutorials and exercises for Echidna and Medusa fuzzers, the Slither static analyzer, and the Manticore symbolic execution engine. Topics include writing properties, configuring tests, interpreting analysis results, and exploring execution paths.
Brand industry
Computers Electronics and Technology
Company type
Suggest company type
Year founded
Suggest founded year
Company size
Suggest company size