vibecheck
CRITICALRepository Trust

Committed git hooks with shell execution (post-checkout, post-merge)

Git hooks committed to a repository execute automatically on clone, checkout, or merge without user confirmation. A post-checkout hook can silently run arbitrary code the moment a developer clones or opens the repo in an AI coding environment.

HOW VIBECHECK DETECTS THIS

vibecheck clones your repository and runs Gitleaks, Semgrep, njsscan, and a suite of custom checks targeting patterns common in AI-generated code. This check is part of the Repository Trust category. When a matching pattern is found, Claude triages the finding and produces a plain-English explanation and a concrete fix — no security expertise required.

FREE SCAN

Check your repo for this and 50+ other issues

Connect GitHub → vibecheck scans for secrets, unauthenticated routes, RLS gaps, injection, and more. Claude explains every finding. Free for 2 repos.

scan my repo for free →

MORE IN REPOSITORY TRUST

Dangerous git config: core.hooksPath, url.insteadOf, filter.smudgeHIGHDevcontainer lifecycle hooks with suspicious commandsHIGHSetup/install scripts with curl-pipe-to-shell patternsHIGHSubmodule URLs pointing to non-standard or suspicious hostsMEDIUM
← all vulnerability guides