23 security rules for Solidity and Anchor

These are the quick checks Chain Preflight runs everywhere: in the pre-deploy hook, the CLI, the GitHub Action and the in-browser checker. Each page explains why the pattern is dangerous, shows vulnerable and fixed code, and lists the matching detectors in Slither, Aderyn, Solhint and the Sealevel attacks catalogue. The analyzers add many more checks on top of these.

Solidity (EVM)

Anchor and Solana (Rust)

Any project

Machine-readable: rules.json.