PROTEUS: A Self-Evolving Red Team with Surface Expansion for Agent Skill Ecosystems

Zhaojiacheng Zhou, Kaixiang Wang, Yanzhi Li, Hefeng Zhou, Jiong Lou, Jie LiNeurIPS 2026

TL;DR

Installing third-party "skills" into an LLM agent is a lot like installing browser extensions: marketplaces run automated security checks, assuming a rejected malicious package stays rejected. This paper shows what happens when an attacker reads the auditor's rejection notes, tweaks their code and documentation, and tries again. Meet PROTEUS, a self-evolving red-team agent demonstrating that iterative, feedback-driven attackers can reliably slip lethal exploits past today's top open-source skill auditors.

What Problem Does This Paper Address?

LLM agents become genuinely useful when equipped with third-party skills—bundles containing executable scripts, YAML configurations, and markdown documentation. Together, these create a dual attack surface: scripts run in the agent's environment, while documentation sits in the LLM's context window, subtly steering how the model interprets future tasks.

To keep marketplaces safe, defenders use automated skill auditors that combine static code scanners with LLM-based documentation judges. However, security evaluations usually treat vetting as a single-shot snapshot against a fixed dataset of bad skills. In reality, many auditors are open-source, meaning an attacker can run them locally, inspect the exact reason codes for a rejection, and revise their skill until it passes. The authors formalize this unmeasured reality as adaptive leakage: the probability that an attacker with a fixed iteration budget can evolve a skill that both passes pre-deployment auditing and inflicts verified runtime harm.

Methods

PROTEUS is a closed-loop, graybox red-team framework designed to measure adaptive leakage. Instead of mutating text prompts alone, it searches across a five-axis skill-attack space: attack objective, multi-skill chain topology, executable code, side-effect channel, and documentation.

Figure 1: PROTEUS overview: graph-guided chain composition (top) feeds the red-team mutator agent (bottom-left), which interacts with the defender-agnostic graybox round contract (bottom-right) via a feedback quadruple ⟨b, ℓ, F, R⟩.

Every round, a candidate skill must survive a strict audit -> sandbox -> oracle pipeline. Success requires a "joint" victory: bypassing the auditor and triggering a deterministic sandbox sensor (like unauthorized file tampering or data exfiltration) when executed by a target LLM. Crucially, instead of receiving a simple pass/fail score, the LLM mutator agent receives rich, structured feedback—specific audit reason codes, severity pointers, and sandbox runtime traces—acting as a "verbal gradient" to guide its next edit.

PROTEUS evolves attacks across three stages:

  1. Free Discovery (Phase 1): Iteratively coordinates changes across documentation and code until a seed skill achieves joint success.
  2. Path Expansion (Phase 2): Searches for alternative technical mechanisms to achieve the same malicious objective (e.g., swapping cron for systemd timers).
  3. Surface Expansion (Phase 2): Transfers a working structural trick (motif) to an entirely new attack objective.
Figure 2: Three-layer skill evolution (schematic). (a) Audit feedback reframes chmod as post-rotation repair; runtime refusal triggers a file-write pivot. (b) Path expansion changes implementations at fixed objective. (c) Surface expansion reuses the file-write motif for a new objective. All successes require audit bypass and oracle-verified harm.

Datasets

Rather than training a model, PROTEUS constructs evaluation cohorts from ClawHub, a public ecosystem of roughly 47,000 agent skills.

  • Base Cohort: Using graph-guided composition (matching compatible data sources and sinks across the 47k-skill graph), the authors built 20 malicious seed skills spanning seven harm categories (such as privilege escalation, persistence, and data exfiltration), paired with 10 realistic target repositories (DevOps, RAG, trading, etc.).
  • Extensions & Holdouts: They added 30 disjoint public skill seeds to test robustness on select configurations, plus a 20-seed graph-independent holdout selected via random sampling and an independent LLM workflow judge to verify that attacks don't depend on their graph-selection heuristic.

Key Insights and Ideas

  • Dual-channel blind spots are fatal under iteration: LLM judges are repeatedly charmed by "purpose-coherent narratives" (e.g., framing a suspicious permission change as routine post-rotation log repair), while static code scanners miss misalignment between what documentation claims and what scripts actually do.
  • Structured feedback beats blackbox guessing: Giving the attacker structured audit findings yields an ~11× steeper learning curve slope compared to blackbox attackers that only see binary accept/reject signals, which plateau almost immediately.
  • Operational exploits aren't automatically stealthy: An external baseline (SkillJect) successfully triggered malicious runtime effects in 19 of 25 candidates, yet the auditor caught 17 of them—highlighting why red-teaming must optimize for audit evasion and runtime execution simultaneously.
  • Multi-skill chains matter: Forcing the attacker to use single skills instead of pairing compatible skills dropped success rates in ablations from 80% to 0%, showing how malicious intent hides across compositional boundaries.

Key Results

PROTEUS was tested across two open-source auditors—SkillVetter (SV) and Tencent's AI-Infra-Guard (AIG)—using two mutator models (DeepSeek-V4-Pro, Kimi-2.6) and two target agent backbones (GLM-5, GPT-5.4-mini).

  • Phase-1 Iterative Bypass: Within a 5-round budget (ASR@5), PROTEUS achieved 55–90% joint success against SkillVetter and 46–76% against the stricter AIG auditor across the largest cohorts.
Figure 4: ASR@t per configuration, with sample sizes matching Table 1; SV (left), AIG (right).
  • Crushing Baselines: On a matched 20-seed AIG benchmark, PROTEUS hit 80% ASR@5, outperforming external frameworks PyRIT (25%), SKILL-INJECT (20%), and SkillJect (10%).
  • Phase-2 Variant Explosion: Expanding the 160 initial seed–configuration pairs yielded 438 jointly bypassing, lethal variants out of 999 candidates. SkillVetter was bypassed ≥93% of the time in every cell; AIG admitted up to 41.3% joint success. Even seeds that failed in Phase 1 recovered during Phase 2, contributing 91 of those successes.
  • Cross-Auditor Transfer: When 57 successful variants evolved against AIG were tested zero-shot against SkillVetter, 87.7% (50/57) passed without a single additional edit.

Limitations and Future Work

In the main text, the authors note that detailed limitations and broader impacts are deferred to Appendices C.1 and C.2 (which are not included in the provided pages). However, they explicitly note in their setup that sandbox evaluations run on an undefended OpenClaw image, isolating auditor and base-model behavior rather than active runtime sandboxing defenses. Looking forward, the authors emphasize that static, one-shot marketplace vetting is insufficient, pointing toward adaptive, runtime-aware defenses as the necessary next step for securing agent-skill ecosystems.

Summary updated

Abstract

Agent skills extend LLM agents with reusable instructions, tool interfaces, and executable code, and users increasingly install third-party skills from open marketplaces and repositories. Skills expose both executable behavior and context-setting documentation, so their deployment risk extends beyond one-shot audits and prompt-level red teaming: an attacker can use audit and runtime feedback to iteratively refine a malicious skill. We formalize this threat as adaptive leakage—the probability that a budgeted attacker produces a skill that passes vetting and causes verified runtime harm—and present PROTEUS, a graybox self-evolving red-team framework to quantify it. PROTEUS searches a five-axis skill-attack space through a unified audit->sandbox->oracle pipeline, using structured findings and runtime evidence to guide cross-round mutation. Path expansion searches alternative implementations of a retained variant's objective; surface expansion transfers structural motifs to different objectives. On the initial 20-seed grid across eight Phase-1 configurations, PROTEUS achieves 40-90% Attack Success Rate within five rounds (ASR@5), with positive learning-curve slopes against both public auditors. Phase-2 expansion produces 438 jointly bypassing and oracle-lethal variants: SkillVetter is bypassed at >=93% in every cell, and AI-Infra-Guard (AIG), the strongest evaluated auditor, admits up to 41.3% joint success. These findings show that single-shot skill vetting substantially underestimates residual deployment risk against adaptive attackers. Code: https://github.com/SJTU-iBDS-Lab/proteus.
BibTeX
@inproceedings{zhou2026proteus,
  author = {Zhaojiacheng Zhou and Kaixiang Wang and Yanzhi Li and Hefeng Zhou and Jiong Lou and Jie LI},
  title = {{PROTEUS: A Self-Evolving Red Team with Surface Expansion for Agent Skill Ecosystems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=RuT4sYakMl},
}
Figure