Personal data and secrets

The Protector checks the data in every AI call for personal data and secrets in both directions: what is sent to the model provider, and what the model returns or asks a tool to do. Each finding is recorded in the AI Audit Trail, and the policy can mask it or block the call.

In the portal: Integrations → Secure60 Protector → Guardrail Policies → a policy → Input and Output

Where data leaves

Path Checked by default
The user’s prompt, every turn of the conversation Yes
Tool results sent to the model (records a tool looked up, files it read) Yes
The model’s reply, including streamed replies Yes
The arguments of tool calls the model emits (send_email(body=…), run(…)) Yes
The system prompt No; switch on when customer records or keys may be pasted into it

Tool results and tool-call arguments are the paths an agent uses to move data: a tool returns a customer record, the model receives it, and the model can ask another tool to send it on.

Personal data

The personal data check finds names, email addresses, phone numbers, card numbers, IBANs and other entity types. Each policy selects the entity types and a confidence threshold (score threshold) for each direction.

The Input section of the Guardrail Policy panel with PII mode, the entity checklist and score threshold

Secrets

Secrets are detected by named patterns — AWS, GitHub, GitLab, Slack, OpenAI, Anthropic, Google, Stripe, SendGrid, Twilio and Azure keys, JWTs, bearer tokens, connection strings with passwords, private-key blocks, password= / api_key= assignments — plus an entropy rule for long random tokens next to a word like secret or token. The rule id names the pattern (secrets.aws_access_key), the message carries a redacted sample, never the value. The word password on its own does not match.

A Support Assistant call where a tool result carried an email address and a card number: both findings, the matches highlighted in the tool result, and the text the model received with mask tokens in their place

Actions

Each filter has its own mode, per direction:

Mode Effect
monitor Recorded; the call goes through unchanged
mask Personal data is replaced in place (<EMAIL_ADDRESS>, <CREDIT_CARD>) before the text reaches the model or the caller; decision modified
block The call is refused (policy in Protect mode)

The session view shows the original text with the match highlighted and, under Sent on as, what the model received after masking. The policy’s capture mode controls how much of the text is kept in the audit trail: full, masked (personal data replaced before capture) or summary (no text, only the findings).

Unprotected AI use

Data sent to an AI service that is not routed through a Protector is not inspected. The AI Traffic Detection parser template finds those services in proxy, DNS and firewall logs, and the AI Governance rule group raise a threat when a Prohibited application is used. The Unprotected tile on AI → AI Activity shows the share of AI calls no Protector saw.

Set it up

  1. Start with the policy in Monitor (Get started).
  2. Choose the personal data entity types for each direction and switch on secrets.
  3. Review the findings on AI → AI Activity and tune the entity list and the score threshold.
  4. Set personal data to mask or block, then switch the policy to Protect.
  5. Deploy the AI Protector rule group from Detection Rules (AI Detections).

Try it

With the policy in Monitor, send escalate to a@bank.com through the Protector. The response carries x-s60-decision: modified, and the call shows one EMAIL_ADDRESS finding on AI → AI Activity → AI Audit Trail. In Protect with personal data on mask, the model receives escalate to <EMAIL_ADDRESS>.

Back to top