Data Protection
Guardrails that detect, mask, or block credentials, personal data, and other sensitive content, plus malicious links in responses.
Part of Agent Guard. Each entry notes whether it runs on input (user prompts and tool requests), output (model and tool responses), or both.
Secrets Guardrail
Detects exposed credentials, API keys, tokens, and passwords in user messages.
What it catches
API keys (AWS, OpenAI, Stripe, etc.)
Authentication tokens (Bearer, JWT, OAuth)
Database credentials
Private keys and certificates
Password strings
Use cases
Prevent credential leakage in support chat
Block API key exposure in developer queries
Protect authentication tokens in logs
Example
"My API key is sk-proj-abc123def456"
Blocked
"Password: P@ssw0rd123!"
Blocked
"AWS_SECRET_KEY=abcd1234efgh5678"
Blocked
Anonymize and Deanonymize Guardrail
Automatically removes or masks personally identifiable information (PII).
Input and output
What it detects and masks
Names and personal identifiers
Email addresses
Phone numbers
Social Security Numbers
Credit card numbers
Addresses
Use cases
GDPR compliance
Privacy-first AI applications
Safe data logging and storage
Example
Input
"Contact John at john@email.com"
Output
"Contact [NAME] at [EMAIL]"
On outputs: Restores previously anonymized data when safe and authorized.
Output example
Anonymized
"Contact [NAME] at [EMAIL]"
Deanonymized
"Contact John at john@email.com" (when authorized)
Sensitive Guardrail
Detects personally identifiable information (PII) and sensitive data in AI outputs.
Output
What it catches
Email addresses
Phone numbers
Social Security Numbers (SSN)
Credit card numbers
Physical addresses
Names and identifiers
Medical information
Financial data
Use cases
Data loss prevention (DLP)
GDPR/CCPA compliance
Privacy protection
Example
"Contact John Doe at john.doe@company.com or 555-123-4567"
Blocked
Responses containing SSN: 123-45-6789
Blocked
Any PII exposure in AI-generated content
Flagged
Performance: ONNX-optimized for fast detection.
Regex Pattern Guardrail
Detects and filters sensitive information using custom regex patterns.
What it does
Matches content against configured regex patterns
Detects custom sensitive data formats
Filters or blocks matching inputs and outputs
Supports organization-specific pattern definitions
Use cases
Detecting custom identifiers or tokens
Filtering internal reference numbers
Preventing exposure of account or employee IDs
Enforcing organization-specific data protection rules
Example
Configured Regex Pattern
\d{3}-\d{2}-\d{4}
Input
"Customer SSN: 123-45-6789"
Detected Match
123-45-6789
Enforced Output
"Customer SSN: [REDACTED]"
LLM Based Redaction Guardrail
Masks sensitive content in user prompts using a plain-language redaction instruction, instead of blocking the request outright.
Input and output
What it does
Evaluates prompts against a custom redaction instruction written in plain language
Uses an LLM to identify content matching that instruction
Replaces matching text in place with a redacted value
Allows the request through after redaction, rather than blocking it
Use cases
Masking business-specific identifiers that don't fit a standard PII category, such as internal case numbers or deal codes
Redacting customer names and addresses before a prompt reaches an external AI tool
Layering with the Anonymize or Regex Pattern guardrails for categories that need a free-text description
Example
Redaction Instruction
"Redact customer full names and home addresses"
Input
"Ship the order to John Carter at 42 Baker Street"
Enforced Output
"Ship the order to [REDACTED] at [REDACTED]"
On outputs: Masks sensitive content in AI-generated responses using a plain-language redaction instruction, instead of blocking the response outright.
Output example
Redaction Instruction
"Redact customer full names and home addresses"
Generated Output
"The order was shipped to John Carter at 42 Baker Street"
Enforced Output
"The order was shipped to [REDACTED] at [REDACTED]"
Personal Account Guardrail
Detects and blocks access from users authenticated using personal accounts instead of organization-approved accounts.
Input
What it does
Identifies personal email domains during authentication
Validates user accounts against approved organization domains
Detects sign-ins using non-corporate accounts
Restricts access for unauthorized personal accounts
Use cases
Enforcing enterprise-only account access
Blocking Gmail or personal email sign-ins
Restricting access to organization-managed users
Preventing unauthorized external access
Example
User Sign-In
john.doe@gmail.com
Allowed Domain
@company.com
Detected Issue
Personal account detected
Enforced Output
"Access blocked: personal accounts are not allowed"
MaliciousURLs Guardrail
Identifies suspicious, malicious, or inappropriate URLs in AI responses.
Output
What it catches
Phishing links
Malware distribution sites
Suspicious domains
Unverified URLs
Known bad actors
Use cases
Phishing prevention
Link safety verification
Brand protection
Example
Blocked
Verifies URL reputation
Protects against social engineering
Performance: ONNX-optimized for real-time URL analysis.
Last updated