Noise Reduction
PremiumSecurity scanners generate hundreds of findings. Noise reduction helps you focus on what matters by deduplicating findings and filtering out low-priority issues.
The Problem
100+
Findings per scan
80%
Are duplicates
Alert
Fatigue
How It Works
1. Fingerprinting
Every finding gets a unique, stable fingerprint based on its key attributes:
| Scan Type | Fingerprint Components |
|---|---|
| SAST | rule_id + file_path + line_number |
| CSPM | check_id + resource_id + region |
| DAST | rule_id + URL + parameter |
| Runtime | title + resource_id + resource_type |
2. Tracking States
Each finding can be in one of four states:
openโacknowledgedโignoredโfixed
Acknowledged = tracked but won't alert | Ignored = false positive
Deduplication Commands
# View deduplication stats
$ codephreak dedup
Deduplication Stats
โโโโโโโโโโโโโโโโโณโโโโโโโโ
โ Status โ Count โ
โกโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Open โ 15 โ
โ Acknowledged โ 42 โ
โ Ignored โ 8 โ
โ Fixed โ 23 โ
โ Total โ 88 โ
โโโโโโโโโโโโโโโโโดโโโโโโโโ
# Acknowledge a finding (won't alert, but still tracked)
$ codephreak dedup a1b2c3d4 --action acknowledge
โ
Acknowledged: a1b2c3d4
# Mark as false positive
$ codephreak dedup a1b2c3d4 --action ignore
๐ Ignored: a1b2c3d4
# Reopen a finding
$ codephreak dedup a1b2c3d4 --action reopen
๐ Reopened: a1b2c3d4Noise Filter Configuration
Configure filtering rules in your codephreak.yml:
# codephreak.yml
noise_reduction:
# Minimum severity to report
min_severity: high # Only critical + high
# Paths to exclude
exclude_paths:
- node_modules/*
- vendor/*
- "*.test.js"
- "*.spec.ts"
- __tests__/*
# Rules to exclude (too noisy or false positives)
exclude_rules:
- generic-api-key
- hardcoded-password-default
- insecure-randomData Flow
Scan Results: 100 findings
โ NoiseFilter
After filtering: 50 findings
removed low severity, test filesโ DeduplicationEngine
New findings: 12
skipped acknowledged/ignoredLocal Storage
Finding history is stored locally at:
~/.codephreak/findings_db.jsonThis allows deduplication to work across scans without requiring a server connection.
Benefits
Before
- โข 100+ alerts every scan
- โข Same finding every week
- โข No way to mark false positives
- โข Alert fatigue
After
- โข Only new, actionable findings
- โข Acknowledged findings stay quiet
- โข False positives marked as ignored
- โข Focus on what matters