143 `.unwrap()` calls in `src/` (non-test). A panic during a scan is a bad look for a security tool.
Approach
- Triage by blast radius: scan-path code (parsing, rule matching, reporting) is highest priority
- Replace with `.ok()`, `.unwrap_or_default()`, or propagate with `?` as appropriate
- Leave `.unwrap()` where the invariant is truly guaranteed and add a comment explaining why
- Not a blanket replace — each site needs judgment
143 `.unwrap()` calls in `src/` (non-test). A panic during a scan is a bad look for a security tool.
Approach