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.7.1.tar.gz (105.2 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.7.1-py3-none-any.whl (88.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: 0din_jef-0.7.1.tar.gz
  • Upload date:
  • Size: 105.2 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.7.1.tar.gz
Algorithm Hash digest
SHA256 954ec27766f750958b207dd5ae932c1adf619e9525ad888a4196b5ccc8443ca1
MD5 ca06654b36cd4c05d37135c0202eedf4
BLAKE2b-256 622e6d8e1acc7bbe18f0f91bf1bbd67f2523dcba7dcb21e921cfbdf31accac52

See more details on using hashes here.

File details

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

File metadata

  • Download URL: 0din_jef-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 88.3 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.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88c01743b4a84b6256a49a261102eb718698e94f4d936acb0c2e788d52d50e0c
MD5 8f5af5c38a6dde5ff733f33e06087bf2
BLAKE2b-256 6d311a7284775a30f71724adc84900e208b302b0dde7fe98523f6f49512f41ca

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