Development Workflow

Check for known security issues:

  • Review your contracts with Slitherarrow-up-right. It has more than 70 built-in detectors for common vulnerabilities. Run it on every check-in with new code and ensure it gets a clean report (or use triage mode to silence certain issues).

Consider special features of your contract:

Visually inspect critical security features of your code:

Document critical security properties and use automated test generators to evaluate them:

Finally, be mindful of issues that automated tools cannot easily find:

  • Lack of privacy: everyone else can see your transactions while they're queued in the pool

  • Front running transactions

  • Cryptographic operations

  • Risky interactions with external DeFi components

Last updated