> ## Documentation Index
> Fetch the complete documentation index at: https://docs.promptguard.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Shadow AI

> Stop secrets and customer data leaking into ChatGPT, Claude, Gemini, and other AI tools your team uses, checked before anything reaches the AI tool.

Your team pastes code, customer records, and credentials into AI tools every
day. **Shadow AI** catches that content **on the employee's own device, the
moment before it's sent**, and blocks, redacts, or allows it according to your
policy. To decide, the agent sends the prompt to the PromptGuard engine, in our
cloud, or on servers you run, and the AI tool only receives what the verdict
allows.

> [!NOTE]
>
> **Masking happens before the engine, not after it.** Every masker finding is
> replaced by its placeholder *on the device*, and it is the masked prompt that is
> sent, the engine sees `[EMAIL]`, never `jane@acme.co`. Raw prompt text is not
> something the agent sends anywhere. A device pointed at an engine PromptGuard
> doesn't run goes further and defaults to sending no prompt content at all. See
> [What the engine is shown](https://docs.promptguard.co/shadow-ai/privacy-data-handling.md#what-the-engine-is-shown),
> and [Deployment Modes](https://docs.promptguard.co/shadow-ai/deployment-modes.md) for whose servers that
> engine is.

It's the same PromptGuard engine, policies, and dashboard you already use for
your own apps, now watching the AI tools your employees use, too.

## How it works

Every paste, prompt, or upload to a known AI tool gets one verdict, in
milliseconds:

```mermaid theme={"system"}
flowchart LR
    subgraph DEV["Employee's device, enforced before anything reaches the AI tool"]
        direction TB
        U(["Paste · prompt · upload"]) --> AG["Shadow agent<br/>(terminates TLS on-device)"]
        BL["Stopped on device"]
        RD["Masked on device"]
    end
    AG -->|"masked prompt + finding counts<br/>(or metadata only)"| ENG{"PromptGuard engine<br/>our cloud or your servers"}
    ENG -->|"block: secret / attack"| BL
    ENG -->|"redact: PII"| RD
    ENG -->|allow| AI(["AI tool<br/>ChatGPT · Claude · Cursor"])
    RD --> AI
    ENG -. "verdict + masked preview" .-> DASH[["PromptGuard dashboard"]]
```

> [card] Block, secrets
>
> API keys, cloud credentials, and tokens never reach the AI tool.
> \
> `AWS_SECRET=…` → **stopped**.

> [card] Redact, PII
>
> Emails, phone numbers, SSNs, and card numbers are masked **on-device**, so
> the employee still gets help and the AI tool never receives the raw value.
> \
> `jane@acme.co` → `[EMAIL]`.

> [card] Block, attacks
>
> Prompt-injection and jailbreak payloads are caught before they're sent.

> [card] Allow, real work
>
> Everything else passes through untouched, with zero added friction.

Every verdict lands in your PromptGuard dashboard, tagged by **surface**
(`desktop` · `browser` · `sdk` · `proxy`), so application traffic and employee
traffic show up in one audit trail.

## Get started

> [card] [Quickstart, protect one machine](https://docs.promptguard.co/shadow-ai/quickstart.md)
>
> Install, connect, and see your first block in about five minutes, on
> macOS, Windows, or Linux. One agent covers both AI **APIs** (IDE assistants, SDKs) **and**
> the AI **web apps** in the browser (ChatGPT, Claude); the [browser extension](https://docs.promptguard.co/shadow-ai/browser-extension.md) adds a
> check on the page. What each platform captures is on
> [Supported AI tools](https://docs.promptguard.co/shadow-ai/supported-tools.md).

> [card] [Roll it out to your fleet](https://docs.promptguard.co/shadow-ai/fleet-enrollment.md)
>
> Enroll many devices under one org, each with a scoped, individually
> revocable credential, and see the whole fleet in one place.

## One engine, every surface

Shadow AI isn't a separate product. It's additional **places we watch** feeding
the same detection engine, the same policies, and the same dashboard:

> [card] Your apps
>
> Gateway & SDK traffic

> [card] Your team
>
> Desktop agent + browser

> [card] One dashboard
>
> Scan · block · redact · audit

Adding a new provider or site is a new agent release, delivered by the agent's
automatic updates, not a new product to learn or deploy.

> [card] [Run it your way](https://docs.promptguard.co/shadow-ai/deployment-modes.md)
>
> Cloud, Hybrid (your engine, our dashboard), or Air-gapped (engine and
> dashboard both on your servers).

## Licensing

Shadow AI follows the same plan model as the rest of PromptGuard. There are
two ways to license it:

> [card] Personal
>
> Included with **every plan**. Protects up to **three** of your own devices,
> metered against your existing request quota, no separate bill.

> [card] Fleet: the Shadow plans
>
> **Shadow Team and Shadow Enterprise**, priced per seat. Team includes
> everything Developer does, so it replaces a Developer plan rather than
> sitting beside it. Only these include fleet
> management, a gateway plan does not grant it however large. Adds MDM
> enforcement, an org-wide required policy, multi-device
> [enrollment](https://docs.promptguard.co/shadow-ai/fleet-enrollment.md), and a per-employee usage rollup.

See the [pricing page](https://docs.promptguard.co/pricing.md) for plan limits and how Shadow AI usage is
metered.

## What Shadow AI does, and doesn't

We'd rather be upfront than over-promise:

> [accordion] It inspects encrypted traffic via a certificate
>
> Detection requires reading the request, so the agent terminates TLS using a
> certificate authority it creates on the device. Each person approves it
> once, on fleets too: MDM can't pre-approve a certificate that is created on
> the device, and a certificate your MDM deploys isn't supported yet. The agent reads the request on the
> device and sends its content to the engine for a verdict; the engine records
> the verdict with a masked preview.

> [accordion] Coverage is a maintained list of AI tools
>
> We watch a curated, growing set of AI providers and web apps. New endpoints
> are added in agent releases; a tool we don't yet recognize passes through
> untouched. Capture differs by platform: see
> [Supported AI tools](https://docs.promptguard.co/shadow-ai/supported-tools.md).

> [accordion] Certificate-pinned apps can't be inspected
>
> A few apps pin their own certificate and refuse the agent's. While such an
> app's tool is monitored its requests fail; switching the tool off lets it
> work, uninspected. See [Known limitations](https://docs.promptguard.co/shadow-ai/known-limitations.md).

> [accordion] If the engine is unreachable, prompts go through by default
>
> The agent **fails open**: if the engine can't be reached, or hasn't answered
> within **30 seconds**, the prompt is sent without an engine verdict. The
> on-device secret and PII masking still applies; prompt-injection detection
> does not. This keeps AI tools usable during an outage. If your organization
> needs the opposite trade, set `on_engine_unreachable` to `hold` and the
> prompt isn't sent at all, see
> [If the engine cannot be reached](https://docs.promptguard.co/shadow-ai/privacy-data-handling.md#if-the-engine-cannot-be-reached)
> and [Troubleshooting](https://docs.promptguard.co/shadow-ai/troubleshooting.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.