Skip to content
GitHubOpen source
Product
Docs
Solutions
IndustriesAll industries
CompareCompare all AI data-leak tools
Benchmarks
GitHubApache-2.0

How Shadow works: detection, vault, personas and policy

Shadow protects AI requests in four steps: it detects sensitive values, replaces them with realistic fakes from a persistent persona, records the pairs in an encrypted local vault, and restores the real values in the response. These pages explain what Shadow does to each request and why: how it finds sensitive values, how fakes stay consistent, and how they are restored in responses.

Frequently asked questions

How does Shadow mask data for LLMs?

It detects sensitive values in each request, replaces them with realistic, format-preserving fakes from a persistent persona, records the pairs in an encrypted local vault, and restores the real values in the response.

How is this different from redaction?

Redaction strips meaning with placeholders such as <PERSON>. Shadow's fakes keep the shape of the data, so the model can still reason about it, and they are reversible, so the answer comes back with your real values.

What happens if detection misses something?

A value that is not detected is sent as is. Detection is best effort, so test with shadow scan, add your own terms, and enable the optional NER sidecar or Presidio for free-text names.