This file maintains an audit trail of all security findings that have been reviewed and determined to be false positives or acceptable risks.
Maintainers: @security-team Last Updated: [DATE] Review Frequency: Quarterly
When adding a new entry, use this structure:
## [FP-XXX] Brief Title of Finding
### Detection Details
- **Tool**: (Slither / Cargo Audit / Clippy)
- **Rule**: (specific detector/rule name)
- **Severity**: (Critical / High / Medium / Low)
- **Location**: (file path and line numbers)
- **Date Detected**: (YYYY-MM-DD)
- **Detection ID**: (unique reference if available)
### Code Pattern[code snippet that triggered the finding]
### Root Cause Analysis
[Explanation of why the tool flagged this code]
**However**, this is a **false positive** because:
1. [First reason why it's safe]
2. [Second reason]
3. [Third reason if applicable]
### Mitigation Evidence
- **Test Case**: [link to test file]
- **Reference Implementation**: [link to safe pattern]
- **Additional Context**: [any supporting documentation]
### Decision
✅ **Status**: ACCEPTED (False Positive) | EXCLUDED (Style Issue) | FLAGGED (Real Issue)
**Reasoning**: [Brief explanation of decision]
**Approved By**: @github-handle (YYYY-MM-DD)
**Approval Link**: [Link to PR discussion or issue]
### Follow-up Actions
- [ ] Add inline code comment with suppression
- [ ] Reference this FP document in code
- [ ] Update slither.config.json if needed
- [ ] Add test coverage (if applicable)
---
- Tool: Slither
- Rule: reentrancy-eth
- Severity: High
- Location:
contracts/vault/src/lib.rs(lines 145-156) - Date Detected: 2024-01-10
- Status: TEMPLATE - Please replace with actual entries
🔄 Status: PENDING REVIEW (This is a template entry)
[Your team should populate this with actual findings]
Use this section if a previous false positive becomes a real issue:
Status:
| Category | Count |
|---|---|
| Active False Positives | 0 |
| Excluded (Style/Info) | 0 |
| Revoked (Now Active Issues) | 0 |
| Total Reviewed | 0 |
- Add your first false positive entry using the template above
- Link test coverage in "Mitigation Evidence"
- Tag security team for approval
- Update slither.config.json with exclusions
- Update statistics in the table above
Document Version: 1.0 Created: 2024-01-15 For process details, see: docs/FALSE_POSITIVE_HANDLING.md