Check `git -C <dir>` commands like plain `git` commands
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
Research direction
Start by finding the code that checks plain git add, git commit, and git push commands, then review tests/test_redteam.py for the existing regression-test patterns. Implement equivalent handling for git -C <dir> so the checks run against <dir>, and verify with a blocked case and an allowed case using fake values. The linked pull request indicates this work is already underway.
Written by the indexing model from the issue text.
Description
SecretGuard checks git add, git commit and git push for secrets files and secrets in settings files. A command that names another folder with git -C <dir> add -A is not checked yet (listed under known gaps in the README).
Done when
git -C <dir> add|commit|pushgets the same checks, run against<dir>.- Regression tests in
tests/test_redteam.pycover a blocked case and an allowed case, using fake values only.
Generated by Claude Code
- Dominant language
- Python
- Stars
- 1
- Forks
- 1
- Avg merge
- 2h 28m
- Merged PRs (30d)
- 6
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JTHCode/secretguard
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
JTHCode/secretguard#17 ·
Maintainers usually reply within 1 day
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JTHCode/secretguard#15 ·
Maintainers usually reply within 1 day
-
help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
JTHCode/secretguard#16 ·
Maintainers usually reply within 1 day
-
Add plugin manifest and hook configuration consistency testsPossibly taken @nyx60002 claimed this today. Openenhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
JTHCode/secretguard#4 ·
Maintainers usually reply within 1 day
All issues in JTHCode/secretguard
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
521xueweihan/HelloGitHub#4729 ·