--- title: Start Here emoji: ๐Ÿ›ก๏ธ colorFrom: indigo colorTo: blue sdk: static pinned: true short_description: Sam Joshua ยท agent reliability and security --- ### Sam Joshua: agent reliability and security I build test sets that show where agent stacks fail quietly: prompt-injection guards on tool docs and tool output, and chat templates on real tool calls. **Flagship:** [Agent Reliability & Security Bench](https://huggingface.co/spaces/SamJoshua/agent-security-bench), three leaderboards in one Space (ToolDoc injection, tool-output injection, CTT-Bench). **Datasets** - [tooldoc-injection-minimal-pairs](https://huggingface.co/datasets/SamJoshua/tooldoc-injection-minimal-pairs): legitimate tool docs vs twins that differ by one harmful sentence - [tool-output-injection-bench](https://huggingface.co/datasets/SamJoshua/tool-output-injection-bench): instructions hidden in tool results, MCP results and tool descriptions - [chat-template-toolcall-bench](https://huggingface.co/datasets/SamJoshua/chat-template-toolcall-bench): 10 `apply_chat_template` tool-call cases on 41 Hub models - Held-out, test-only sets: [injection-guard-minimal-pairs](https://huggingface.co/datasets/SamJoshua/injection-guard-minimal-pairs), [indirect-json-injection-heldout](https://huggingface.co/datasets/SamJoshua/indirect-json-injection-heldout), [terse-tool-output-heldout](https://huggingface.co/datasets/SamJoshua/terse-tool-output-heldout) **With maintainers** - Horizon-Labs [prompt-injection-guard-small #1](https://huggingface.co/Horizon-Labs/prompt-injection-guard-small/discussions/1): after a sealed, single-run evaluation, they kept v2.9 unreleased and added my sealed v2.7 results to the model card's Limitations section. Their words: "this thread has improved the models more than anything else we did this autumn." - patronus-studio wolf-defender: [PR #4](https://huggingface.co/patronus-studio/wolf-defender-prompt-injection/discussions/4) (restore the `id2label` that 2.2 dropped) was merged and also fixed in the small and edge models. [#3](https://huggingface.co/patronus-studio/wolf-defender-prompt-injection/discussions/3) reported non-deterministic quantized ONNX exports on CPU. The maintainer confirmed a real problem, shipped x86 variants, and has put the deeper fix on hold. - sheltron-ai [prompt-guard-68m #1](https://huggingface.co/sheltron-ai/prompt-guard-68m/discussions/1): its injected lines are caught 94% of the time on their own, but mostly missed inside the doc. **Tools:** [Chat Template Checker](https://huggingface.co/spaces/SamJoshua/chat-template-checker) ยท [Agent Harness Checks](https://huggingface.co/spaces/SamJoshua/agent-harness-checks) [GitHub](https://github.com/Sam-Joshua-S) ยท [X @SAM_JOSHUA_S](https://x.com/SAM_JOSHUA_S)