whatisgithub

What is prompt-gate?

shieldnet-360/prompt-gate — explained in plain English

Analysis updated 2026-05-18

28GoAudience · ops devopsLicense

In one sentence

A privacy-first desktop tool that blocks unapproved AI services and scans text for leaked secrets before it reaches an AI chat tool, all processed on your own device.

Mindmap

mindmap
  root((Prompt Gate))
    What it does
      DNS level blocking
      Content DLP scanning
      Runs on device
    Detection tricks caught
      Homoglyph swaps
      Invisible characters
      Base64 encoding
    Capture points
      Browser extension
      Local proxy
    Privacy
      No content stored
      Only counters saved
      Cross platform support

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

Stop employees from pasting API keys or secrets into AI chat tools

USE CASE 2

Block access to AI services that are not approved for company use

USE CASE 3

Audit how many DLP scans and blocks are happening without logging any actual content

What is it built with?

GoSQLite

How does it compare?

shieldnet-360/prompt-gatesmallnest/agent-wrappertatanakots/fuckprivateclient
Stars282828
LanguageGoGoGo
Setup difficultymoderate
Complexity4/5
Audienceops devopsdeveloperdeveloper

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

So what is it?

Prompt Gate is an open-source desktop security tool that prevents sensitive information from being accidentally sent to AI tools. It runs entirely on your own machine and operates at two layers: it blocks access to AI services your organization has not approved by intercepting their domain names before any connection is made, and it inspects text you are about to send to approved AI tools to detect secrets, credentials, or personal data before they leave your device. The inspection engine is designed to catch obfuscated secrets that would fool a basic pattern scanner. It normalizes text before checking it, which means it catches secrets where someone has swapped in visually identical characters from other alphabets, added invisible Unicode characters, or encoded the value in base64. The scanner then scores each match against where the content is going, since a credential pasted into a code repository is more concerning than the same string in a comment. Users can whitelist specific known-safe values without sending anything to a remote service. Content is captured through a browser extension for Chrome, Firefox, and Safari, or through an optional local proxy for traffic from applications outside the browser. The tool appears in the system tray and is designed to use minimal CPU and memory. Privacy is a stated priority: the only things the tool writes to disk are configuration settings, domain block-lists, and simple integer counters of how many scans and blocks occurred. No URLs, domain names, user identifiers, or specific event records are ever stored. Prompt Gate works on Windows, macOS, and Linux. The repository includes a standalone command-line scanner for testing the detection engine directly, benchmark results over a million lines of source code, and documentation covering the detection algorithm in detail. The project is MIT licensed.

Copy-paste prompts

Prompt 1
How do I set up Prompt Gate's browser extension to scan text before it reaches an approved AI tool
Prompt 2
Explain how Prompt Gate's normalizer catches homoglyph tricks used to hide secrets
Prompt 3
What is the difference between Prompt Gate's Tier 2 and Tier 3 policy actions
Prompt 4
Show me how to run the prompt-gate CLI scanner on a text sample locally

Frequently asked questions

What is prompt-gate?

A privacy-first desktop tool that blocks unapproved AI services and scans text for leaked secrets before it reaches an AI chat tool, all processed on your own device.

What language is prompt-gate written in?

Mainly Go. The stack also includes Go, SQLite.

Who is prompt-gate for?

Mainly ops devops.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.