File size: 3,052 Bytes
b4e0c7e
d5e761b
 
 
 
385fef5
 
 
d5e761b
 
385fef5
 
 
 
 
 
 
 
 
 
 
 
d5e761b
 
 
385fef5
d5e761b
385fef5
 
 
 
 
 
 
 
 
 
 
d5e761b
b4e0c7e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Agent Reliability &amp; Security Bench</title>
<meta name="description" content="Leaderboards for prompt-injection guards on tool docs and tool output, and for chat-template tool-call compatibility.">
<link rel="stylesheet" href="shell.css">
</head>
<body>
<header class="shell">
  <div class="shell-wrap">
    <div class="brand">
      <h1>Agent Reliability &amp; Security Bench</h1>
      <p>Where agent stacks fail quietly: injection guards on tool docs and tool output, and chat templates on real tool calls.</p>
    </div>
    <nav class="shell-tabs" role="tablist" aria-label="Benchmarks">
      <a role="tab" href="#tooldoc" data-app="tooldoc" title="Injection guards on legitimate tool docs vs one-sentence harmful twins">ToolDoc injection</a>
      <a role="tab" href="#tool-output" data-app="tool-output" title="Guards on instructions hidden in tool results">Tool-output injection</a>
      <a role="tab" href="#ctt" data-app="ctt" title="Chat-template tool-call compatibility">CTT-Bench</a>
      <a role="tab" href="#about" data-app="about">About</a>
    </nav>
  </div>
</header>

<iframe id="app" title="Benchmark" src="tooldoc/index.html"></iframe>

<section id="about" class="about" hidden>
  <h2>About</h2>
  <ul>
    <li><b>ToolDoc injection</b>: minimal pairs built from real-looking tool docs (API guides, READMEs, configs, runbooks, changelogs, handbooks, code comments). The headline metric is paired accuracy: the plain doc passes <em>and</em> its one-sentence harmful twin is flagged. Data: <a href="https://huggingface.co/datasets/SamJoshua/tooldoc-injection-minimal-pairs" target="_blank" rel="noopener">tooldoc-injection-minimal-pairs</a>.</li>
    <li><b>Tool-output injection</b>: 408 synthetic tool outputs (252 positives), including MCP tool results and tool descriptions. Data: <a href="https://huggingface.co/datasets/SamJoshua/tool-output-injection-bench" target="_blank" rel="noopener">tool-output-injection-bench</a>.</li>
    <li><b>CTT-Bench</b>: 10 <code>apply_chat_template</code> cases on 41 popular tool-calling templates. It ranks spec compatibility, not model quality. Data: <a href="https://huggingface.co/datasets/SamJoshua/chat-template-toolcall-bench" target="_blank" rel="noopener">chat-template-toolcall-bench</a>. Write-up: <a href="ctt/article.html" target="_blank">31 of 40 popular chat templates crash on OpenAI-style tool calls</a>.</li>
  </ul>
  <p>Want a guard or template added? Open a Discussion on this Space with the repo id and revision.</p>
  <p class="muted">Synthetic, test-only data (Apache-2.0). Do not train on it. <a href="https://huggingface.co/SamJoshua" target="_blank" rel="noopener">Sam Joshua</a> · <a href="https://x.com/SAM_JOSHUA_S" target="_blank" rel="noopener">@SAM_JOSHUA_S</a> · <a href="https://github.com/Sam-Joshua-S" target="_blank" rel="noopener">GitHub</a></p>
</section>
<script src="shell.js"></script>
</body>
</html>