FeatureRecipe

data-masking-litellm

Realizes core/data-masking on the AI gateway core/gateway/litellm; a Release binds it in its Manifest. It writes guardrails, one request policy and a setting turning the gateway's logging of message contents off into the configuration the gateway's own Recipe renders, and emits no file. Listed patterns are matched inside the gateway; listed entity types are found and replaced by the Presidio pair wired to its pii_analyzer and pii_anonymizer sockets. Every entry runs on every request; a caller cannot turn it off. By default, while requests are masked, it masks the messages, the tool calls and results a conversation carries and the other text beside them; while replies are, a reply's text, tool calls, added parts and, by entity type, its reasoning, and it withholds what masking cannot read. What its masking does not reach is refused with HTTP 400 before forwarding. action refuse refuses what carries a match instead; allow_unmasked_text and allow_unmasked_reply_parts let through, unmasked, what its comments list. An unreachable or erring recognizer fails the request. While patterns mask replies, a streamed reply is sent whole at the end. It refuses action restore at build time: this gateway numbers its stand-ins afresh in every text, so restoring could hand a caller another person's name. Masking is not sufficient on its own: text no pattern matches and no recognizer detects passes; the gateway and both recognizers see the original; tool definitions, response formats, stop sequences, reasoning a client sends back and the names of JSON keys pass as sent; the gateway's own log and a logging integration can still hold unmasked text; and traffic that does not cross the gateway is not touched.

Provenance

OfficialSigned by a signing identity this catalog recognizes as an official publisher.
Content digest
sha256:ebb3640830814c29bc5d0dc0ceebf630c5acf199441783610690b946331be346
Published
2026-11-10T10:15:27Z
Signing identity
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Signature

  • Officialapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:3087027809032e3214ebca3d9231aa0c841c9ae5e60fca5b61fdaef5b782bbbe

Reference at this version

oci://hub.aggrega.ai/featurerecipe/helm/data-masking-litellm:1.0.0
Target
—
Implements
core/data-masking:1.0.0

Provides

Deterministic pointer templates this recipe wires for consumers.

No provides templates declared.

Workload

No workload template declared.

Locals

No locals declared.

Values mapping

No values mapping declared.

Relationships

Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.

Uses

Used by

Nothing in the catalog depends on this entity.

FeatureRecipe concept reference →

The Aggrega catalog — an open index of components, features, recipes, and the plugins that render them.

Built with the shared Aggrega design system.

Privacy