Skip to content

Ignore .npmrc to prevent committing registry auth tokens - #10

Merged
rfoerthe merged 1 commit into
masterfrom
claude/github-secret-scanning-8b0c57
Aug 29, 2026
Merged

rfoerthe merged 1 commit into
masterfrom
claude/github-secret-scanning-8b0c57

Conversation

@rfoerthe

Copy link
Copy Markdown
Owner

Kontext

Secret-Scanning-Alert #1: Ein GitHub Personal Access Token lag ab Commit 2bb6b19 (Januar 2024) im damals eingecheckten .npmrc.

Änderung

.npmrc wird in .gitignore aufgenommen, damit lokale Registry-Credentials nicht erneut versehentlich committet werden.

Weitere bereits durchgeführte Maßnahmen

  • Git-History mit git filter-repo bereinigt (alle Branches + Tags force-gepusht) — das Token ist in keinem Blob mehr enthalten.
  • Secret-Scanning Push Protection für das Repository aktiviert.

🤖 Generated with Claude Code

A GitHub PAT was previously committed in .npmrc (secret scanning alert #1).
The token has been purged from git history; ignoring the file prevents a
recurrence.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@rfoerthe
rfoerthe merged commit 2fe78a4 into master Aug 29, 2026
12 checks 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.

1 participant