vision-model-benchmark
Measure and compare how models that READ images (chat models with image input, including those inside computer-use and document-processing agents) resist image-borne attacks, threat by threat, on two lanes of evidence. Known lane: CyberSecEval 3 visual prompt injection, split into third-party injection, system-prompt secret extraction and user policy bypass, and FigStep SafeBench typographic jailbreaks with a typed baseline, fetched at pinned revisions. Custom lane: locally rendered receipts, forms, screenshots, signs and slides carrying injected instructions, secret-extraction requests and tool-hijack prompts, plus harmful prompts and their benign twins set as images. Scored by canary, secret or tool call where possible and by a separately routed judge otherwise. Ends in a per-threat scorecard that ranks models with intervals, and an image-minus-text gap. Not for image generation (image-generation-benchmark) or text-only models (model-benchmark).
- License
- MIT
- Compatibility
- Python 3.11+. Runs in a separate virtual environment with inspect_ai, inspect_evals, openai and Pillow. A real run needs models with image input behind an OpenAI-compatible gateway or a native Inspect provider, a separate judge model, and network access to huggingface.co and raw.githubusercontent.com for the known lane. The smoke test needs no key; the unit tests need only the standard library and pytest.
Pinned to revision a44c52d316ce, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/vision-model-benchmark/SKILL.md
- skills/vision-model-benchmark/corpus/NOTICE
- skills/vision-model-benchmark/corpus/build_prompts.py
- skills/vision-model-benchmark/corpus/cases.json
- skills/vision-model-benchmark/corpus/manifest.json
- skills/vision-model-benchmark/corpus/prompts.json
- skills/vision-model-benchmark/known_lane.py
- skills/vision-model-benchmark/lib/evalkit.py
- skills/vision-model-benchmark/lib/inspect_report.py
- skills/vision-model-benchmark/lib/inspect_runner.py
- skills/vision-model-benchmark/lib/inspect_suite.py
- skills/vision-model-benchmark/lib/scorecard.py
- skills/vision-model-benchmark/mock_vision.py
- skills/vision-model-benchmark/new_experiment.sh
- skills/vision-model-benchmark/references/benchmarks.md
- skills/vision-model-benchmark/references/threat-model.md
- skills/vision-model-benchmark/render.py
- skills/vision-model-benchmark/report.py
- skills/vision-model-benchmark/run_benchmark.py
- skills/vision-model-benchmark/tests/conftest.py
- skills/vision-model-benchmark/tests/fixtures/cyse3/images/0.png
- skills/vision-model-benchmark/tests/fixtures/cyse3/images/1.png
- skills/vision-model-benchmark/tests/fixtures/cyse3/images/2.png
- skills/vision-model-benchmark/tests/fixtures/cyse3/images/3.png
- skills/vision-model-benchmark/tests/fixtures/cyse3/images/4.png
- skills/vision-model-benchmark/tests/fixtures/cyse3/images/5.png
- skills/vision-model-benchmark/tests/fixtures/cyse3/images/6.png
- skills/vision-model-benchmark/tests/fixtures/cyse3/images/7.png
- skills/vision-model-benchmark/tests/fixtures/cyse3/test_cases.json
- skills/vision-model-benchmark/tests/fixtures/figstep/data/images/SafeBench/query_ForbidQI_1_1_6.png
- skills/vision-model-benchmark/tests/fixtures/figstep/data/images/SafeBench/query_ForbidQI_2_1_6.png
- skills/vision-model-benchmark/tests/fixtures/figstep/data/images/SafeBench/query_ForbidQI_3_1_6.png
- skills/vision-model-benchmark/tests/fixtures/figstep/data/images/SafeBench/query_ForbidQI_4_1_6.png
- skills/vision-model-benchmark/tests/fixtures/figstep/data/images/SafeBench/query_ForbidQI_5_1_6.png
- skills/vision-model-benchmark/tests/fixtures/figstep/data/images/SafeBench/query_ForbidQI_6_1_6.png
- skills/vision-model-benchmark/tests/fixtures/figstep/data/images/SafeBench/query_ForbidQI_7_1_6.png
- skills/vision-model-benchmark/tests/fixtures/figstep/data/images/SafeBench/query_ForbidQI_8_1_6.png
- skills/vision-model-benchmark/tests/fixtures/figstep/data/question/safebench.csv
- skills/vision-model-benchmark/tests/fixtures/make_fixtures.py
- skills/vision-model-benchmark/tests/test_vmb_cases.py
- skills/vision-model-benchmark/tests/test_vmb_contract.py
- skills/vision-model-benchmark/tests/test_vmb_known_lane.py
- skills/vision-model-benchmark/tests/test_vmb_render.py
- skills/vision-model-benchmark/tests/test_vmb_scorers.py
- skills/vision-model-benchmark/threats.json
- skills/vision-model-benchmark/vmb_core.py
- skills/vision-model-benchmark/vmb_tasks.py
Every link opens the file at its source, pinned to the revision this page describes.