Works with the AI Agents you already use
Git Config & Hooks Security Audit
by CashonlyTian
Pure Python + Pillow, no network, no paid APIs, secret values masked to ***.
$7
Git Config & Hooks Security Audit
Example session with this skill installed
Audit the git configuration in the /projects/research-repo directory. The project name is "Research-Alpha" and use the brand "SecurityOps".
- Read your context and instructions
- Compiled the git config
- Generated the document
The security audit for
Research-Alpha is complete. The repository received a
Score of 42/100 (Grade: D) with a
HIGH risk level. 12 findings were identified, including 2 critical issues related to executable hooks and 1 high-risk credential leak in the submodule configuration.
Audit Results
| Check | Score | Status |
|---|---|---|
| Dangerous Hooks | 0/15 | CRITICAL: Executable pre-commit hook found using eval |
| Shell Aliases | 10/10 | PASS |
| Filter Drivers | 0/10 | HIGH: textconv driver found in .gitattributes |
| Credential Storage | 10/10 | PASS |
| Secrets in Config | 2/10 | CRITICAL: Hardcoded Authorization header in .git/config |
| Insecure Transport | 10/10 | PASS |
| Unsigned Commits | 0/5 | LOW: commit.gpgsign is disabled |
| Submodule Risks | 0/10 | HIGH: Submodule URL contains user:***@ credentials |
| Unsafe Defaults | 10/10 | PASS |
| External Includes | 0/10 | MEDIUM: include.path points to absolute path /etc/gitconfig |
Top 3 Required Fixes:
1.
Remove Unknown Hooks: Delete or move .git/hooks/pre-commit and review the content. It contains dangerous eval calls.
2.
Purge Credentials: Remove the hardcoded Authorization header from .git/config and use a secure credential helper.
3. Fix Submodule URLs: Update .gitmodules to use SSH or credential-free HTTPS URLs.
Next steps
- Open
scan-report.mdto see the exact line numbers for all 12 findings. - Review
scan-2025-05-20.pngfor a visual summary to share with the team. - After applying fixes, run the audit again to verify the score improvement.
scan-2025-05-20.png
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
The skill audits a repo's git setup (.git/config, .git/hooks/*, .gitmodules, .gitattributes, .gitconfig) before you clone it — 10 checks, 0-100 score, grade A–F, risk level, shareable 1024×1024 score-card PNG and a prioritised fix report. Pure Python + Pillow, no network, no paid APIs, secret values masked to ***. Demo repo scores 22/100 (F, CRITICAL, 43 findings); clean demo scores 100/100.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
Audits git machinery only, not application source code. Does not execute hooks to see runtime behavior. Skips binary files and files over 2MB.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
- Software
Python 3Pillow
Git