{"slug": "show-hn-commitgate-automatically-scan-your-commit-for-vulnerabilities", "title": "Show HN: CommitGate – Automatically scan your commit for vulnerabilities", "summary": "A developer released CommitGate, a pre-commit code scanner that automatically checks staged changes for security vulnerabilities using Gitleaks and an AI API. The tool aims to help developers catch issues before committing code, though setup requires Python and an API key.", "body_md": "Hello HN! I built a pre-commit code scanner that checks your staged changes for security vulnerabilities every time you run 'git commit'.\n\nI 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!\n\nThe 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](https://youtu.be/ZYe5vWFRTus?si=9Fv8DhTHktwDK4mV)\n\nThank you so much for giving my project a try!!!\n\nComments URL: [https://news.ycombinator.com/item?id=48619820](https://news.ycombinator.com/item?id=48619820)\n\nPoints: 2\n\n# Comments: 2", "url": "https://wpnews.pro/news/show-hn-commitgate-automatically-scan-your-commit-for-vulnerabilities", "canonical_source": "https://github.com/ductrl/CommitGate", "published_at": "2026-06-21 15:35:02+00:00", "updated_at": "2026-06-21 16:04:09.012565+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-safety"], "entities": ["CommitGate", "Gitleaks", "Python"], "alternates": {"html": "https://wpnews.pro/news/show-hn-commitgate-automatically-scan-your-commit-for-vulnerabilities", "markdown": "https://wpnews.pro/news/show-hn-commitgate-automatically-scan-your-commit-for-vulnerabilities.md", "text": "https://wpnews.pro/news/show-hn-commitgate-automatically-scan-your-commit-for-vulnerabilities.txt", "jsonld": "https://wpnews.pro/news/show-hn-commitgate-automatically-scan-your-commit-for-vulnerabilities.jsonld"}}