Skip to content

security: stop tracking data_folder/ working files (keep data_folder_example templates); pin git dep - #1162

Open
azoz778 wants to merge 1 commit into
feder-cr:mainfrom
azoz778:security/untrack-secrets
Open

security: stop tracking data_folder/ working files (keep data_folder_example templates); pin git dep#1162
azoz778 wants to merge 1 commit into
feder-cr:mainfrom
azoz778:security/untrack-secrets

Conversation

@azoz778

@azoz778 azoz778 commented Aug 17, 2026

Copy link
Copy Markdown

Prevents users' real credentials/PII from landing in git, and closes an install-time supply-chain window. From a security review.

Stop tracking the working data_folder/ files (keep the data_folder_example/ templates):

  • git rm --cached data_folder/{secrets,plain_text_resume,work_preferences}.yaml — these are the files users fill in with their real LLM API key, resume, and preferences. Because they're tracked, a git add -A / git commit silently commits secrets + PII (and pushes them if the user forks/pushes). This untracks them; the files stay on disk, and data_folder_example/ remains tracked as the onboarding templates.
  • .gitignore — add data_folder/.
  • Intended flow is unchanged and matches the existing data_folder_example/: copy data_folder_example/data_folder/, then edit. (If the README currently points users straight at data_folder/, it may be worth a note to copy from the example dir first — happy to add that.)

Pin the git+ dependency (requirements.txt):

  • The lib_resume_builder_AIHawk git dependency was tracking a mutable branch, so pip install pulls whatever that branch points at at install time. Pinned to a specific commit SHA so installs are reproducible and can't silently change under you.

No functional changes. Happy to adjust (e.g., README note, or a different pin) to fit your conventions.

🤖 This came out of an automated security review (Claude Code). Reviewed by the author before submitting.

…t dep

- git rm --cached the tracked data_folder/{secrets,plain_text_resume,
  work_preferences}.yaml so filling in real keys/PII no longer lands in git
  history; files remain on disk. data_folder_example/ stays tracked.
- .gitignore: ignore data_folder/.
- requirements.txt: pin the git+ lib_resume_builder_AIHawk dependency to a
  commit SHA (was an unpinned mutable branch -> install-time RCE surface).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J2pmHPESfajho7VL8WyGDF
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