The core documentation set for Sanctifier — the security and formal-verification suite for Stellar Soroban smart contracts. These pages are written as one coordinated body of work: shared structure, a consistent voice, and complete cross-linking, so a newcomer can adopt Sanctifier unaided.
New to Sanctifier and adding it to an existing project? Read in this order:
- Migration Guide — install, run a first scan, capture a baseline, and gate CI. The fastest path from zero to a working setup.
- CLI Reference — every command and flag. Auto-generated from the clap definitions and verified in CI, so it never drifts from the parser.
- Configuration Reference — every
.sanctify.tomlkey, its type, default, and precedence, with an annotated sample. - FAQ & Troubleshooting — answers to common questions plus an error → fix table (install, Z3/dbus, OOG, WASM, false positives).
- Glossary — 50 Soroban/Stellar security terms with stable anchors that findings and reports can deep-link to.
- Positioning — where Sanctifier fits relative to a manual audit and other tools, with an honest scope and limitations statement.
- Finding Codes — the
S001…S016codes emitted in CLI and JSON output. - Detector Catalog — one page per detector: what it catches, a vulnerable example, the fix, and references. Coverage is enforced in CI.
- Getting Started (detailed) — example output and finding-by-finding explanations.
- Detector Cookbook — three worked examples of custom detectors (trivial, medium, and data-flow).
- soroban-sdk Compatibility — the supported soroban-sdk versions, the CI compatibility matrix, and version-specific handling (including the toolchain pin).
- Source-Optional WASM Analysis — analyze a compiled
.wasmmodule directly withsanctifier wasm, and its documented limitations vs. source mode. - Talks & Workshops — ready-to-present slide deck and live-demo script for demonstrating Sanctifier at conferences and workshops.
- Awesome Soroban Security — curated external tools, audits, incidents, and learning resources.
- Differential Testing vs Slither/Aderyn — how Sanctifier's coverage compares to established EVM analyzers on overlapping checks, with the shared corpus, the overlap matrix, and follow-up gaps.
- Differential Testing vs other Soroban linters — the same-platform study vs Soroban-native analyzers (CoinFabrik Scout), a detector-for-detector overlap matrix, agreements/gaps, and follow-ups.
Migration ──▶ CLI Reference ──▶ Configuration
│ │ │
└──────────────┴───────┬──────────┘
▼
FAQ ◀──▶ Glossary
▲
Finding Codes
Every page links to the others, and findings deep-link into the
Glossary (e.g. glossary.md#require_auth) and
Finding Codes. If you change a command or flag, regenerate the
CLI reference so CI stays green:
cargo run -p sanctifier-cli -- generate-docs > docs/cli.md