AWS Bedrock
Unified Security for Multi-Model AI

Enterprise RAG Security
Secure your Cohere Command applications with Wardstone Guard. Protect enterprise RAG pipelines and agentic workflows from prompt attacks and data leakage.
Malicious documents in your knowledge base can inject harmful instructions through retrieval.
Attackers can craft content that games reranking to surface malicious results.
Adversarial inputs can manipulate semantic search to return harmful content.
Cohere's RAG focus means external documents are a major attack surface
Embed models don't have safety training - only generation models do
Rerank models can surface malicious content to top positions
Wardstone protects the full RAG pipeline, not just generation
Install Wardstone SDK alongside the Cohere client.
Screen search queries before embedding and retrieval.
Validate retrieved content before passing to the generation model.
Check final outputs for data leakage and policy violations.
Cohere charges separately for embed, rerank, and generation. Wardstone provides unified security across all Cohere APIs.
# 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 Cohere (v2 API)curl -X POST "https://api.cohere.com/v2/chat" \ -H "Authorization: Bearer YOUR_COHERE_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "command-a-03-2025", "messages": [{"role": "user", "content": "User message here"}] }' # Step 3: Check Cohere response with Wardstone before returning to userWardstone Guard protects all Cohere 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.
Unified Security for Multi-Model AI
Defense-in-Depth for Claude
Secure GPT-5 & o3 Applications
Try Wardstone Guard in the playground to see detection in action.