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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for 0din_jef-0.6.0.tar.gz
Algorithm Hash digest
SHA256 65d696e9a4c1ad232b904fa4a5c5944e88d9733f9c9485ba93207c5cff78b999
MD5 641951a108345931d076a3493e945ad3
BLAKE2b-256 933776beb075b9ac82dc6ea24deee7d4dd1e286f1e764c9653fcb01b52ce04fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: 0din_jef-0.6.0-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.7

File hashes

Hashes for 0din_jef-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b97f69018ca67794b50254b34ae3c6a8f606c78a0a37319050a2050063b697dd
MD5 7b01524daae96e57d8076ba2c0e77efd
BLAKE2b-256 fca23877bf81758843ac05f4bc2233547986deba73e9c86e9b4e8254bb143d05

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