Personal data leakage
CPF numbers, email addresses, and other identifiers land in the prompt and can leave your environment, in the clear, toward the LLM.
Caju AI · Aracaju
Before the request reaches the provider, Caju Guardrails masks Brazilian personal data, blocks prompt injection, and records only what you need to monitor — outcome, reason, entities, and latency. Prompt text is not stored.
Typical latency is about 0.1 s on the server, on a warmed-up service. Integrate via API or LiteLLM.
The problem
In a chatbot, an assistant, or a document workflow, free-form text can carry CPF numbers, email addresses, and other personal data to the provider — along with attempts to make the model ignore its instructions. Without a layer in the path, that traffic goes through unchanged.
CPF numbers, email addresses, and other identifiers land in the prompt and can leave your environment, in the clear, toward the LLM.
Instructions such as “ignore the previous rules” try to override the application's policy and expose what should stay internal.
You need to know what was allowed, masked, or blocked — without turning monitoring into a store of prompts.
How it works
The product is a guardrail sidecar: it sits in the traffic path, makes a decision, and returns a result. It does not replace the LLM.
A chat, assistant, or backend sends the text.
POST /v1/guardrail
Analyzes PII, injection, and policy.
Receives the text only if the request was not blocked.
Nothing to mask or block. The text continues as it was sent.
Entities such as CPF and email are replaced. The text comes back already masked, ready to proceed.
The request is stopped. The response includes the reason and texts: null — the content is not returned.
Alongside this, monitoring records the time, endpoint, outcome, reason, entities, and latency. It does not record the prompt.
Features
Detects and masks entities such as CPF and email, using Presidio and spaCy, so personal data does not go to the model in the clear.
Stops attempts to override instructions. In a real test, an injection phrase returned BLOCKED with the reason anomaly:content:instruction_override.
The sidecar applies masking and avoids storing the prompt. That supports personal data protection under Brazil's LGPD (Lei Geral de Proteção de Dados, the Brazilian data protection law); it does not replace legal advice or, by itself, guarantee compliance.
Totals by outcome, block reasons, masked entities, p50 and p95 latency, and the latest events — metadata only, never the text that was sent.
The same contract on POST /v1/guardrail and on POST /beta/litellm_basic_guardrail_api, compatible with LiteLLM's Generic Guardrail API.
Examples
The snippets below use the real POST /v1/guardrail contract. The responses are the ones we observed in tests. Host and credentials appear only as placeholders.
In the code: https://YOUR_ENDPOINT, YOUR_USER, and YOUR_PASSWORD (or the YOUR_KEY variable, if you authenticate with a key). Replace them with the values from your environment.
Where it fits
Typical situations where an LLM app receives free-form text and needs a layer in front of the model. These are not customer case studies.
Support and assistants that receive a subscriber's registration details or documents. Identifiers can be masked before the model.
Queries and extraction from text that cites CPF, CNPJ, and other personal or company data.
Support chat or search where a customer provides an email, phone number, or order details.
Workflows where the text may include patient data. The guardrail reduces what goes through in the clear; responsibility for the medical record remains with the operation.
Internal assistants and support channels that handle identifiers and registration data.
Frequently asked questions
Send a POST /v1/guardrail with a JSON body containing texts. If you already use LiteLLM, point the Generic Guardrail API at POST /beta/litellm_basic_guardrail_api — it is the same contract.
No. Monitoring records the time, endpoint, outcome, reason, masked entities, and latency. The text that was sent is not stored.
In measurements on this environment, the request takes around 0.1 s on the server once the service is warmed up.
No. Caju Guardrails is the layer in front of (or beside) the LLM. It decides whether the text proceeds, proceeds masked, or the request is blocked.
Yes. Masking includes entities such as CPF and email, and the default policy profile is oriented toward LGPD, Brazil's data protection law.
There is no price list on this page. Commercial terms are discussed with us directly — request a demo.
We'll show the product running, the API contract, and the monitoring — without storing prompts. This is a product of Caju AI, from Aracaju.
TODO: set the official contact email or channel. The button still points to mailto:TODO-definir-email.