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

Shadow vs Lakera Guard — Lakera alternative for PII masking in LLM prompts

Lakera Guard, now part of Check Point, is an API that screens LLM inputs and outputs for prompt injection, jailbreaks, PII, secrets and other risks, and returns flags your application uses to block or allow. Shadow is an open-source privacy layer that replaces sensitive values with realistic, reversible fakes before requests reach the provider, and restores them in responses, streams and tool calls. Lakera answers “is this request dangerous?”; Shadow answers “how do we send this request without exposing the data in it?”.

ShadowLakera Guard
Open source / licenceYes, Apache-2.0No, proprietary
DeploymentEndpoint HTTPS proxy, gateway (/gw/<provider>/), Rust librarySaaS API; self-hosted for Enterprise
Protection methodReversible realistic fakes from a persona; typed tokens for reports; optional redactionDetect and flag (PII, secrets, custom patterns, prompt attacks); your app blocks
Restores responsesYes, automaticallyNo (nothing is replaced)
StreamingYes, SSE and NDJSON with split-fake reassemblyNot documented
Tool callsYes, arguments restored locally; intent-aware for provider-hosted toolsAgent-security features for attack detection
FilesDOCX, XLSX, PPTX masked in place; PDF to text; CSV, JSON, HTMLNot documented
Self-hostedYes, single binary, no accountEnterprise only
Price modelFreeFree community tier (per third-party sources); Enterprise quote
  • Prompt-injection and jailbreak detection. This is Lakera’s core strength, backed by a large stream of adversarial data from its public red-teaming games. Shadow does not attempt it.
  • One API for many risks. PII, secrets, custom regex, content moderation and malicious links are screened in one call, with results your app can act on.
  • Low integration effort. A single HTTP call before and after the model, with SDKs and policy configuration in a dashboard.
  • Enterprise backing. Following Check Point’s acquisition, Lakera fits into a larger security portfolio, which suits organisations standardising on Check Point.
  • Agent security. Lakera positions its product for agentic applications, screening tool inputs and outputs for attacks.

When Lakera flags PII, your application has to decide what to do, usually block or ask the user to edit. Shadow transforms the request instead: names, emails, IDs and secrets become consistent fakes from a persistent persona, the request goes through, and the response comes back with the real values. The user gets an answer and the provider never sees the values Shadow detected.

Screening with a SaaS API means sending the unmasked prompt to that API. Shadow detects locally, with no account and no telemetry, and only the masked request leaves the machine.

Shadow restores fakes in SSE and NDJSON streams and in tool-call arguments, and applies an intent policy so bulk reports get typed tokens and provider-hosted actions are handled explicitly.

Lakera is called from your code. Shadow can run as an HTTPS proxy that covers every tool on a machine that calls a supported AI API, including ones you didn’t write, and masks uploaded Office files.

  • Your main risk is prompt injection, jailbreaks or harmful content in a customer-facing LLM app.
  • You want a managed API with a dashboard and vendor support.
  • Flagging PII for your app to block or review is enough.
  • You need to send prompts that contain personal or confidential data and still get useful answers.
  • Data must not leave your machine or network unmasked, including to a screening API.
  • You need open source, self-hosting and no per-request cost.

Yes. A layered setup works well: Shadow masks the request first, then your application (or gateway) calls Lakera Guard on the masked text for prompt-injection and content checks. Lakera then never receives the personal data Shadow detected, and Shadow restores values only after Lakera has screened the response. Expect Lakera’s PII detector to fire less often on masked text, though realistic fakes may still look like PII to it; you may want to rely on Shadow for PII and on Lakera for attacks.

They mostly measure different things: Lakera focuses on attack detection, Shadow on keeping sensitive values out of requests. Shadow’s benchmark covers PII leak rate, over-masking and round-trip exactness with published code. Lakera was not independently benchmarked for PII.


Last reviewed: 2026-10-31. Lakera and Check Point are trademarks of their owners; this comparison is based on public documentation as of the review date.

Frequently asked questions

Is Shadow an alternative to Lakera Guard?

For PII, partly. Lakera Guard is an API that screens prompts and responses for prompt injection, jailbreaks, PII, secrets and unsafe content, and returns flags your application acts on. Shadow does not detect prompt injection; it masks sensitive values with reversible fakes and restores them. They complement each other.

Does Lakera Guard redact PII?

Lakera Guard's public documentation describes detecting and flagging PII, secrets and custom patterns. It does not describe replacing values and restoring them in the response. Shadow does both.

Who owns Lakera now?

Check Point announced the acquisition of Lakera in September 2025. Lakera Guard is being offered as part of Check Point's AI security portfolio, referred to as Check Point AI Guardrails.

How much does Lakera Guard cost?

Third-party sources describe a free community tier of around 10,000 requests per month, with Enterprise plans on quote. Check Lakera's or Check Point's site for current pricing. Shadow is free and open source.

Can Lakera Guard be self-hosted?

Lakera describes a self-hosted option for Enterprise customers. The standard offering is a SaaS API. Shadow is always self-hosted.