Skip to content

Security: Remove exposed GitHub personal access token from README.md#1

Merged
secretengineer merged 1 commit into
mainfrom
copilot/remove-exposed-token-readme
Dec 31, 2025
Merged

Security: Remove exposed GitHub personal access token from README.md#1
secretengineer merged 1 commit into
mainfrom
copilot/remove-exposed-token-readme

Conversation

Copilot AI commented Dec 31, 2025

Copy link
Copy Markdown
Contributor

A GitHub personal access token (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) was accidentally committed to README.md line 164 in commit 5509c22.

Status

Token already removed from current codebase:

  • Removed in commit 4b7b860 (README deletion)
  • Clean version restored in commit c46019a (163 lines)
  • No token present in any current files
  • PR branch based on clean main branch

Required Action

⚠️ Token remains in git history and must be revoked immediately via GitHub Settings → Developer settings → Personal access tokens.

Changes

No code changes required - fix already applied to main branch.

Original prompt

Problem

The README.md file contains an exposed GitHub personal access token on line 164 that needs to be removed immediately.

Task

Delete line 164 from the README.md file which contains:

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

Requirements

  • Remove only line 164 (the token line)
  • Keep all other content in the README.md intact
  • Preserve the formatting and structure of the rest of the file

File Location

  • File: README.md
  • Base commit: 5509c22837d6ceaa7807f64d25d8bcdfdd1614e3

Important Note

This is a security fix to remove an accidentally committed secret. The token should also be revoked separately through GitHub settings.

This pull request was created from Copilot chat.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Remove exposed GitHub personal access token from README Security: Remove exposed GitHub personal access token from README.md Dec 31, 2025
Copilot AI requested a review from secretengineer December 31, 2025 16:54

@secretengineer secretengineer left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pasted by accident, PAT has been revoked.

@secretengineer secretengineer marked this pull request as ready for review December 31, 2025 16:57
@secretengineer secretengineer merged commit 07dacdc into main Dec 31, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants