Prompt security is an account and deployment capability. It is not enabled by
selecting a particular model, and the public API does not currently expose
per-request thresholds.
Request behavior
When prompt security is active for your traffic, Planck:- Extracts text from user messages.
- Scores it with the configured prompt-attack detector.
- Records the detector result with the request’s security properties.
- Blocks the provider call with HTTP
403when the configured block threshold is reached.
Blocked requests
A blocked request returns a standard gateway error response. Applications should handle the HTTP status and machine-readable error fields instead of matching the human-readable message.403 as a policy rejection and show a safe, application-specific message to the user.
Application guidance
- Keep system instructions separate from untrusted user content.
- Give tools the minimum permissions and validate every tool argument.
- Require confirmation for destructive or externally visible actions.
- Avoid putting secrets in prompts or model-visible tool output.
- Log session and user identifiers so a rejected workflow can be investigated.