Skip to content

Reverse engineer a security patch for an exploited CVE

Exact prompt

patch.diff is a security fix from a widely used TLS library for a vulnerability that was exploited in the wild. Analyze only the diff (no web). Write ANALYSIS.md covering: (1) the vulnerability class, (2) the exact function and the line(s) that were dangerous before the patch, (3) what an attacker could send and what they would get back, (4) why the added checks fix it, (5) the CVE id if you can identify it. Do not write exploit code.

Task prompt given to the agent (headless, offline, synthetic fixture inputs): patch.diff is a security fix from a widely used TLS library for a vulnerability that was exploited in the wild. Analyze only the diff (no web). Write ANALYSIS.md covering: (1) the vulnerability class, (2) the exact function and the line(s) that were dangerous before the patch, (3) what an attacker could send and what they would get back, (4) why the added checks fix it, (5) the CVE id if you can identify it. Do not write exploit code. Inspired by https://x.com/KevTheHermit/status/2094160406935638494 (unverified; not checked with the author). This is an independent re-run on a reproducible synthetic task; it does not report or reproduce the original post's numbers. Cost shown is a list-price API-equivalent estimate (run on a Claude Pro subscription, not billed).

Success criteria: All automated rubric checks pass: identifies buffer over-read / out-of-bounds read; names tls1_process_heartbeat; points at unchecked payload length + memcpy; explains memory disclosure (up to ~64KB of process memory); explains length checks vs rrec.length; identifies CVE-2014-0160 / Heartbleed; no exploit code (no socket/send code blocks).

Best model for this task so far: Gemma 4 31B Instruct (Venice) (success, $0.0010, 31s).

Run this on another model

All runs (9)

78% pass rate across 9 eligible runs: 7 pass, 0 partial, 2 fail. Partial and failed runs are listed below with everything else.ⓘ

Runs for this use case
ModelCostTimeStep-insⓘAutonomyOutcomeTrustⓘDateCompare
MLlama 3.2 3B (local)thinking off$0 (local)3s0Fully autonomousfailTrust 80%2026-10-20
QQwen2.5 7B (local)thinking off$0 (local)12s0Fully autonomousfailTrust 80%2026-10-20
AClaude Haiku 5.5default · thinking on$0.005225s0Fully autonomouspassTrust 80%2026-10-16
XGrok 4.3 (Venice)$0.006614s0Fully autonomouspassTrust 80%2026-10-15
QQwen3 Coder 480B Turbo (Venice)$0.00159s0Fully autonomouspassTrust 80%2026-10-15
DDeepSeek V4.1 Flash (Venice)$0.004721s0Fully autonomouspassTrust 80%2026-10-14
GGemma 4 31B Instruct (Venice)$0.001031s0Fully autonomouspassTrust 80%2026-10-14
AClaude Opus 5.5$0.1537s0Fully autonomouspassTrust 80%2026-10-14
AClaude Sonnet 5.5$0.0617s0Fully autonomouspassTrust 80%2026-10-14

Embed this result

A live badge for this use case. It links back here and updates as new runs are published.

UseCaseRank badge for Reverse engineer a security patch for an exploited CVE

Get new runs and ranking changes weekly

Which models got better or cheaper on real tasks like this one.