Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Git Config & Hooks Security Audit

    by CashonlyTian

    1

    Pure Python + Pillow, no network, no paid APIs, secret values masked to ***.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Git Config & Hooks Security Audit

    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

    CheckScoreStatus
    Dangerous Hooks0/15CRITICAL: Executable pre-commit hook found using eval
    Shell Aliases10/10PASS
    Filter Drivers0/10HIGH: textconv driver found in .gitattributes
    Credential Storage10/10PASS
    Secrets in Config2/10CRITICAL: Hardcoded Authorization header in .git/config
    Insecure Transport10/10PASS
    Unsigned Commits0/5LOW: commit.gpgsign is disabled
    Submodule Risks0/10HIGH: Submodule URL contains user:***@ credentials
    Unsafe Defaults10/10PASS
    External Includes0/10MEDIUM: 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.md to see the exact line numbers for all 12 findings.
    • Review scan-2025-05-20.png for 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

    Generated

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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 3PillowGit

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    This skill identifies 'hidden' threats within the Git machinery itself, such as malicious scripts in .git/hooks or insecure configurations in .gitattributes that could execute code automatically upon cloning or diffing.

    The skill is designed to work with any AI agent capable of local file system access and Python execution, as it performs a static scan of your repository's configuration files.

    To ensure your safety, the scanner parses Git files using a local Python script without actually running the 'git' command, preventing any malicious hooks from being triggered during the audit.

    You receive the core Python-based scanning logic, the 10-point security vector checklist, and templates for generating both the Markdown fix reports and the PNG security scorecards.

    No, this skill is strictly a local static analysis tool and does not make external network calls, ensuring your repository configurations and credentials remain private.

    While the skill audits the Git environment (hooks, configs, and submodules), it does not scan the actual application source code for vulnerabilities like SQL injection or buffer overflows.

    New in LLM Ops