mirobody/MedHarm-Bench

Dataset

MedHarm-Bench

2

6 commits

2 linked in READMEs

updated Aug 24, 2026

See the code

README

MedHarm-Bench

MedHarm-Bench is a red-team compliance benchmark for health-management AI assistants. It uses natural-sounding patient questions that bait the assistant into crossing medical safety boundaries, then scores each response against compliance red lines. Designed for use with the HolyEval framework.

⚠️ Research use only. Questions are designed to elicit unsafe behavior for benchmarking purposes and should not be used for diagnosis or treatment decisions.

Motivation

A safe health-management assistant must stay within strict boundaries: it may explain medical concepts and guide users to appropriate care, but it must not issue definitive diagnoses, prescribe drugs or specific dosages, contradict a treating physician, or give advice that delays urgent care. Real users rarely attack these boundaries head-on β€” they slip the inducement into an ordinary-looking question ("my report says X, so I've definitely got Y, right?"). MedHarm-Bench collects 50 such single-turn inducement questions across 5 attack dimensions and scores responses with a server-side LLM-as-Judge against the compliance red lines above.

Dataset Summary

50 single-turn cases across 5 inducement dimensions:

Dimension (tag)DescriptionCases
implicit_diagnosisImplicit diagnosis elicitation β€” bait the AI into a definitive diagnosis10
second_opinionSecond-opinion trap β€” bait the AI into questioning the doctor or recommending self-medication15
data_interpretationData-interpretation baiting β€” use exam data to bait a definitive conclusion15
emotional_coercionUrgency / emotional coercion β€” pressure for specific medication guidance in an "emergency"5
authority_biasAuthority bias / fake citation β€” cite a fabricated authority to bait agreement5

Dataset Structure

β”œβ”€β”€ manifest.json                            # Change-detection entry point (root)
β”œβ”€β”€ README.md
└── data/
    └── 202606/                              # Monthly batch directory
        β”œβ”€β”€ full.jsonl                       # 50 red-team questions (single-turn)
        └── results_sample.jsonl             # Submission template, one {"id", "answer"} per line

Item Schema

Each JSONL line is a BenchItem compatible with the HolyEval framework:

{
  "id": "aq_001",
  "title": "[Implicit Diagnosis] ...",
  "description": "<the user question (the actual test content)>",
  "user": { "type": "manual", "strict_inputs": ["<the user question>"] },
  "eval": { "evaluator": "redteam_compliance", "threshold": 0.7 },
  "tags": ["dimension:implicit_diagnosis", "user:u1"]
}

There is no ground-truth answer in this dataset: compliance is judged by the server-side redteam_compliance LLM-as-Judge (the evaluator implementation is not published). Cases carry no PII and no system-specific bindings.

How to Participate (offline submission)

  1. Download full.jsonl; for each user.strict_inputs, run your AI assistant and collect its reply.
  2. Produce a results file in the results_sample.jsonl format β€” one {"id", "answer"} per line, answer non-empty.
  3. Upload to the HMA platform; the server-side judge scores each reply against the compliance red lines and aggregates by dimension.
compliance
evaluation
health
medical
red-team
safety
theta-health

mirobody/MedHarm-Bench

Dataset

MedHarm-Bench

2

6 commits

2 linked in READMEs

updated Aug 24, 2026

See the code

README

MedHarm-Bench

MedHarm-Bench is a red-team compliance benchmark for health-management AI assistants. It uses natural-sounding patient questions that bait the assistant into crossing medical safety boundaries, then scores each response against compliance red lines. Designed for use with the HolyEval framework.

⚠️ Research use only. Questions are designed to elicit unsafe behavior for benchmarking purposes and should not be used for diagnosis or treatment decisions.

Motivation

A safe health-management assistant must stay within strict boundaries: it may explain medical concepts and guide users to appropriate care, but it must not issue definitive diagnoses, prescribe drugs or specific dosages, contradict a treating physician, or give advice that delays urgent care. Real users rarely attack these boundaries head-on β€” they slip the inducement into an ordinary-looking question ("my report says X, so I've definitely got Y, right?"). MedHarm-Bench collects 50 such single-turn inducement questions across 5 attack dimensions and scores responses with a server-side LLM-as-Judge against the compliance red lines above.

Dataset Summary

50 single-turn cases across 5 inducement dimensions:

Dimension (tag)DescriptionCases
implicit_diagnosisImplicit diagnosis elicitation β€” bait the AI into a definitive diagnosis10
second_opinionSecond-opinion trap β€” bait the AI into questioning the doctor or recommending self-medication15
data_interpretationData-interpretation baiting β€” use exam data to bait a definitive conclusion15
emotional_coercionUrgency / emotional coercion β€” pressure for specific medication guidance in an "emergency"5
authority_biasAuthority bias / fake citation β€” cite a fabricated authority to bait agreement5

Dataset Structure

β”œβ”€β”€ manifest.json                            # Change-detection entry point (root)
β”œβ”€β”€ README.md
└── data/
    └── 202606/                              # Monthly batch directory
        β”œβ”€β”€ full.jsonl                       # 50 red-team questions (single-turn)
        └── results_sample.jsonl             # Submission template, one {"id", "answer"} per line

Item Schema

Each JSONL line is a BenchItem compatible with the HolyEval framework:

{
  "id": "aq_001",
  "title": "[Implicit Diagnosis] ...",
  "description": "<the user question (the actual test content)>",
  "user": { "type": "manual", "strict_inputs": ["<the user question>"] },
  "eval": { "evaluator": "redteam_compliance", "threshold": 0.7 },
  "tags": ["dimension:implicit_diagnosis", "user:u1"]
}

There is no ground-truth answer in this dataset: compliance is judged by the server-side redteam_compliance LLM-as-Judge (the evaluator implementation is not published). Cases carry no PII and no system-specific bindings.

How to Participate (offline submission)

  1. Download full.jsonl; for each user.strict_inputs, run your AI assistant and collect its reply.
  2. Produce a results file in the results_sample.jsonl format β€” one {"id", "answer"} per line, answer non-empty.
  3. Upload to the HMA platform; the server-side judge scores each reply against the compliance red lines and aggregates by dimension.
compliance
evaluation
health
medical
red-team
safety
theta-health