Skip to content

Commit 0f5b042

Browse files
AlexMikhalevTerraphim AI
andcommitted
security: remove leaked HF token session file, add session-*.md to gitignore
Removes session-ses_37b6.md from tracking (contained plaintext HuggingFace API token). Adds session-*.md to .gitignore to prevent future leaks. NOTE: Token must still be revoked at huggingface.co/settings/tokens. The token remains in git history and should be scrubbed with git filter-repo. Closes #52 Co-Authored-By: Terraphim AI <noreply@terraphim.ai>
1 parent c3ac646 commit 0f5b042

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ data/umls/
4646
*.pt
4747
*.pth
4848

49+
# Session files (may contain secrets/tokens)
50+
session-*.md
51+
4952
# Environment
5053
.env
5154
.env.local

0 commit comments

Comments
 (0)