Skip to content
KVKK & GDPR aligned

Make enterprise AI safe to use

TrustLayer masks, inspects and records every prompt before it ever reaches a model.

Built for heavily regulated sectors

  • Finance
  • Insurance
  • Healthcare
  • Public sector
  • Legal

The problem

The only moment you can control is the one before the prompt is sent.

The moment an employee pastes a customer record into a chat window, the data has left the organisation. Nothing done afterwards reverses it: masking, policy and the audit record all have to be applied before the prompt goes out.

01

The data is now on the provider's side

Once a national ID, IBAN, card number or address is inside the prompt, it has been processed on third-party infrastructure. A later deletion request does not undo having been processed.

02

The model is a target, and it can be talked around

Jailbreak and prompt-injection attempts are built to get past the model's own safety training. That training is the provider's decision, not your organisation's policy.

03

An ungrounded answer still sounds fluent

Asked something it has no source for, the model produces a confident answer anyway. Nothing in the answer itself tells the reader it is wrong.

04

No evidence survives

When an auditor asks what this answer rested on, who asked for it, and what was masked, a chat transcript is not an audit record.

TrustLayer handles all four of these before the prompt is sent, and again before the answer comes back.

  • The range sits at the top: 24 hours, 7 days, 30 days. Every number and every curve below follows it, so a figure on a card can be compared with the chart beside it.
  • The status strip carries the live health and response time of the dependencies. A component that is not configured is marked as such rather than hidden.
  • Four metric cards: total requests, personal-data fields masked, requests blocked, and the chain's overhead per request.
  • The protection trend plots masked and blocked requests as separate daily bars. How it moves over time says what a single total cannot.
  • The violation breakdown counts what is concentrating: PII masking, jailbreak attempts, blocked keywords and events on the MCP tool path, each on its own row.
  • The model breakdown shows how much went to which model, with the estimated cost beside it.
The TrustLayer security overview panelThe TrustLayer security overview panel
The organisation over the selected range: masked and blocked requests, the breakdown of violation types, and the protection chain's overhead per request.

Live proof

Try it yourself.

All three examples below are real engine output; not rewritten for marketing.

What the user typed

Customer record: national ID 10000000146, phone 0532 111 22 33, IBAN TR330006100519786457841326, email ayse.yilmaz@example.com. Summarise this customer's refund request.

What the model receives

The outputs on this page are fixed samples captured from real runs of the engine in the product repository.

< 2ms
Inspection overhead (p95)1

1p95 inspection overhead, covering the Prompt Shield, policy and PII masking chain. Measured over 8,000 prompts (40% clean / 30% PII / 30% attack) with four concurrent workers on an 8-core Apple M-series machine, 2026-08-24. Excludes network, model provider time and database I/O; end-to-end response time depends on the model you choose.

Integration

Two lines change. Your code does not.

TrustLayer exposes an OpenAI-compatible gateway. Your existing client stays as it is; you change the base URL and the key. Switching model provider is likewise a setting, not an application change.

curl "$TRUSTLAYER_URL/v1/chat/completions" \
  -H "Authorization: Bearer $TRUSTLAYER_API_KEY" \
  -H "Content-Type: application/json" \
  -H "X-User-Id: ayse.yilmaz" \
  -H "X-Department: operations" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      { "role": "user", "content": "Bu müşterinin iade talebini özetle." }
    ]
  }'
Endpoint
POST /v1/chat/completions
Auth
Authorization: Bearer tl_…
Alternative
X-API-Key: tl_…
Compose default
http://localhost:8000

The audit record also says who asked

Send the optional X-User-Id and X-Department headers and every audit event carries which user asked, from which department. That is an auditor's first question.

Not supported on this endpoint

Text content only; multi-part and image input are outside this endpoint's scope. The address points at your own deployment — the Docker Compose default is shown above.

How it works

Every prompt passes nine steps.

The order is fixed in the orchestrator: five on the way in, four on the way back. If a step blocks, the next one never runs.

Inbound: before it reaches a model

01

Mask

Personal data is caught and swapped for synthetic values.

can stop the request
02

Prompt Shield

Signals are scored; a request over the threshold stops here.

can stop the request
03

Policy

The organisation's YAML policy is applied: a blocked phrase stops it, a competitor name is redacted.

can stop the request
04

Retrieve

The knowledge base and this session's ephemeral files are searched.

05

Grounding

Intent is classified; when a question needs a source and none was found, the model is not let loose.

can stop the request

Outbound: before it reaches the user

06

Dispatch

The request goes to the provider. All the model ever sees is masked text.

07

Unmask (phase A)

optional

Tokens are resolved and the text sanitised. The chain deliberately pauses here.

08

Verify

The answer is judged against exactly the chunks it rests on.

can stop the request
09

Finalize (phase B)

Internal tokens are stripped and the user's data restored. Only now does the answer return.

can stop the requestoptionalThe unmask step is optionalSee the full architecture

FAQ

What security review asks.

How much latency does it add?

The inspection chain's p95 overhead is under 2 ms (1.01 ms measured under load). What determines your end-to-end response time is the model provider you choose, not this layer.

Is our data retained?

No. Prompt content is never persisted; the masking map lives in memory for the life of the request and is dropped once the answer returns. What reaches the audit log is the event; never raw PII.

Which models does it work with?

TrustLayer reaches the model through an OpenAI-compatible endpoint, so the provider is your choice: on the cloud side the ones we test directly today are OpenAI and Google Gemini; on your own server a compatible endpoint such as Ollama, vLLM or LM Studio connects the same way. Switching models changes one address setting rather than your application code.

Can we run it on our own infrastructure?

Yes. It comes up with a single Docker Compose command and runs in your own VPC. In local-model mode there is no external model provider on the request path; that mode is still going through production validation, so an air-gapped deployment is something we plan with you.

Does it really understand Turkish personal data?

Yes; the detectors are written for Turkey specifically: national ID, tax number, TR IBAN, +90 phone formats and Turkish street-address patterns. Matching is pattern-based and it reads the label: a number sitting next to a national-ID or tax-number label is masked even when the official checksum does not validate, so a real ID with a typo is still protected. A bare, unlabelled number has to pass the official checksum first. The checksum alone is not enough: roughly one in a hundred random 11-digit numbers passes it, so a long order list will throw up a few that look like identities. So when a business word such as order, invoice, tracking or policy sits next to the value, or when only some of the 11-digit values in that table column pass the checksum — in a real identity column they all do — the value is left alone. Where it is ambiguous, it is masked.

Bring your security team's questions.

A 30-minute technical session where we run your own prompts through it live.

Pilot deployment runs in your environment, typically two weeks.