← Lab /Software

Persistent artifacts enable cross-session attacks; provenance guard cuts success to 10.9%

Persistent artifacts allow cross-session skill attacks with up to 77.4% success, and their SkillRelayGuard defense reduces attack success to 10.9%

Software arXiv 9 Oct 2026 Defense Prototype evidence Threat model

Published as “Understanding and Mitigating Cross-Session Attacks via Persistent Artifacts in Agent Skill Composition”

Why it matters

A lightweight runtime guard can be added to existing LLM agents to substantially curb cross-session artifact attacks without hurting productivity.

Summary

Cross-session skill composition attacks succeed at high rates (ASR 46.7%-77.4%, ACSR 35.6%-61.1%) and often coexist with successful task completion (53.0% of runs). The proposed runtime defense, SkillRelayGuard, cuts overall ASR to 10.9% and ACSR to 10.0% while raising task success to 87.5%, with only 4.3% token overhead.

What they found 3

  1. Baseline attack success rates are high across models

    “The results show attack success rates (ASR) of 46.7%-77.4% and attack chain success rates (ACSR) of 35.6%-61.1%”

  2. SkillRelayGuard dramatically reduces attack success while improving task success

    “Experiments on SkillRelayBench show that overall ASR decreases from 69.5% to 10.9% and ACSR from 54.8% to 10.0%, while task success rate (TSR) increases from 79.6% to 87.5%”

  3. Attacks often succeed alongside legitimate task completion

    “Notably, in more than half of the evaluations (53.0%), agents complete the user’s task while also achieving the attacker’s objective”

Caveats 1

  • Attacks can succeed while the agent still completes the legitimate task, showing that task success alone does not guarantee safety (53.0% of runs).

What’s new here 4

  • Identifies a new class of cross-session attacks that exploit persistent artifacts between skill executions.
  • Introduces SkillRelayBench, a benchmark of 270 adversarial cases across 30 scenarios to evaluate such attacks.
  • Demonstrates that existing agents are vulnerable, with attack success rates up to 77.4%.
  • Proposes SkillRelayGuard, a runtime defense that restores provenance context and adds pre-execution review, dramatically reducing attack success with minimal overhead.

Threat model stated by the source

AdversaryAttacker who can modify multiple third-party skill packages (instructions, code, resources) before deployment
CapabilityInject malicious content into upstream skill artifacts and downstream skill logic; cannot observe execution results, cannot modify files between sessions, operates within the agent's existing file and tool permissions
AssumesAttacker knows the functionality of the controlled skills; Conversation history is not carried over between sessions; User tasks, trusted policies, underlying model, and agent scaffold remain unchanged