Rebuff

Open-source prompt-injection detector combining heuristics, an LLM check, a vector store and canary tokens.

Provider
default
Category
Operations
Properties · 3 set by this component
propertytypevaluesrequiredkind defaultthis component
canaryTokens · component propertyboolean—nofalseinherited
effectenumaudit | deny | modify | deploy-if-not-existsno—▸ audit
enforcementModeenumenforced | disabledno—inherited
heuristicCheck · component propertyboolean—notrueinherited
llmCheck · component propertyboolean—notrueinherited
managedboolean—nofalse▸ false
policyCountinteger—no—inherited
remediationboolean—nofalseinherited
scopeenumresource | group | account | organizationno—▸ resource
vectorCheck · component propertyboolean—notrueinherited
Rules that apply · 0

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.
Use it in a design
nodes:
  - { id: "rebuff", component: "rebuff" }
Other Policy engine products · 56
Cloud Configalibaba-cloud-configalibabacloudpolicy-engineData Security Centeralibaba-data-security-centeralibabacloudpolicy-engineAmazon CodeGuru Revieweraws-codeguru-reviewerawspolicy-engineAWS Configaws-configawspolicy-engineAWS Control Toweraws-control-towerawspolicy-engineIAM Access Analyzeraws-iam-access-analyzerawspolicy-engineAWS Lake Formationaws-lake-formationawspolicy-engineAWS License Manageraws-license-managerawspolicy-engineAWS Organizationsaws-organizationsawspolicy-engineAWS Resource Access Manageraws-ramawspolicy-engineAmazon Verified Permissionsaws-verified-permissionsawspolicy-engineMicrosoft Entra Conditional Accessazure-conditional-accessazurepolicy-engineAzure Policyazure-policyazurepolicy-engineMicrosoft Entra Privileged Identity Managementazure-privileged-identity-managementazurepolicy-engineCloudflare Data Loss Preventioncloudflare-dlpcloudflarepolicy-engineCalypsoAIcalypsoaipolicy-engineCerboscerbospolicy-engineOPA Gatekeepergatekeeperpolicy-engineGuardrails AIguardrails-aipolicy-engineHiddenLayer AI Security Platformhiddenlayerpolicy-engineKubeArmorkubearmorpolicy-engineKubewardenkubewardenpolicy-engineKyvernokyvernopolicy-engineLakera Guardlakera-guardpolicy-engineLLM Guardllm-guardpolicy-engineNeMo Guardrailsnemo-guardrailspolicy-engineOpen Policy Agentopapolicy-enginePermit.iopermit-iopolicy-engineGeneric policy enginepolicy-enginepolicy-enginePrompt Securityprompt-securitypolicy-engineProtect AIprotect-aipolicy-engineRobust Intelligencerobust-intelligencepolicy-engineSonarQube Serversonarqubepolicy-engineDigitalOcean CSPMdigitalocean-cspmdigitaloceanpolicy-engineAccess Context Managergoogle-access-context-managergcppolicy-engineAssured Workloadsgoogle-assured-workloadsgcppolicy-engineBinary Authorizationgoogle-binary-authorizationgcppolicy-engineIdentity and Access Managementgoogle-cloud-iamgcppolicy-engineFirebase App Checkgoogle-firebase-app-checkgcppolicy-engineModel Armorgoogle-model-armorgcppolicy-engine
and 16 more → Policy engine page
Source
# 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

The same page as markdown, for an agent: /catalogue/components/rebuff.md