You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: shared shape-detector ruleset with uteke for unknown secrets #597
Known-value redaction cannot catch secrets tole never knew (pasted by the owner, printed by a command). uteke already maintains a precision-first detector on its write path (crates/uteke-core/src/privacy.rs: AWS, GitHub, npm, Slack, Google keys, bearer, JWT, URL passwords, NAME=value with entropy checks, allowlist, idempotent). Two copies would drift.
The uteke side is done: codecoradev/uteke#1732 landed and uteke-privacy 0.24.0 is published on crates.io (uteke v0.24.0).
API: uteke_privacy::redact(&str, &Policy) -> Redacted { text, counts }; the allowlist is compile_allowlist / Policy::from_patterns. The masked form is [REDACTED:<kind>] as before.
The crate depends on regex only (optional serde feature); no IO, no storage, no uteke-core.
uteke-core re-exports it from uteke_core::privacy with the same rules and tests.
v0.24.0 also carries three detector fixes found in the release review (a work bound on the private-key scan, non-ASCII passwords, sk-ant- keys; uteke#1772, #1773, #1774), so wire 0.24.0 rather than an earlier build.
What is left here is the wiring into SecretSet after known-value redaction and the shared-allowlist path for false positives.
Activity
ajianaz commentedon Nov 14, 2026
The uteke side is done: codecoradev/uteke#1732 landed and
uteke-privacy0.24.0 is published on crates.io (uteke v0.24.0).uteke_privacy::redact(&str, &Policy) -> Redacted { text, counts }; the allowlist iscompile_allowlist/Policy::from_patterns. The masked form is[REDACTED:<kind>]as before.regexonly (optionalserdefeature); no IO, no storage, nouteke-core.uteke_core::privacywith the same rules and tests.sk-ant-keys; uteke#1772, #1773, #1774), so wire 0.24.0 rather than an earlier build.What is left here is the wiring into
SecretSetafter known-value redaction and the shared-allowlist path for false positives.Generated by Claude Code
fix(secrets): anchor marker allowance, mask JSON fields by name, reco…
fix(secrets): per-call alphanumeric marker stand-in, never skipped (#597
fix(secrets): swap every known marker whatever its name, restore in o…
perf(secrets): sort the known markers once; pin longest-first (#597)