whatisgithub

What is vibegate?

themiddleblue/vibegate — explained in plain English

Analysis updated 2026-05-18

6PythonAudience · developerComplexity · 2/5LicenseSetup · moderate

In one sentence

A pre-write security scanner that checks code an AI coding assistant is about to save, blocking dangerous patterns like SQL injection before they reach disk.

Mindmap

mindmap
  root((VibeGate))
    What it does
      Scans AI written code before save
      Blocks critical vulnerabilities
      Warns on moderate risks
    Tech stack
      Python
      Semgrep
      Claude Code hook
    Use cases
      Catch SQL injection before it lands
      Flag hardcoded secrets
      Audit GitHub Actions workflows
    Audience
      Developers
      DevSecOps teams
      Vibe coders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically block AI generated code that contains SQL injection or command injection before it is saved.

USE CASE 2

Get a terminal warning when an AI assistant writes code that handles passwords or API keys unsafely.

USE CASE 3

Check GitHub Actions workflows for unpinned actions and unsafe trigger types.

What is it built with?

PythonSemgrepClaude CodeCodex

How does it compare?

themiddleblue/vibegateaclark4life/home-depot-crawlaetheria-labs1/storefront-skills
Stars666
LanguagePythonPythonPython
Last pushed2014-08-10
MaintenanceDormant
Setup difficultymoderatemoderateeasy
Complexity2/52/53/5
Audiencedeveloperdeveloperpm founder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires installing Semgrep and wiring the hook into your coding assistant's pre-write step.

Free to use, modify, and redistribute, including for commercial purposes, as long as you keep the license notice.

So what is it?

VibeGate is a security checkpoint that sits between an AI coding assistant, like Claude Code or Codex, and your files. AI assistants write code quickly, and that code sometimes handles sensitive things like passwords, emails, API keys, or raw user input without thinking carefully about safety. VibeGate watches every file the assistant tries to write or edit, scans the new code using a tool called Semgrep, and decides whether it is safe to save. It checks for a long list of known problems: things like command injection, SQL injection, path traversal, cross site scripting, insecure file uploads, and unsafe handling of secrets such as passwords and API keys. Some of these, the ones considered the most dangerous, cause the file to be blocked from saving entirely, and the assistant is told exactly why so it can fix the problem. Others, considered lower risk, still let the file save but print a warning explaining what was found and how to fix it. Every warning also comes with an instruction telling the assistant to mention the issue out loud in its reply, rather than quietly fixing it without telling you. Importantly, no AI model is used to do this scanning. It relies entirely on fast, deterministic static analysis, meaning the results are consistent and do not use any extra AI usage or cost. If VibeGate itself runs into an unexpected error, it lets the file save anyway, so a bug in the tool never becomes the reason your work gets blocked. VibeGate currently understands Python, JavaScript, TypeScript, Go, Java, PHP, and Ruby, and plugs into Claude Code and Codex. It can also check GitHub Actions workflow files for two common supply chain mistakes: using a movable version tag instead of a fixed commit, and using an unsafe trigger type. The project is released under the MIT License.

Copy-paste prompts

Prompt 1
Explain how VibeGate decides whether to block or warn about a piece of code.
Prompt 2
Help me set up VibeGate as a pre-write hook for Claude Code in my project.
Prompt 3
List the vulnerability categories VibeGate blocks versus the ones it only warns about.
Prompt 4
Based on VibeGate's approach, suggest how I could add support for a new programming language.

Frequently asked questions

What is vibegate?

A pre-write security scanner that checks code an AI coding assistant is about to save, blocking dangerous patterns like SQL injection before they reach disk.

What language is vibegate written in?

Mainly Python. The stack also includes Python, Semgrep, Claude Code.

What license does vibegate use?

Free to use, modify, and redistribute, including for commercial purposes, as long as you keep the license notice.

How hard is vibegate to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is vibegate for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.