Log scrubber: redact rma_ API keys and tk_ Vikunja tokens #84

Closed
opened 2026-11-13 00:56:29 +00:00 by jfro · 0 comments
Owner

Found in the v1.6.1 audit (below high, defense in depth).

lib/rm_analyzer/log_scrubber.ex redacts JWTs and sk-ant- keys, but not rM-Analyzer's own rma_ API keys (MCP) or tk_ Vikunja tokens. Neither is logged anywhere today, so there's no live leak; this is so a future log line can't leak one.

Fix: add patterns for rma_… and tk_… tokens, with tests showing they're redacted in log output.

Found in the v1.6.1 audit (below high, defense in depth). `lib/rm_analyzer/log_scrubber.ex` redacts JWTs and `sk-ant-` keys, but not rM-Analyzer's own `rma_` API keys (MCP) or `tk_` Vikunja tokens. Neither is logged anywhere today, so there's no live leak; this is so a future log line can't leak one. Fix: add patterns for `rma_…` and `tk_…` tokens, with tests showing they're redacted in log output.
jfro added this to the v1.6.1 milestone 2026-11-13 00:56:29 +00:00
jfro closed this issue 2026-11-13 03:15:01 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfro/rm-analyzer#84
No description provided.