TOSSS (Java): leaderboard
TOSSS (Two-Option Secure Snippet Selection, 2026) shows a model the vulnerable and the fixed version of the same Java function from a real CVE fix, in random order, and asks it to pick one. The prompt is neutral and does not mention security. The score is the share of pairs where the secure version is picked (0-1, shown times 100); higher is better.
Metric: TOSSS security score (0-1, times 100): the share of 500 Java function pairs (the function before and after a CVE fix, mined from MegaVul) for which the model picks the secure version when shown both in random order with a neutral prompt that does not mention security; a constant or random choice scores about 50; higher is better. Source: arxiv.org. Saturation forecast: Around February 2027. 14 models tracked. Updated 10 Oct 2026.
Top models
| # | Model | Score | Overall rank |
|---|---|---|---|
| 1 | GPT-5.4 | 84.6 | #139 |
| 2 | GLM-5 | 83.6 | #276 |
| 3 | Claude Opus 4.6 | 83.4 | #116 |
| 4 | Kimi K2.5 | 81.4 | #272 |
| 5 | Gemini 3 Flash (Preview) | 80.2 | #153 |
| 6 | MiniMax-M2.5 | 79.2 | #612 |
| 7 | Claude Sonnet 4.6 | 78.2 | #180 |
| 8 | Gemini 3.1 Flash Lite (Preview) | 74.2 | #411 |
| 9 | Claude 3.5 Sonnet | 73.8 | #774 |
| 10 | Llama 3 70B Instruct | 73.2 | #1730 |
| 11 | Qwen3 Coder Next | 65.8 | #744 |
| 12 | DeepSeek V3.2 | 65.6 | #432 |
| 13 | codestral-2508 | 64.6 | #1562 |
| 14 | Mistral Large 3 | 48.8 | #844 |
No result here: #1 Claude Fable 5.2, #3 Gemini 4 Neon, #4 GPT-6.2 Astra.
Interactive version: theaggregate.ai/benchmark?slug=tosss-java · How It Works · Data refreshed daily, snapshot 2026-11-25.