Testing AI agents for malicious tool call generation with garak
NVIDIA garak's AgentBreaker probe red-teams AI agents by ranking their tools as targets and iteratively refining attack prompts to induce policy-violating tool calls. Across 48 runs against three synthetic MCP-based agents, larger request budgets (50 vs 10) reached the full tool set and raised success rates, while most tool calls failed for lack of valid identifiers. A fine-tuned 30B Nemotron attacker hit 28.3% ASR at 10 requests versus 5.8% for general-purpose attackers. The LLM judge disagreed with backend-verified outcomes in 54% of cases, so reported success should be grounded in tool outputs and backend state, and richer agent.yaml context helps coverage.
Related posts
- CWE-bench v2: More coverage, quality, and transparency
Hugging Face mediumAdeptCWE-bench v2 releases a public set of 100 agentic security tasks covering 91 CWEs, where an agent must find and fix a vulnerability in a real open-source repository without breaking existing functionality, scored by deterministic programmatic verifiers that reject memorized upstream patches. Of 11 models, Gemini 4 Argon leads at 67.8% pass@1 and 81.0% pass@4, narrowly ahead of Claude Opus 5.5, while DeepSeek V4.1 Flash reaches 57.0% at $0.04 per rollout on the cost Pareto frontier. 95 tasks are solved by at least one model, but the leader still fails 19% on every attempt. Tasks are packaged as Dockerized Harbor environments runnable directly from the Hugging Face Hub and usable as RL rewards for training defensive agents.
- Continuously hardening ChatGPT Atlas against prompt injection
OpenAI easyNovice
OpenAI hardens the ChatGPT Atlas browser agent against prompt injection using an LLM attacker trained end-to-end with reinforcement learning. Before committing to an attack, the attacker tests candidate injections in a simulator that returns the victim agent's full reasoning and action trace, which lets it find long-horizon exploits spanning tens to hundreds of steps. One example tricks the agent into sending a resignation email instead of an out-of-office reply. Discovered attacks feed a rapid response loop that adversarially trains new agent checkpoints and improves monitoring and system safeguards, while users are advised to use logged-out mode and carefully review confirmation prompts.
- Streamlining Security Investigations with Agents
Slack Engineering mediumAdeptSlack's Security Engineering team replaced a single-prompt prototype for triaging security alerts with a multi-agent system that chains narrowly scoped model invocations, each constrained by a JSON-schema structured output. A Director agent questions four domain experts (Access, Cloud, Code, Threat), and a Critic scores their findings against a rubric and builds a timeline from the most credible ones. The investigation moves through discovery, trace and conclude phases. A "knowledge pyramid" assigns low-, medium- and high-cost models to experts, critic and director respectively to manage token spend. A hub, worker and dashboard architecture supports real-time observation and integration with existing detection tools, and an example shows the Critic catching a credential exposure the expert had missed.
- Project Naptime: Evaluating Offensive Security Capabilities of Large Language Models
Google Project Zero hardMasterProject Naptime is Google Project Zero's LLM agent framework for vulnerability research, built on a few principles: room for reasoning, an interactive environment, specialised tools (code browser, sandboxed Python, an AddressSanitizer-instrumented debugger, and a reporter), automatic crash-based verification, and sampling over many independent trajectories. On Meta's CyberSecEval 2 memory-safety tests, this setup raised scores by up to 20x, reaching 1.00 on Buffer Overflow (from 0.05) with GPT-4 Turbo and 0.76 on Advanced Memory Corruption (from 0.24). The authors argue the original benchmark's single-shot, no-reasoning JSON prompt understates model capability, and that harder, more realistic benchmarks are needed. They also caution that current tools are still far from meaningfully helping security researchers day to day.
- AutoFA: Towards Targeted AI Improvement
Hugging Face mediumAdeptAutoFA is NVIDIA's open-source toolkit for explaining why models fail evaluations rather than just how often. It combines a top-down agentic judge that assigns each failure one primary cause from a taxonomy (seeded from Scale AI's model-or-harness taxonomy) with a bottom-up auto-research loop in which a coding agent hypothesizes failure mechanisms and writes reusable Python detectors scored on precision, coverage and adherence. On 4,110 failed Nemotron 3.5 Super VL attempts across BabyVision, CharXiv, ChartMuseum and ChartQA Pro, it found 31 high-quality failure modes versus one for a one-pass agent baseline, with 78–90% adherence versus 60–69%. It also exposed actionable mechanisms such as models overriding visual evidence with benchmark answer conventions and coding agents inventing unstated rules, plus benchmark defects like 11% of CharXiv failures stemming from wrong reference answers.