Repository

ductrl/CommitGate

CommitGate

An AI-powered Git pre-commit/pre-push security gate

15stars

Open github.com

ductrl/CommitGate

CommitGate

AI-powered Git pre-commit/pre-push security gate that scans staged changes for vulnerabilities using Gitleaks and an AI reviewer, blocking secrets or risky code before they reach Git history.

Visit project

Show me a random project

First shared
Jun 21, 2026
HN activity
57

Show HN@ductrlJun 21, 2026

Show HN: CommitGate – Automatically scan your commit for vulnerabilities

Hello HN! I built a pre-commit code scanner that checks your staged changes for security vulnerabilities every time you run 'git commit'. I am an inexperienced programmer and this is my first personal project. Any feedback, positive or negative, big or small, relevant or not, would be greatly helpful and appreciated! The tool requires Gitleaks and Python to run, you will also need to use your own AI API key, which I understand is a big setup friction. You can check out my demo video instead if that is more convenient: https://youtu.be/ZYe5vWFRTus?si=9Fv8DhTHktwDK4mV Thank you so much for giving my project a try!!!

Community

Hacker News discussion

Loading the thread…