Skip to content

wtcooper/model-evals

v0.1.0MIT

Evaluate a model through whatever API it has: security benchmarks for chat, vision-input, decision, voice and image-generation models, each with a threat model and two lanes of evidence (published benchmarks and a small core set) that rank models threat by threat.

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.
Read SKILL.md at the source

Pinned to revision a44c52d316ce, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.