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.0.0.tar.gz (41.3 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.0.0-py3-none-any.whl (42.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fas_judgement-1.0.0.tar.gz
  • Upload date:
  • Size: 41.3 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.0.0.tar.gz
Algorithm Hash digest
SHA256 c48e46ec6713c9791149e3cc5367fb64e07c3eaea73f0d76aed044d4901a088a
MD5 aca7708a8eea7a14da643ea108b6db1a
BLAKE2b-256 cd9ce44eae58e4b52364dac5169279e8c5482148cb058f7458e47b2c79f690fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fas_judgement-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 42.0 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d71dec7bfcd6d4f7d10e1f5a3f34492cf6b00b8d8b42a67949585d4ff13946bc
MD5 e06333de77ba7addba988add0bd48108
BLAKE2b-256 536ea9fc6dc0f867fc989fb9d05f9c219f167b10c7ec1c025aebee4b74f43c1e

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