Technical Architecture

A multi-layered approach to secret detection with enterprise-grade performance.

5-Layer Scanner Architecture

Each layer adds context and confidence to secret detection, reducing false positives while maintaining comprehensive coverage.

1

Pattern Matching

Regex-based detection across 354+ patterns covering 50+ providers.

AWS, Azure, GCP credentialsPayment APIs (Stripe, PayPal)Database connection stringsAPI keys and tokens
2

Entropy Analysis

Shannon entropy calculation to identify high-randomness strings.

Distinguishes real secrets from placeholdersConfigurable thresholdsMemoized for performance
3

Structural Analysis

Context-aware analysis of surrounding code structure.

Assignment context detectionEnvironment file parsingConfiguration file analysis
4

Cross-File Detection

Correlation of secrets across multiple files and environments.

Prod vs. staging detectionSecret reuse identificationImport/export tracking
5

Historical Analysis

Git history analysis for secret exposure timeline.

First commit detectionAuthor attributionBranch tracking

DACD Confidence Engine

Dynamic Adversarial Confidence Decay - Our 7-factor confidence calculation system.

Confidence Factors

Pattern Confidence

Base pattern match quality

30%
Structural Confidence

Code context analysis

20%
Verification Confidence

API verification result

20%
Entropy Confidence

Shannon entropy analysis

15%
Cross-File Confidence

Multi-file correlation

10%
Historical Confidence

Git history signals

5%

ML Adjustment: Advisory-only with hard ±5% cap. Human decisions always take precedence.

Performance Benchmarks

Built for speed without compromising accuracy.

10,000+ lines/sec
Throughput

On typical codebases

<500MB
Memory Usage

For 10K signals

<100ms
Startup Time

Pattern loading

<1ms
Signal Processing

Per signal in DACD engine

What Runs Where

Clear boundaries between local and cloud operations.

Runs Locally

  • All 5 scanning layers
  • Pattern matching
  • Entropy calculation
  • Structural analysis
  • Cross-file detection
  • Report generation

Cloud (Opt-in Only)

  • API verification (Pro)
  • Team dashboard sync
  • Audit log archival
  • Plugin webhooks
  • Usage analytics

See It In Action

Download the CLI and experience the architecture firsthand.

Get Started Free