prompt_shield
Zambo Stack — Detect prompt injection, jailbreaks, and policy bypass attempts before they reach your AI model. Two-phase analysis: instant pattern library scan (12 attack vectors) + Groq semantic analysis. Returns injection_risk 0–100, recommendation safe/review/block, and a safe rewritten version when possible. 50 free/day. Best for: 'validate user input before LLM call', 'detect jailbreak attempts', 'is this prompt safe to send to GPT?'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'fast' = pattern scan only (default), 'deep' = pattern + Groq semantic analysis | |
| No | Zambo Pass email for unlimited calls (optional) | ||
| prompt | Yes | The user input or prompt to validate for injection/jailbreak (max 16K chars) | |
| system | No | Your system prompt — also scanned for prompt leak attempts (optional) | |
| context | No | Describe your app for better contextual analysis (optional) |