mcp-hub: redact api_key from redmine_whoami #233

Merged
founder merged 1 commit from hub-redact-redmine-api-key into main 2026-09-06 20:58:32 +00:00
Owner

Redmine's /users/current.json carries the caller's own api_key and redmine_whoami relayed it verbatim, so a resident's whoami call put its mapped Redmine credential into its own transcript. The hub is the credential boundary: redactRedmineCurrentUser drops the field before the payload is returned.

Found by the security-agent resident on its first task (Redmine #9). Companion: dispatch PR #12 (RedmineAPIClient.GetCurrentUser / key-store-redmine whoami redaction, merged). The security-agent Redmine API token is rotated on the forge (token deleted, bootstrap re-run).

Check: bun x tsc --noEmit clean in services/mcp-hub.

Redmine's `/users/current.json` carries the caller's own `api_key` and `redmine_whoami` relayed it verbatim, so a resident's whoami call put its mapped Redmine credential into its own transcript. The hub is the credential boundary: `redactRedmineCurrentUser` drops the field before the payload is returned. Found by the security-agent resident on its first task (Redmine #9). Companion: dispatch PR #12 (`RedmineAPIClient.GetCurrentUser` / `key-store-redmine whoami` redaction, merged). The security-agent Redmine API token is rotated on the forge (token deleted, bootstrap re-run). Check: `bun x tsc --noEmit` clean in `services/mcp-hub`.
mcp-hub: redact api_key from redmine_whoami
Some checks failed
Deploy: API / Deploy (API) (push) Failing after 3s
Release: If Needed / Check (Release Needed) (push) Successful in 8s
Deploy: Web / Deploy (Web) (push) Failing after 56s
918feb94f4
Redmine's /users/current.json carries the caller's own api_key and the hub
relayed it verbatim, so a resident's whoami call put its mapped Redmine
credential into its own transcript. The hub is the credential boundary:
drop the field before returning the payload. Found by the security-agent
resident on its first task (Redmine #9); the dispatch client got the same
redaction (dispatch PR #12) and the security-agent key is rotated.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
founder deleted branch hub-redact-redmine-api-key 2026-09-06 20:58:32 +00:00
Sign in to join this conversation.
No labels
No milestone
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
key-store/key.store!233
No description provided.