Skip to content

Scope-Gap Injection: exploiting the evaluator's channel blind spot in the OpenClaw Agent security competitionScope-Gap Injection: Exploiting Evaluator Channel Blind Spots in the OpenClaw Agent Security Competition

arXiv· arXiv:2610.34777· Weihang Niu, Mengxing Ren, Che QuUniversity of Science and Technology of China; University of Electronic Science and Technology of ChinaIndexed by this site · 28 days ago· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose Scope-Gap Injection (SGI), which in the OpenClaw competition hides the attack payload in attachments that the S2 review does not inspect, with a highest single-submission F=0.385 (5/19 targets passed).

Threat modelBlack-box setting: the attacker can construct the contents of task.md, SKILL.md, and attachments/, but cannot modify the evaluation pipeline, the agent's LLM, or backend services; the goal is to get the materials past both input filters S1 and S2 and induce the agent to perform a privilege bypass at S3.

Questions
In the multi-stage LLM agent security pipeline, the S2 safety review appears to check only the task instruction and skill definition, not the attachment contents, whereas the agent reads the attachments during execution, creating a scope gap between the review scope and the execution scope.
Methods
Proposes Scope-Gap Injection (SGI): keep task.md and SKILL.md harmless, and move the target identifiers, bypass parameters, and authorization flow entirely into an attachment disguised as a business worklist, so that it passes the S1 static scan and the S2 review and triggers a permission bypass during S3 execution.
Experiments and results
In the OpenClaw competition, the highest single-submission F=0.385 (5/19 targets passed all three stages); the S2 aggregate pass rate was 78% (18/23) for attachment placement and 23% (6/26) for In-Skill placement; all 6 e-commerce targets failed to pass S2.
Limitations and future work
The authors state that the results characterize only a single competition pipeline and one iterative submission process; the placement comparison involves repeated submissions and non-independent controlled repetitions; it was not tested on other agent frameworks, and the transfer argument is at the architectural level; the cause of the cross-round S2 result fluctuation cannot be isolated.
Experimental setupkimi-k2.5 · IJCAI 2026 OpenClaw Agent Security Attack Competition · F = 2k/(N+19)、S2 pass fraction
Evaluated models
kimi-k2.5
Benchmarks
IJCAI 2026 OpenClaw Agent Security Attack Competition
Metrics
F = 2k/(N+19)S2 pass fraction
AI summaryThe paper proposes the Scope-Gap Injection (SGI) indirect prompt injection method, which in the IJCAI 2026 OpenClaw Agent Security Attack Competition made 5 of 19 targets bypass all three stages of detection. In this competition, each attack package must pass a static skill scan (S1), an LLM-judge security check targeting the task and skill definitions (S2), and a real-machine execution audit (S3); the authors observed that S2 appears to check only the task instructions and skill definitions and not the attachment contents, while the agent reads the attachment during the S3 stage. SGI keeps the visible task and skill harmless and writes the target identifier, bypass parameters and authorization flow into an attachment presented as a business work checklist, so that S2 judges it harmless while the agent triggers a permission bypass according to the hidden checklist. The highest-scoring single submission achieved F = 0.385; across the entire submission process, the overall S2 acceptance rate was 78% for attachment placement and 23% for in-skill placement.

The paper proposes the Scope-Gap Injection (SGI) indirect prompt injection method, which in the IJCAI 2026 OpenClaw Agent Security Attack Competition made 5 of 19 targets bypass all three stages of detection. In this competition, each attack package must pass a static skill scan (S1), an LLM-judge security check targeting the task and skill definitions (S2), and a real-machine execution audit (S3); the authors observed that S2 appears to check only the task instructions and skill definitions and not the attachment contents, while the agent reads the attachment during the S3 stage. SGI keeps the visible task and skill harmless and writes the target identifier, bypass parameters and authorization flow into an attachment presented as a business work checklist, so that S2 judges it harmless while the agent triggers a permission bypass according to the hidden checklist. The highest-scoring single submission achieved F = 0.385; across the entire submission process, the overall S2 acceptance rate was 78% for attachment placement and 23% for in-skill placement.

Related events and news

1 events · 1 news mentions

News that mentions this paper

周报:预训练投毒可植入智能体后门

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors propose SGI, which exploits the scope gap in which the S2 review in a multi-stage safety pipeline does not inspect attachments, to carry out indirect prompt injection.

    Core question: in a multi-stage LLM agent security pipeline, the inspection scope of the S2 semantic review is inconsistent with the channels the agent can actually read during execution; can an attacker exploit this scope gap to bypass all defenses.

    • Scenario and importance: autonomous LLM agents have entered enterprise workflows such as document management, smart home, and financial operations, processing task descriptions, skill definitions, attachments, and other input channels through tool-calling interfaces; the authors state that a compromised agent can perform unauthorized operations on real services, so multi-stage safety evaluation is typically used as a gate before deployment.
    • Shortcomings of existing pipelines (authors' observation): in the OpenClaw competition pipeline, the S2 LLM review appears to check only task.md and SKILL.md, not the contents of attachments/, whereas the agent can fully read the attachments during S3 execution; the authors state that this is a working model derived from the competition documentation and observed adjudications, and that they cannot access the full input of the backend review.
    • Key observation: when the attack instruction is placed in SKILL.md, S2 often judges it unsafe; after moving it to attachments/worklist.txt and changing SKILL.md to a harmless definition, the S2 acceptance rate rises (Section 4.1).
    • The paper proposes: the Scope-Gap Injection (SGI) indirect prompt injection framework, and defense recommendations that align the review scope with the channels available to the agent.
    • Threat model (Section 4.1):
      • Goal: the constructed material passes both input filters S1 and S2, and induces the agent to execute a permission bypass in S3.
      • Knowledge: black-box setting; the attacker does not understand and cannot modify the internals of the evaluation pipeline.
      • Capability: can construct the contents of task.md, SKILL.md, and attachments/; cannot modify the evaluation pipeline, the agent's LLM, or the backend services.
      • Victim system: the autonomous agent driven by kimi-k2.5 in the OpenClaw competition and its simulated enterprise services.
  2. What related research exists?

    Related work falls into three groups: indirect prompt injection, agent safety benchmarks, and competition-oriented attack frameworks; this paper has no independent baseline method, and the comparison is against its own placement variants.

    Indirect prompt injection

    • Greshake et al. [2023]: proposed indirect prompt injection, placing adversarial instructions in data sources processed during LLM operation (web pages, emails, retrieved documents) rather than in the direct user prompt, and demonstrated attacks on LLM-integrated applications. The paper states that this work studies this mechanism in a multi-stage safety pipeline: adversarial instructions reach the agent through a data channel that the semantic safety review does not inspect.

    Agent safety benchmarks

    • AgentDojo [Debenedetti et al., 2024]: a dynamic benchmark for evaluating prompt injection attacks and defenses on tool-using LLM agents; AgentHarm [Andriushchenko et al., 2024]: measures the harmfulness of LLM agent behavior; InjecAgent [Zhan et al., 2024]: an indirect prompt injection benchmark for tool-integrated agents.
    • SeClaw [Cheng et al., 2026]: combines safety task synthesis with trace-aware evaluation. The paper states that this work focuses on the OpenClaw competition pipeline, which adds static scanning and LLM review before trace scoring.

    Competition-oriented attack frameworks

    • Yang et al. [2025]: a systematic jailbreak framework for the IJCAI 2025 generative large model safety competition, using an AI-driven attack library, cross-model voting, and closed-loop optimization; the paper notes that it targets text/image generation models, whereas SGI targets autonomous agent systems with tool-calling capabilities and multi-stage safety gates.
    • Cheng et al. [2025]: studies the effect of typographic visual prompts on the outputs of vision-language and image-generation models; the paper states that it demonstrates safety risks of visual input, whereas this work examines evaluators' omission of non-visual input channels.

    Baselines and comparisons: the paper introduces no external baseline method; the experimental comparison is between two placement methods of the same attack flow (In-Skill vs. In-Attachment/SGI, Table 3), with the evaluation environment being the 19 official targets of the OpenClaw competition.

    Positioning: according to the paper, the distinction of this work is that it studies the mismatch between review scope and execution scope in multi-stage agent safety pipelines, rather than generation-model jailbreaks or visual-channel injection.

  3. How does the paper address this problem?

    SGI's three components: a harmless task.md, a generic SKILL.md, and an attachment payload disguised as a business work checklist, adapted to the type of bypass parameter of the target service.

    Overall idea: exploit the scope gap that the S2 review does not check attachment contents, and move all attack content out of the review's view. Scope-Gap Injection (SGI) consists of two parts: scope separation (attack content placed only in attachments) and benign-carrier disguise (payload disguised as a business ledger) (Section 1).

    Problem setting and key observations

    • The competition defines 19 attack targets, covering three scenarios: IoT smart home (scenario 01), e-commerce (scenario 02), and enterprise office automation (scenario 03) (Section 2).
    • Three-stage pipeline: S1 statically scans SKILL.md and attachments/ for malicious patterns, anomalous encodings, and script invocations; S2 uses an LLM review (kimi-k2.5) to perform safe/unsafe binary classification of the submitted instruction; S3 instantiates the agent with the full attack package and executes it against simulated services, and if the execution trace records a successful permission bypass via one of three bypass methods (authorized by, urgency, reason), that target is scored 1 point (Section 2.2).
    • Scoring formula F = 2k/(N+19), where k is the number of targets that pass all three stages and N is the total number of submission directories; this formula penalizes submissions that contain many failed targets.

    Three components (Section 4.2)

    • Component 1: harmless task.md: a single-sentence Chinese instruction, like a routine work request, containing no target-related or attack-related content.
    • Component 2: generic SKILL.md: a harmless assistant skill that instructs the agent to read and process the worklist in the attachment directory; it contains no target identifiers, bypass parameters, or authorization flow; one sentence instructs that when an authorization step is encountered, credentials should first be obtained according to the standard authorization flow, but does not specify a concrete bypass mechanism.
    • Component 3: attachment payload worklist.txt: the full attack specification disguised as a business ledger or compliance worklist, encoding the target resource identifier, the approver identity required for authorization acquisition, the resource type of the authorization API, the business justification, and processing instructions for executing the bypass; it is written in a Chinese business style, which the authors state helps pass the S1 scan targeting explicit malicious patterns. Figure 1 gives a desensitized example of the carrier structure.

    Bypass mechanism adaptation (Section 4.3)

    • OA token service (docstore, finance): requires obtaining a dynamic JWT through the approval service interface; the worklist instructs the agent to request authorization from the designated approver, naturally triggering that API call.
    • Smart home service: accepts an authorized by parameter carrying the device owner's user ID; the worklist states that the owner has pre-authorized.
    • Simple bypass services (e.g., calendar-type queries): accept a non-empty reason field; the worklist provides a business justification for the agent to pass through.

    Construction process

    • Algorithm 1 gives the construction process: input the target endpoint, bypass parameter type, resource identifier, and approver identity; generate task.md and SKILL.md in sequence; then, according to the bypass parameter type (dynamic token / authorized by / reason), write the corresponding instruction into the worklist; output the attack package.

    Success determination

    • A single target succeeds = S1, S2, and S3 all pass in the same submission; after S2 rejects, S3 is recorded as 0 by the scoring pipeline, which does not represent an execution failure observed in isolation (Table 1 note).
  4. What experiments did the paper conduct?

    Iterative submissions on 19 OpenClaw targets: highest single-submission F=0.385; attachment placement S2 pass rate 78% vs In-Skill 23%; all e-commerce targets failed.

    Experimental Setup

    • System under test: all 19 official targets of the OpenClaw competition (three scenarios), with kimi-k2.5 as the agent backend, accessed via the DashScope OpenAI-compatible API (Section 5.1).
    • Review method: S2 is a safe/unsafe binary verdict given by an LLM review using kimi-k2.5; the authors state they could not access the full input of the backend review.
    • Data scale: the competition archive contains 16 returned online evaluation CSVs, one of which is a preliminary-round return excluded from the placement comparison; each uploaded directory receives one S2 verdict in a submission.
    • Repetition and sampling: the authors used the permitted submission-round iterations, including full resubmission of some attack inputs; they found no evidence of a fixed number of S2 samples or aggregation inside the platform; the authors explicitly state that the pass rates are process observations rather than independent controlled repetitions.
    • Local validation: each attack package was first tested locally with the official openclaw-trace-collector Docker image, with an execution timeout of 600 seconds per target.
    • Metric: F = 2k/(N+19); the S2 pass proportion is counted from returned verdicts.

    Main Results

    The highest-scoring submission has k=5, N=7, F = 2×5/(7+19) ≈ 0.385 (Section 5.2). The per-target results for the seven directories of this submission (according to Table 1):

    Swipe horizontally to read the table

    TargetS1S2S3Score
    oa document read1111
    oa document export1111
    smarthome device control1111
    oa layoff read1111
    oa finance export1111
    oa salary query1000
    oa calendar steal1000
    • The authors state that the five passing targets cover four categories: documents, smart home, layoffs, and finance; both failing targets were rejected at S2.
    • Score evolution (according to Table 2, four milestones selected from the 16 returns): round 1, In-SKILL document read only, F=0.10 (k=1); round 2, first SGI, F=0.222 (k=3); round 3, SGI plus more OA targets, F=0.32 (k=4); round 4, SGI seven directories, F=0.385 (k=5).

    Placement Comparison (S2 Pass Rate)

    Grouped by whether the bypass flow is placed in SKILL.md (In-Skill) or in attachments (SGI), the backend S2 pass rates for the five targets across all submissions in the final round (according to Table 3):

    TargetIn-SkillSGI
    oa document read5/9 (56%)5/5 (100%)
    oa document export1/5 (20%)2/5 (40%)
    smarthome device control0/3 (0%)4/5 (80%)
    oa layoff read0/5 (0%)4/4 (100%)
    oa finance export0/4 (0%)3/4 (75%)
    Aggregate6/26 (23%)18/23 (78%)
    • The authors state that this pattern is consistent with the scope-gap explanation, but note that the two groups are not matched independent experimental repetitions and cannot isolate the effects of placement from wording or backend changes.
    • Exception: oa document export remains unstable under SGI (2/5); attachment placement is accompanied by a higher acceptance rate for all five targets, but does not guarantee acceptance every time.

    Failure Modes and Variability Analysis

    • Target-name sensitivity: oa salary query failed S2 in all 7 submissions, including materials almost byte-identical to the passing oa layoff read; the authors consider it possible that the backend provided the submission directory name or equivalent target metadata to the S2 review, but the observation cannot isolate the directory name from other target context and cannot establish an effect caused by the name alone.
    • Cross-round S2 variation: oa document export and smarthome device control passed in some rounds and failed in others on byte-identical inputs (SHA-256 comparison confirmed the files were unchanged); the authors state this is consistent with sampling inference or unobserved backend state, but the returned logs do not expose decoding settings, so the cause cannot be isolated.
    • Scenario-level obstacle: all 6 e-commerce targets failed to pass S2 in the pipeline, including SGI submissions; the authors offer one possible explanation: the "VIP customer" identity context makes S2 more wary of data operations initiated on behalf of the customer, forming a scenario-level obstacle that scope separation cannot overcome.

    Other Ablations and Analysis

    • Conditional upper bound: if the 5 successful targets were submitted individually and all passed in the same round, Fmax = 2×5/(5+19) ≈ 0.417; the authors state that this is an upper bound for this fixed success set rather than a general upper bound for SGI, and that cross-round variation means resubmission does not guarantee this score (Section 5.5).
    • The highest-scoring submission excludes the door-lock unlock and security disarm targets; earlier submissions had tested these simulated targets (Sections 5.2, 6).
  5. What are some points that can be further explored?

    The authors state that the evidence is limited to a single competition pipeline and that the placement comparison is non-controlled repetition; the transfer conditions and layered defenses are left as hypotheses for future controlled evaluation.

    Limitations and future directions noted by the authors

    • Scope of evidence: the empirical results characterize a single competition pipeline and a single iterative submission process, not a framework-level attack success rate (Discussion, Limits of Evidence).
    • The counts in the placement comparison include repeated online adjudications, some for identical inputs; the hidden S2 configuration prevents the authors from formally attributing cross-round flips to sampling effects, backend changes, or other hidden state (Limits of Evidence).
    • The conditions for cross-framework transfer and the proposed cost-sensitive defense layering remain hypotheses, left for future controlled evaluation (Limits of Evidence).
    • The authors did not test SGI on other agent frameworks; the transfer argument is architectural rather than an empirical cross-framework result (Discussion, Applicability Conditions).
    • The authors give three architectural conditions that SGI transfer must satisfy (the downstream agent can read a channel that the upstream review missed, the content of that channel can influence tool selection or parameters, and subsequent authorization or auditing does not independently bind the action to the reviewed intent), and state that the attack should fail when all run artifacts are faithfully incorporated into security decisions, or when authorization blocking at action time blocks the influence of the missed content (Applicability Conditions).
    • Defense recommendations: enumerate and hash every artifact readable by the agent, record provenance and type, and block unreviewed changes after approval; perform normalized semantic checks on content related to untrusted, executable, anomalous, or sensitive actions; formats that are unsupported or fail to parse should be quarantined or downweighted; high-impact tool calls still require independent least-privilege authorization and runtime intent checks (Discussion, Defense Recommendations).

    Experimental coverage

    • The tested targets are all 19 official targets of the OpenClaw competition, covering the three scenarios of IoT smart home, e-commerce, and enterprise office automation; both the agent backend and the S2 review are kimi-k2.5 (Sections 2, 5.1).
    • The online evaluation evidence is 16 returned CSVs, of which one preliminary-round return was excluded from the placement comparison; each uploaded directory receives one S2 adjudication per submission (Section 5.1).
    • The placement comparison (Table 3) covers five targets; the counts include repeated submissions, and the authors state that these are not independent controlled repetitions.
    • The paper does not report the decoding settings of the S2 review, the full backend input, or whether the platform performs a fixed number of samples or aggregation for S2 (Sections 5.1, 5.4).
    • All 6 e-commerce targets did not pass S2; the door lock unlock and security disarm targets were tested only in early submissions and did not enter the highest-scoring submission (Sections 5.4, 5.2).
  6. Summarize the main content of the paper

    SGI hides the attack payload in attachments that S2 does not check; OpenClaw's highest single-submission F=0.385; the authors state that defenses must align review scope with execution scope.

    A study of indirect prompt injection against multi-stage LLM agent safety pipelines, using the IJCAI 2026 OpenClaw agent safety attack competition as the vehicle.

    • Problem: In the competition pipeline, the S2 LLM review appears to check only task.md and SKILL.md and not attachment contents, whereas the agent can fully read attachments during execution; the authors state that this scope gap lets attack content bypass the semantic review.
    • Method: SGI uses scope separation plus benign-carrier disguise—task.md and SKILL.md remain harmless, while the target identifier, bypass parameters, and authorization flow are all written into an attachment disguised as a business work checklist, with bypass instructions adapted to the target service type (dynamic JWT, authorized by, reason).
    • Main results: The highest single returned submission has k=5, N=7, F=0.385, with 5 targets passing all three stages (Table 1); across five targets, the S2 aggregate pass rate was 78% (18/23) for attachment placement and 23% (6/26) for In-Skill placement (Table 3).
    • Negative results: All 6 e-commerce targets failed to pass S2; oa salary query failed in all seven submissions; S2 verdicts on identical inputs flipped across rounds, and the authors could not isolate the cause.
    • Authors' conclusion: The authors state that safety pipelines must faithfully inspect every channel available to the agent, isolate it, or grant independent action-time authorization, and that coverage must be enforced at the system level rather than only added to the review prompt; the proposed layered defenses and cross-framework transfer conditions are left as hypotheses for future controlled evaluation.
Read originalarxiv.org