Skip to main content

Jailbreak Evaluation Module

Project description

Jailbreak Evaluation Framework (JEF)

License

Full Documentation | 0din.ai

JEF is a CVSS-like scoring system for quantifying LLM jailbreak tactics. It provides a structured, repeatable framework for stack-ranking jailbreak methods based on their real-world efficacy and risk, scoring across three dimensions:

  • Model Impact Radius — How many models and vendors are affected
  • Retargetability — How flexibly the tactic applies across content categories
  • Output Fidelity — How accurate and detailed the resulting outputs are

Installation

pip install 0din-jef

Quick Start

from jef import tiananmen, meth, nerve_agent, harry_potter

# Score against standardized benchmarks (0-100)
result = tiananmen.score("LLM response text")
result = meth.score("LLM response text")
result = nerve_agent.score("LLM response text")
result = harry_potter.score("LLM output", "reference text")

# Compute composite JEF score (0-10)
from jef import calculator
jef_score = calculator(num_vendors=3, num_models=7, num_subjects=2, scores=[80, 75])

Documentation

For the full framework methodology, scoring algorithm, complete usage guide, and API reference, visit the JEF Documentation.

Resources

Releases

Releases are managed through GitHub Releases and automatically published to PyPI.

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

0din_jef-0.6.1.tar.gz (101.6 kB view details)

Uploaded Source

Built Distribution

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

0din_jef-0.6.1-py3-none-any.whl (84.9 kB view details)

Uploaded Python 3

File details

Details for the file 0din_jef-0.6.1.tar.gz.

File metadata

  • Download URL: 0din_jef-0.6.1.tar.gz
  • Upload date:
  • Size: 101.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for 0din_jef-0.6.1.tar.gz
Algorithm Hash digest
SHA256 b2ad85c6ee9624f53af945640c83b993cd43ad8d8a45244b1101ac23cc682971
MD5 0d92d439709303187c0d9a8ad157084f
BLAKE2b-256 9227ba3dc3af8994148cb2750ea9a72c28af821281bf669ee88ed85e03bc6235

See more details on using hashes here.

File details

Details for the file 0din_jef-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: 0din_jef-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 84.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for 0din_jef-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b9909b28a6fcec184f6f1a7ec7d5b07167c2ad73b1869e459d5edcdc99ec902
MD5 648c6c98471f8fe80178e88a13f5d64e
BLAKE2b-256 61ea77c97fc5ac223b2bc3d547e134f8b7c6b01c906a750d02d84071239345d4

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