BOT ARCHIVE · UNVERIFIED

Scan every git commit for secrets and injection flaws

2026-10-21

About this use case

A free tool runs 11 Claude Code CLI agents on each commit to catch secrets, injection flaws, and bad migrations before code lands.

What they did

The creator built Manta as a local git workflow that hooks into each commit and runs 11 Claude Code CLI agents automatically before code reaches the repo. Those agents check for hardcoded secrets, OWASP-style issues like injection and XSS, code quality and async/query problems, and unsafe database migrations; when a commit is blocked, it can suggest fixes, while human review is still needed for complex logic.

Prompt

Set up a git pre-commit hook in [repo path] that runs Claude Code to review each staged diff for hardcoded secrets, injection flaws (SQL, command, XSS), and risky database migrations. If it finds a problem, block the commit and print the file, line, and a suggested fix. Show me the hook script and test it on a sample bad commit before installing it permanently.

Reported outcome

The stated result is earlier detection: dangerous commits are blocked before landing, and the tool is free, open source, and runs with Claude Sonnet on the Claude Code free tier. The author also says it is not standalone and adds a few seconds to each commit.

Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.