mcp-hub: redact api_key from redmine_whoami #233
No reviewers
Labels
No labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
key-store/key.store!233
Loading…
Reference in a new issue
No description provided.
Delete branch "hub-redact-redmine-api-key"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Redmine's
/users/current.jsoncarries the caller's ownapi_keyandredmine_whoamirelayed it verbatim, so a resident's whoami call put its mapped Redmine credential into its own transcript. The hub is the credential boundary:redactRedmineCurrentUserdrops 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 whoamiredaction, merged). The security-agent Redmine API token is rotated on the forge (token deleted, bootstrap re-run).Check:
bun x tsc --noEmitclean inservices/mcp-hub.