xAI Grok
Secure Real-Time AI

Secure Search-Augmented AI
Secure your Perplexity API applications with Wardstone Guard. Protect search-augmented AI from web-based prompt injection and misinformation.
Malicious websites can craft content specifically to inject instructions into Perplexity's responses.
Attackers can manipulate search rankings to surface malicious content.
Harmful content can appear legitimate when backed by manipulated citations.
Web search introduces massive indirect prompt injection risk
Search results can contain intentionally misleading content
Citations don't guarantee content safety
Wardstone screens both queries and retrieved web content
Install Wardstone SDK alongside the Perplexity API client.
Screen user queries for prompt injection attempts before search.
Validate outputs for web-injected harmful content.
Flag responses that cite known-malicious or suspicious domains.
Perplexity API includes search costs. Wardstone protects against the security risks that search augmentation introduces.
# Step 1: Check user input with Wardstonecurl -X POST "https://api.wardstone.ai/v1/detect" \ -H "Authorization: Bearer YOUR_WARDSTONE_KEY" \ -H "Content-Type: application/json" \ -d '{"text": "User message here"}' # Response: { "prompt_attack": { "detected": false, ... } } # Step 2: If safe, send to Perplexitycurl -X POST "https://api.perplexity.ai/chat/completions" \ -H "Authorization: Bearer YOUR_PERPLEXITY_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "sonar-pro", "messages": [{"role": "user", "content": "User message here"}] }' # Step 3: Check Perplexity response with Wardstone before returning to userWardstone Guard protects all Perplexity models with the same comprehensive security coverage. Whether you're using the latest releases or legacy models still in production, every API call is protected.
Secure Real-Time AI
Secure GPT-5 & o3 Applications
Defense-in-Depth for Claude
Try Wardstone Guard in the playground to see detection in action.