Pangolin

AI App Governance in Pangolin

Most organizations have no idea which AI tools their people use. Someone installs Cursor on a Monday, someone else pastes a customer list into ChatGPT on a Tuesday, and a contractor runs Claude Code against a repo full of .env files. None of that shows up in a SaaS admin console, because most of it never touches a corporate account. This is shadow AI, and the usual answers to it are a written policy that nobody reads or a firewall rule that breaks half the internet.

The next Pangolin release adds AI app governance to the Pangolin client. Admins pick the AI apps their organization allows, block the rest, and put guardrails on what the allowed ones send. Everything runs on the user's device, inside the client they already have installed for remote access, so there is no browser extension to roll out and no agent per app.

Why the Device

AI usage has spread past the browser. Coding agents run in terminals, desktop apps talk to model APIs directly, and IDEs like Cursor stream code to the model on every keystroke. A network proxy at the office edge misses anyone working from home, and a browser extension misses everything outside the browser.

The Pangolin client already sits on the device and already answers DNS for it. That puts it in the right place to see every AI app, whatever network the laptop is on. When an app reaches for a known AI host, the client recognizes the app from its host, user agent and request headers, applies the policy for that user's role, and then either lets the request through, inspects it, or stops it.

What It Covers

Pangolin ships with a catalog of AI apps, grouped the way people actually use them:

  • Desktop apps: Claude Desktop, ChatGPT, Codex, Antigravity and Cursor
  • Coding agents: Claude Code, Codex CLI, OpenCode and Antigravity CLI
  • AI in the browser: claude.ai and chatgpt.com

You can also block GitHub Copilot, Windsurf, Gemini, Google AI Studio, NotebookLM, Microsoft Copilot, Perplexity, DeepSeek, Grok, Le Chat, Meta AI, Poe and Character.AI outright. The catalog is maintained on the server, so when an app changes how it talks to its provider, the fix reaches your devices without a client update.

Block What You Don't Approve

A block list does what it says. Pick the apps, add the list to a role, and members of that role can't use them on any device running the Pangolin client. Someone who opens a blocked app in the browser sees a page with your organization's name explaining that it's blocked, instead of a broken site. Desktop apps and agents get a clear error back.

Block lists always win. If one role regulates ChatGPT and another blocks it, a user in both roles has it blocked.

Blocking AI apps will be available in the open source Community Edition at no cost.

Regulate What You Allow

Most teams don't want to ban AI. They want to use it without leaking credentials or customer data. A regulate list lets the apps work while the client checks every prompt before it leaves the machine.

Secrets detection uses the Gitleaks rule set to catch API keys, cloud credentials, tokens and private keys. If an engineer asks Claude Code to debug a config file with a live AWS key in it, the key never reaches Anthropic.

PII detection has built-in detectors for email addresses, US phone numbers, Social Security numbers, credit card numbers and IPv4 addresses. Card numbers have to pass the Luhn checksum, so order IDs and timestamps don't trip it. Each detector can be turned on separately, and each one has an allowed-values list for things like your support address.

Custom regex rules cover whatever the built-in detectors don't: internal project codenames, customer account formats, ticket IDs.

Every guardrail has its own action. Block stops the request and tells the user why. Redact swaps the match for a label such as [EMAIL] and sends the rest, so the conversation keeps going. Detect only lets the request through and records the match.

When several regulate lists cover the same app for a user, their rules are combined, so a security team can own a secrets list while a compliance team owns a PII list.

Approvals for New Apps

Turn on "Require approval" on a role and the first time someone opens a regulated app, the client holds it and sends a request to the approvals page in the dashboard. Admins can get an email for each request. Once approved, the app works on that user's devices. Approvals can be revoked at any time.

This uses the same approvals feed Pangolin already uses for devices, so admins have one place to review new devices and new AI apps.

See What's Happening on Every Device

The AI governance log records every governed request from every device: which user and device, which app, whether it was allowed, blocked, redacted or held for approval, and which rules matched. The matched text itself is never written to the log, so the log doesn't become another place where secrets end up.

This gives you an inventory of the AI apps your people actually use, along with a record of what the guardrails caught.

Send API Traffic Through Your Gateway

Pangolin already runs private AI gateway resources that hold your organization's provider keys, enforce budgets and log usage. A regulate list can route its apps through one of those gateways instead of straight to the provider.

When routing is on, Claude Code, Codex CLI, OpenCode and the other API clients send their requests to your gateway after the guardrails run on the device. The gateway applies the organization's keys, so developers stop carrying personal API keys around, and spend lands in one place. Users only go through the gateway if they have access to that resource. Gateway routing for the desktop and browser apps is coming later. Until then those apps keep their on-device guardrails.

Rolling It Out

Governance is set per role. On a role, go to its AI tab, enable governance, and add the block and regulate lists you want. Changes reach connected devices right away.

Deploying With an MDM

Governance only covers devices running the Pangolin client, so on company-owned machines the easiest way to get full coverage is to push the client with the MDM you already use, such as Intune, Jamf or Kandji. Deploy the MSI on Windows, the package on Linux and the app on macOS. On Windows and Linux, a system-wide pangolin.json pushed alongside it can set your Pangolin server URL and control updates, so users only have to sign in. Once they do, their roles decide which AI policy they get, and nobody has to configure anything on the device.

To inspect HTTPS traffic, the device needs to trust the Pangolin client's certificate. This is the same certificate the DNS block page already uses. Each device creates its own, and its private key never leaves the machine. On Windows and Linux the client adds the certificate to the system trust store itself and points Node-based tools like Claude Code at it. Guardrails need it.

See It Before It Ships

AI app governance is coming to the Pangolin clients in an upcoming release. If shadow AI is already a problem in your organization, we would like to show you how it works on your own apps and devices, and hear which apps and guardrails you need covered first.

Book a demo to see AI app governance in action.

Get notified of new releases

Follow the release feed in any RSS reader to see each new Pangolin release as soon as it is published.

About Pangolin

Pangolin is the open-source access platform that lets IT and security teams connect their workforce, AI agents, and infrastructure without the friction of legacy VPNs and stitched-together security tools. By unifying a zero-trust VPN, zero-trust reverse proxy, privileged access management, and an identity-aware AI gateway under one policy model, Pangolin helps organizations shrink their attack surface, contain stolen credentials, and pass audits with less work. Teams can roll it out one service at a time, self-hosted or on Pangolin Cloud, and verify exactly how their access is secured because every component is open source.

Ask AI about Pangolin

Ask Pangolin AI, which answers from this site and the docs, or your favorite AI assistant.

Get product updates and news.