Rebuff
Policy enginerebuff
Open-source prompt-injection detector combining heuristics, an LLM check, a vector store and canary tokens.
- Provider
- default
- Kind
- Policy engine
- Category
- Operations
- Official docs
- https://github.com/protectai/rebuff
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| canaryTokens | boolean | — | no | false | inherited |
| effect | enum | audit | deny | modify | deploy-if-not-exists | no | — | ▸ audit |
| enforcementMode | enum | enforced | disabled | no | — | inherited |
| heuristicCheck | boolean | — | no | true | inherited |
| llmCheck | boolean | — | no | true | inherited |
| managed | boolean | — | no | false | ▸ false |
| policyCount | integer | — | no | — | inherited |
| remediation | boolean | — | no | false | inherited |
| scope | enum | resource | group | account | organization | no | — | ▸ resource |
| vectorCheck | boolean | — | no | true | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
No rule reads this kind yet. That is a gap, not a guarantee.
nodes:
- { id: "rebuff", component: "rebuff" }Cloud Configalibaba-cloud-configData Security Centeralibaba-data-security-centerAmazon CodeGuru Revieweraws-codeguru-reviewerAWS Configaws-configAWS Control Toweraws-control-towerIAM Access Analyzeraws-iam-access-analyzerAWS Lake Formationaws-lake-formationAWS License Manageraws-license-managerAWS Organizationsaws-organizationsAWS Resource Access Manageraws-ramAmazon Verified Permissionsaws-verified-permissionsMicrosoft Entra Conditional Accessazure-conditional-accessAzure Policyazure-policyMicrosoft Entra Privileged Identity Managementazure-privileged-identity-managementCloudflare Data Loss Preventioncloudflare-dlpCalypsoAIcalypsoaiCerboscerbosOPA GatekeepergatekeeperGuardrails AIguardrails-aiHiddenLayer AI Security PlatformhiddenlayerKubeArmorkubearmorKubewardenkubewardenKyvernokyvernoLakera Guardlakera-guardLLM Guardllm-guardNeMo Guardrailsnemo-guardrailsOpen Policy AgentopaPermit.iopermit-ioGeneric policy enginepolicy-enginePrompt Securityprompt-securityProtect AIprotect-aiRobust Intelligencerobust-intelligenceSonarQube ServersonarqubeDigitalOcean CSPMdigitalocean-cspmAccess Context Managergoogle-access-context-managerAssured Workloadsgoogle-assured-workloadsBinary Authorizationgoogle-binary-authorizationIdentity and Access Managementgoogle-cloud-iamFirebase App Checkgoogle-firebase-app-checkModel Armorgoogle-model-armor
and 16 more → Policy engine page# yaml-language-server: $schema=../../schema/component.schema.json # Rebuff: Protect AI's open-source (Apache-2.0) prompt-injection detector layering heuristics, an LLM # classifier, a vector store of past attacks and canary tokens. Retired May 2025: the repo was archived # read-only on 16 May 2025 and called itself a prototype. Per python-sdk sdk.py, detect_injection runs all # three checks by default with thresholds 0.75 heuristic, 0.90 vector and 0.90 model. schemaVersion: "1" type: "component" id: "rebuff" kind: "policy-engine" provider: "default" docs: "https://github.com/protectai/rebuff" defaults: managed: false scope: "resource" effect: "audit" properties: heuristicCheck: type: "boolean" default: true vectorCheck: type: "boolean" default: true llmCheck: type: "boolean" default: true canaryTokens: type: "boolean" default: false