Severity
Medium — accidental credential disclosure through application logs and diagnostics.
Problem
FlapsProviderConfig derives Debug while containing a raw SDK key. The daemon Config also derives Debug while containing a database URL that may embed credentials. Current call sites may avoid logging them, but the public/debuggable types make future accidental disclosure easy.
Affected areas:
crates/flaps-client/src/provider.rs
crates/flapsd/src/config.rs
Acceptance criteria
Severity
Medium — accidental credential disclosure through application logs and diagnostics.
Problem
FlapsProviderConfigderivesDebugwhile containing a raw SDK key. The daemonConfigalso derivesDebugwhile containing a database URL that may embed credentials. Current call sites may avoid logging them, but the public/debuggable types make future accidental disclosure easy.Affected areas:
crates/flaps-client/src/provider.rscrates/flapsd/src/config.rsAcceptance criteria
Debugor use a dedicated secret wrapper.Debugor error output.