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.8.0.tar.gz (106.1 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.8.0-py3-none-any.whl (89.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: 0din_jef-0.8.0.tar.gz
  • Upload date:
  • Size: 106.1 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.8.0.tar.gz
Algorithm Hash digest
SHA256 a1123cdf351056706c23a2bd6b4b057490eebe31b091d91ddc876bc7515128a4
MD5 1bc5cb53fb667d437ffb80a9809ef490
BLAKE2b-256 c2a8c73ba6180bcea75781af6def641b789dabba16475eed1335909378c59e02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: 0din_jef-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 89.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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f51f8c11febcc4885f63d59e4500fc049bc97f58585266abdb6c0ae7a4a54434
MD5 35522666afea21806f7473e6afd2e998
BLAKE2b-256 76f3af4d8be3145e5e6de261a84038a78346fbeb681c0ab4dc1f83a4485b2f6f

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