Sanctifier now uses a unified finding code system across sanctifier-core and sanctifier-cli outputs.
| Code | Category | Meaning |
|---|---|---|
S001 |
authentication | Missing authentication guard in a state-mutating function |
S002 |
panic_handling | panic! / unwrap / expect usage that may abort execution |
S003 |
arithmetic | Unchecked arithmetic with overflow/underflow risk |
S004 |
storage_limits | Ledger entry size exceeds or approaches configured limits |
S005 |
storage_keys | Potential storage key collision |
S006 |
unsafe_patterns | Potentially unsafe language/runtime pattern |
S007 |
custom_rule | User-defined custom rule match |
- Text output from
sanctifier analyze - JSON report output under:
error_codes(full mapping table)- each item inside
findings.*ascode