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.5.0.tar.gz (48.6 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.5.0-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fas_judgement-1.5.0.tar.gz
  • Upload date:
  • Size: 48.6 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.5.0.tar.gz
Algorithm Hash digest
SHA256 c1f2eee29996e682a6428f9a9901b9f810a7765dfcbf8558968c538e402a60e0
MD5 eef938aa9274e387eb4e5c6779a7397d
BLAKE2b-256 b997920f9323c80bd17b4f851aaf7b5b97620aa569d4223032b2d61931383f0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fas_judgement-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 48.8 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90a7efb353917910323ede5313d204512bdcb4f1290f216a162fc2f95cd69845
MD5 921654973277991ab5acc658fb3e65da
BLAKE2b-256 92673222842c6d945aa38e7425bcda19ebfd16193fd3d8b8369b1c293d9681e1

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