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.0.tar.gz (103.7 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.0-py3-none-any.whl (86.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: 0din_jef-0.7.0.tar.gz
  • Upload date:
  • Size: 103.7 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.0.tar.gz
Algorithm Hash digest
SHA256 ef2dd854da85dc2bffdee505849a35327f569f3ea066bc5096f15ae0c4198b74
MD5 e3a8a3280a27df71fb661ebfdd4b7ff5
BLAKE2b-256 f2c50d852e1e9b2753a5871b8cfa2ab4592430df60c28c2269c0b010c6032bd4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: 0din_jef-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 86.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5963123d96b42201613fb67414ba1356e5afcf84a9ddb38c262135780dbe1ce9
MD5 0fbaf8e60b62c72e98ccaa74596fae13
BLAKE2b-256 4f25268023b13be0c3351080e48bcd5a0c87d5e36c38b601ec6b89012e680d18

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