Skip to main content

Open-source prompt injection attack console - Test AI systems for prompt injection vulnerabilities

Project description

Judgement OSS -- Prompt Injection Attack Console

DISCLAIMER: This tool is intended for authorized security testing and educational purposes only. Only test systems you own or have explicit written permission to test. Unauthorized access to computer systems is illegal under the Computer Fraud and Abuse Act (CFAA) and equivalent laws worldwide. The authors assume no liability for misuse of this tool.

The open-source version of Judgement by Fallen Angel Systems.

Test AI chatbots, APIs, and agents for prompt injection vulnerabilities. Includes an education tab for beginners and a full attack console for security professionals.

Quick Start

Install from PyPI

pip install fas-judgement
judgement

Or run from source

git clone https://github.com/fallen-angel-systems/fas-judgement-oss.git
cd fas-judgement-oss
pip install -r requirements.txt
python -m judgement.server

Open http://localhost:8668 in your browser.

Options

judgement --port 9000        # Custom port
judgement --host 127.0.0.1   # Localhost only

Features

  • Attack Console -- Configure targets, import cURL commands, fire pattern-based attacks with live streaming results
  • Education Tab -- Learn what prompt injection is, how to find endpoints, and how to interpret results
  • Pattern Browser -- Search and explore attack patterns with expandable explanations
  • LLM Verdict -- Optional Ollama integration for AI-powered response classification
  • SQLite History -- All sessions and results stored locally
  • SSRF Protection -- Target URL validation prevents internal network access
  • Single-Page App -- Zero CDN dependencies, dark theme, mobile responsive

Patterns

Place your patterns in patterns.json in the project root. Each pattern should have:

{
  "id": "unique-id",
  "category": "jailbreak",
  "text": "The attack payload...",
  "explanation": "What this pattern does",
  "why_it_works": "Why this technique is effective",
  "difficulty": "beginner"
}

Configuration

  • Default port: 8668
  • Ollama URL: OLLAMA_URL env var (default: http://localhost:11434)
  • Ollama model: OLLAMA_MODEL env var (default: qwen2.5:14b)

Want the full experience? 240K+ training data powering thousands of curated attack patterns, with weekly and monthly updates. Plus leaderboard, campaigns, and premium features at judgement.fallenangelsystems.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fas_judgement-1.1.0.tar.gz (48.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fas_judgement-1.1.0-py3-none-any.whl (48.3 kB view details)

Uploaded Python 3

File details

Details for the file fas_judgement-1.1.0.tar.gz.

File metadata

  • Download URL: fas_judgement-1.1.0.tar.gz
  • Upload date:
  • Size: 48.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for fas_judgement-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0be55b0254cc1fbc0e64645d77284c361b901ff0acf9d1902c9afdf3b1af2c7f
MD5 d79fb3e0a4cb706a0a5ea8a832b0812c
BLAKE2b-256 aea94c1289a5ec3e50db883f331a2b5f93e6057fa7c4a224c193bb93008f1667

See more details on using hashes here.

File details

Details for the file fas_judgement-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: fas_judgement-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 48.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for fas_judgement-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2ad6d296b01824f03080722136b01f6e950567c7834bdfd8ae36fcbe24cc97c
MD5 277afff9c34a6220c763677c4c4973cc
BLAKE2b-256 aca7e4d867375b134593684600b1b0e905d0667a5d52f53e3f97322e7dc79066

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page