mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-07 03:00:29 +00:00
Two-layer detection: Shannon entropy on high-entropy alphanumeric tokens (threshold 4.5) and gitleaks v8.22.1 pattern matching (202 rules) with Aho-Corasick keyword pre-filtering. JSONL-aware redaction skips exempt fields (IDs, paths) and image objects. 43 tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Entire-Checkpoint: 9e8476d16412
20 lines
367 B
TOML
20 lines
367 B
TOML
[package]
|
|
name = "redact"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
license.workspace = true
|
|
description = "Secret detection and redaction for log output"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
regex.workspace = true
|
|
aho-corasick.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
[build-dependencies]
|
|
toml = "0.8"
|
|
serde = { workspace = true }
|
|
|
|
[dev-dependencies]
|