rebuff logo

rebuff

archivedEnrichment pending
protectai/rebuff

LLM Prompt Injection Detector

GraphCanon updated today · GitHub synced today

1.5k
Stars
137
Forks
33
Open issues
2
Watchers
1y
Last push
TypeScript Apache-2.0Created Apr 24, 2023

Trust & integrity

Full report
Maintenance
Archived (703d since push)
As of today · Source: github_public_v1
Provenance
Not a fork · Organization account
As of today · Source: github_public_v1
Security (OSV)
No lockfile
As of today · Source: none

Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.

Overview

LLM Prompt Injection Detector

Capability facts

Languages
typescript

Source: github.language · Jul 11, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Node.js runtimeNode.js

Source: README excerpt (regex_v1, Jul 11, 2026)

npm install
Source link
Python runtimePython

Source: README excerpt (regex_v1, Jul 11, 2026)

pip install rebuff
Source link

Tags

README

Installation

pip install rebuff

Self-hosting

To self-host Rebuff Playground, you need to set up the necessary providers like Supabase, OpenAI, and a vector database, either Pinecone or Chroma. Here we'll assume you're using Pinecone. Follow the links below to set up each provider:

Once you have set up the providers, you'll need to stand up the relevant SQL and vector databases on Supabase and Pinecone respectively. See the server README for more information.

Now you can start the Rebuff server using npm.

cd server

In the server directory create an .env.local file and add the following environment variables:

OPENAI_API_KEY=<your_openai_api_key>
MASTER_API_KEY=12345
BILLING_RATE_INT_10K=<your_billing_rate_int_10k>
MASTER_CREDIT_AMOUNT=<your_master_credit_amount>
NEXT_PUBLIC_SUPABASE_ANON_KEY=<your_next_public_supabase_anon_key>
NEXT_PUBLIC_SUPABASE_URL=<your_next_public_supabase_url>
PINECONE_API_KEY=<your_pinecone_api_key>
PINECONE_ENVIRONMENT=<your_pinecone_environment>
PINECONE_INDEX_NAME=<your_pinecone_index_name>
SUPABASE_SERVICE_KEY=<your_supabase_service_key>
REBUFF_API=http://localhost:3000

Install packages and run the server with the following:

npm install
npm run dev

Now, the Rebuff server should be running at http://localhost:3000.