Leaked GitHub Token Scrubbing Procedure
- Entity ID:
ent-20260420-b01a0000001b - Type:
procedure - Scope:
shared - Status:
active - Aliases: .mcpregistry_github_token scrub, filter-branch OAuth scrub
Description
Rebuild procedure to resolve GitHub push protection rejection triggered by commits containing a GitHub OAuth token in .mcpregistry_github_token/.mcpregistry_registry_token (including mcp-server/-prefixed variants). Uses git filter-branch --index-filter 'git rm --cached --ignore-unmatch ...' --prune-empty HEAD~5..HEAD or an interactive rebase to amend each offending commit; then adds the filenames to .gitignore and commits a chore entry. Only documented token-leak remediation in the prompt series.
Key claims
- mcp-server ships as a separate TypeScript sub-project built with tsc
Relations
- Leaked GitHub Token Scrubbing Procedure --[applies_to]--> mcp-server Sub-Project