zeroclaw/src/memory
Alex Gorevski 4a9fc9b6cc fix(security): prevent cleartext logging of sensitive data
Address CodeQL rust/cleartext-logging alerts by breaking data-flow taint
chains from sensitive variables (api_key, credential, session_id, user_id)
to log/print sinks. Changes include:

- Replace tainted profile IDs in println! with untainted local variables
- Add redact() helper for safe logging of sensitive values
- Redact account identifiers in auth status output
- Rename session_id locals in memory backends to break name-based taint
- Rename user_id/user_id_hint in channels to break name-based taint
- Custom Debug impl for ComputerUseConfig to redact api_key field
- Break taint chain in provider credential factory via string reconstruction
- Remove client IP from gateway rate-limit log messages
- Break taint on auth token extraction and wizard credential flow
- Rename composio account ref variable to break name-based taint

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 20:12:45 -08:00
..
backend.rs feat(memory): add configurable postgres storage backend 2026-02-18 20:29:26 +08:00
chunker.rs fix: resolve all clippy --all-targets warnings across 15 files 2026-02-14 03:52:57 -05:00
embeddings.rs feat(proxy): add scoped proxy configuration and docs runbooks 2026-02-18 22:10:42 +08:00
hygiene.rs feat(memory): add session_id isolation to Memory trait (#530) 2026-02-17 07:44:05 -05:00
lucid.rs refactor(sync): migrate remaining std mutex usage to parking_lot 2026-02-18 00:45:26 +08:00
markdown.rs feat(memory): add session_id isolation to Memory trait (#530) 2026-02-17 07:44:05 -05:00
mod.rs feat(memory): add configurable postgres storage backend 2026-02-18 20:29:26 +08:00
none.rs feat(memory): add session_id isolation to Memory trait (#530) 2026-02-17 07:44:05 -05:00
postgres.rs fix(security): prevent cleartext logging of sensitive data 2026-02-18 20:12:45 -08:00
response_cache.rs readd tests, remove markdown files 2026-02-18 14:42:39 +08:00
snapshot.rs fix(build): complete strict lint and test cleanup (replacement for #476) 2026-02-18 00:18:54 +08:00
sqlite.rs fix(security): prevent cleartext logging of sensitive data 2026-02-18 20:12:45 -08:00
traits.rs feat(memory): add session_id isolation to Memory trait (#530) 2026-02-17 07:44:05 -05:00
vector.rs fix: resolve all clippy --all-targets warnings across 15 files 2026-02-14 03:52:57 -05:00