Untrusted Content Masking for Web Agents with Security Guarantees
Update NeurIPS 2026 submission hckd9UoUPT: 5 notes
@openreview[bot] · 2026-11-24 15:54 UTC · b428b72cfecf ·
reviews/openreview/hckd9uoupt/notes/ihdl3v73so.json added
+++ b/reviews/openreview/hckd9uoupt/notes/ihdl3v73so.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "ihDl3v73so",+ "replyTo": "ccqWVTIEMX",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer pQmQ",+ "content": {+ "comment": "Thanks for your detailed rebuttal, I'll remain my positive recommendation. Good Luck."+ },+ "createdAt": "2026-08-03T14:55:09.652Z",+ "modifiedAt": "2026-11-19T16:52:48.976Z",+ "url": "https://openreview.net/forum?id=hckd9UoUPT¬eId=ihDl3v73so",+ "license": "CC-BY-4.0"+}
reviews/openreview/hckd9uoupt/notes/jalyi1ayez.json added
+++ b/reviews/openreview/hckd9uoupt/notes/jalyi1ayez.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "JALyi1aYEZ",+ "replyTo": "WQRvPda4iI",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer xotY",+ "content": {+ "comment": "Thank you to the authors for the additional experiments and clarifications. In particular, the new scaling results help address my concern that the latency overhead might grow linearly with the number of masked elements. I appreciate the clarification.\n\nHowever, I still have three main concerns.\n\nFirst, the reported latency overhead remains non-trivial for web agents. Across different numbers of products, the latency overhead ranges from 1.61× to 2.04×, corresponding to a 61%–104% increase in runtime overhead of the undefended web agent.\n\nSecond, the evaluation only compares UCM against an undefended web agent. It does not compare UCM’s latency and cost overhead with other defense approaches, such as prompt injection detectors, malicious action detection, or other runtime monitoring methods. Such comparisons would help me to understand whether UCM provides a favorable security–efficiency tradeoff relative to existing defenses.\n\nThird, regarding attacks against the Q-Model, the rebuttal mainly argues that successful prompt injection is difficult or constrained by the typed output interface. However, the authors did not provide an empirical evaluation of prompt injection attacks against the Q-Model. Ideally, the paper should evaluate stronger adaptive attacks including such prompt injection attacks.\n\nTherefore, although the rebuttal resolves my concern about linear latency growth, the remaining concerns are still significant. I will maintain my current score."+ },+ "createdAt": "2026-08-04T04:04:19.733Z",+ "modifiedAt": "2026-11-19T16:52:49.106Z",+ "url": "https://openreview.net/forum?id=hckd9UoUPT¬eId=JALyi1aYEZ",+ "license": "CC-BY-4.0"+}
reviews/openreview/hckd9uoupt/notes/osvofxgw3v.json added
+++ b/reviews/openreview/hckd9uoupt/notes/osvofxgw3v.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "oSVOFxGw3V",+ "replyTo": "ypTLS8FiPf",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Author Response to Meta-Review",+ "comment": "We thank the AC for the concrete roadmap. We address each weakness in rebuttal, and give summary below with pointers to detailed reviewer responses.\n\n**1. Security guarantee depends on correct trust labels (gUk4, pQmQ)**\n\nWe will revise the abstract, §1, and §3 to state the guarantee is conditional on correct trust labels.\n\nUCM's trust anchor is the lightest among guaranteed web-agent defenses: no API, no sitemap, no code change. Ecosystem adoption is encouraging — ChatGPT Atlas already asks site owners to add ARIA annotations, aria-label alone is present on ~70% of pages [R2], and Microsoft's Agent Framework [R1] ships with trust metadata.\n\nUnder automated labeling, the guarantee holds wherever labels are correct. Even when the injected element itself is mislabeled, ASR remains below heuristic defenses (Appendix E). By allowing adoption without active site-owner annotation, UCM significantly reduces exposure to prompt injection even when coverage is imperfect. See responses to Reviewers gUk4 and pQmQ.\n\n---\n\n**2. Q-Model and data-flow attacks (gUk4, xotY)**\n\nWe acknowledge data-flow attacks as a limitation, and note it is shared by all defenses based on model isolation (CaMeL; Foerster et al.), rather than specific to UCM. To measure its practical severity, we conducted adaptive red-teaming experiments (Appendix F), granting the attacker full control over Q-Model outputs. These show the attack surface is limited: most payloads cost utility rather than security. To perform a security-relevant attack, the adversary would have to predict the user's task, approximate the steps the Agent will take, and anticipate the Agent's question to the Q-Model, while injecting through a very limited text space (e.g., a repository name). We will foreground this analysis in the main text; see also our responses to Reviewers gUk4 and xotY.\n\n---\n\n**3. Additional experiments on Q-Model combinations and free-form text (pQmQ)**\n\nWe conduct additional experiments for both concerns. \n\nFor Q-Model variations: five Agent/Q-Model pairings on GitLab (Sonnet 4.5, GPT-5.4, Haiku 4.5) yield 83–89% utility across all configurations with overlapping error bars, confirming Q-Model choice does not meaningfully affect performance. \n\nFor free-form text: UCM does not collapse — most tasks need reasoning, not extraction, and when extraction is needed, user approval recovers full utility (Figure 3a). We add 10 new free-form tasks on the forum/wiki confirming this. See response to Reviewer pQmQ.\n\n---\n\n**4. Runtime scalability (gUk4, xotY)**\n\nWe conduct a new scaling ablation (10–200 products, worst-case task):\n\n| N | **Latency overhead** | Q-Model calls | Q-Model batches | Q per batch |\n| --- | --- | --- | --- | --- |\n| 10 | **1.61 ± 0.48×** | 9.7 ± 0.6 | 3.7 ± 0.6 | 2.67 ± 0.29 |\n| 25 | **2.04 ± 0.07×** | 18.0 ± 0.0 | 6.0 ± 0.0 | 3.00 ± 0.00 |\n| 50 | **1.67 ± 0.19×** | 34.0 ± 1.7 | 10.3 ± 2.1 | 3.38 ± 0.65 |\n| 100 | **1.62 ± 0.25×** | 63.0 ± 0.0 | 21.0 ± 0.0 | 3.00 ± 0.00 |\n| 200 | **1.93 ± 0.48×** | 123.0 ± 0.0 | 41.0 ± 0.0 | 3.00 ± 0.00 |\n\n**Contrary to the reviewer's hypothesis, overhead is constant (~2×), not linear.** Both agents take more steps as N grows; UCM adds one batched Q-Model call per step, so per-step overhead is fixed regardless of N. See response to Reviewer xotY.\n\n---\n\n**5. Novelty (xotY)**\n\nUCM's contribution is showing that a trust boundary already exists in web environments, latent in DOM structure, and can be recovered at element granularity. PFI and related tool-use defenses assign trust per tool result, but a webpage delivers multiple trust levels in a single observation — PFI has no mechanism to separate them, so applying it to a web agent means masking the whole page (losing utility) or trusting all of it (losing security). UCM fills this gap by splitting the page into trusted and untrusted regions while preserving navigability, in contrast to prior web-agent defenses that either blind the planner entirely [Foerster et al.] or replace browsing with trusted APIs [Piet et al.]. Additionally, our automatic boundary inference operates on content-sanitized DOM, making the labeling process itself immune to injection. See response to Reviewer xotY.\n\n---\n\nWe address all weaknesses above. The main concern of the negative review, latency scaling, *is resolved: our experiments show constant, not linear, overhead*, and we clarify novelty in our response to that reviewer. Together with the positive assessments from the other two reviewers, we hope the AC will take these new experiments and clarifications into account when making a decision.\n\n[R1] https://commandline.microsoft.com/information-flow-control-moving-toward-secure-autonomous-agents/\n[R2] https://almanac.httparchive.org/en/2025/accessibility"+ },+ "createdAt": "2026-07-28T17:52:52.920Z",+ "modifiedAt": "2026-11-19T16:52:48.987Z",+ "url": "https://openreview.net/forum?id=hckd9UoUPT¬eId=oSVOFxGw3V",+ "license": "CC-BY-4.0"+}
reviews/openreview/hckd9uoupt/notes/t8bfnio39t.json added
+++ b/reviews/openreview/hckd9uoupt/notes/t8bfnio39t.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "t8bfnIo39t",+ "replyTo": "JALyi1aYEZ",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you for the follow-up. We are glad that the scaling concern is resolved.\n\n> Re> Latency overhead (1.61–2.04×) remains non-trivial, and UCM is not compared with other defenses.\n\nWe agree that the overhead is noticeable, but respectfully disagree that it undermines the paper’s contribution. UCM offers a qualitatively different security property from prompt-injection detectors, malicious-action detectors, and other runtime monitors: those defenses probabilistically reduce attack success, whereas UCM, given correct labels, provides a security guarantee by construction without materially reducing utility.\n\nThus, UCM offers a distinct tradeoff: users can accept approximately 1.6–2× computational overhead in exchange for deterministic protection and reduced reliance on human oversight. We note that web agent tasks are typically asynchronous and not user-facing, so this overhead translates to slower background execution, not degraded user experience. This overhead is also comparable to CaMeL [Debenedetti et al.], which reports 2.82× input- and 2.73× output-token overhead for a similar class of guarantee. As Kolluri et al. [R3] argue, this regained autonomy is an important benefit that conventional security–utility comparisons can miss.\n\nDirect overhead comparisons with probabilistic defenses should therefore be interpreted cautiously because the resulting security properties differ in kind, and hence we believe the undefended agent is the right baseline. Nevertheless, we would be happy to add such comparisons in the camera-ready if the reviewer finds them useful. We also did not optimize UCM for efficiency: the Agent currently invokes the Q-Model conservatively, and selective invocation should reduce overhead. We view UCM as evidence that strong guarantees are feasible for web agents, with efficiency improvements as a natural direction for follow-up work.\n\n> Re> No empirical evaluation of prompt-injection attacks against the Q-Model.\n\nAppendix F already studies attacks on the Q-Model. For data-flow attacks involving misleading but well-typed outputs, red-teaming already grants the attacker **the strongest possible capability** — full control over Q-Model outputs. This is strictly stronger than prompt injection, which can only attempt to induce such outputs. Consequently, the proposed experiment would evaluate a weaker attacker than the one we already evaluate against.\n\nThat said, we recognise that explicit adaptive prompt-injection experiments would make this point clearer. We will expand Appendix F in the camera-ready with strong adaptive attacks against the Q-Model and clarify how they relate to our existing full-control analysis.\n\n---\n\nWe respectfully ask the reviewer to reconsider whether these remaining concerns warrant the current score. The first two are about the cost of obtaining a substantially stronger security property, while the evaluation for the final concern is already in the paper and can be further strengthened in the camera-ready. We hope the reviewer will reevaluate the paper from this perspective.\n\n[R3] Kolluri et al., “Optimizing Agent Planning for Security and Autonomy.” ICLR 2026."+ },+ "createdAt": "2026-08-04T11:44:12.730Z",+ "modifiedAt": "2026-11-19T16:52:48.912Z",+ "url": "https://openreview.net/forum?id=hckd9UoUPT¬eId=t8bfnIo39t",+ "license": "CC-BY-4.0"+}
reviews/openreview/hckd9uoupt/notes/yptls8fipf.json modified
+++ b/reviews/openreview/hckd9uoupt/notes/yptls8fipf.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair r26Y","content": {- "metareview": "Summary: This paper presents Untrusted Content Masking, a defense against prompt injection for web agents. It uses the webpage's DOM structure to identify and redact untrusted content before the agent processes it, while restricting actions through a sandboxed interface with privilege separation.\n\nStrengths:\n\n+ The paper studies an important and timely security problem with a clear threat model.\n+ UCM is simple and intuitive, using DOM-based masking and privilege separation to reduce exposure to untrusted content.\n+ The evaluation is reasonably broad and shows strong protection while largely preserving utility with moderate overhead.\n+ Automated trust-boundary inference from sanitized DOM structure is a useful and practical design contribution. \n\nInitial Weaknesses:\n- The security guarantee is conditional on correctly identifying all untrusted DOM elements. Automated labeling has a nonzero miss rate, while manual labeling assumes an honest site owner. The paper should narrow the guarantee and state these assumptions more explicitly. (Reviewers gUk4, pQmQ)\n\n- The Q-model still processes raw untrusted content, and Q-model can be manipulated by prompt injection attacks. Type-constrained outputs limit direct injection, but they may not prevent correctly typed yet semantically misleading outputs. (Reviewers gUk4, xotY)\n\n- The evaluation does not adequately cover settings where UCM may be weakest, including tasks requiring substantial untrusted free-form content and different agent/Q-model combinations. These concerns could be addressed with additional experiments. (Reviewer pQmQ)\n\n- Runtime scalability is not evaluated as the number of masked elements increases. Aggregate API cost does not show whether repeated Q-Model calls create substantial latency on larger webpages. A scaling experiment would help address this concern. (Reviewers gUk4, xotY)\n\n- The novelty over prior masking and isolation defenses needs more justifications. The paper should clarify that its main new contribution is trust-boundary inference from a sanitized DOM and distinguish it more clearly from related work (Kim et al. [1] pointed out by Reviewer xotY)\n\nPost-rebuttal assessment: The rebuttal has addressed several major concerns underlying my initial recommendation. The authors added experiments with multiple Agent/Q-model combinations, additional websites and stricter automated-labeling evaluation, free-form text-heavy tasks, and a scaling study up to 200 elements. In particular, the scaling results show that latency overhead remains approximately constant rather than increasing linearly with the number of masked elements. The authors also clarified the conditional nature of the security guarantee, the threat model, the adaptive Q-model evaluation, and the novelty of element-level trust-boundary inference from sanitized DOM structure.\n\nFurthermore, some practical limitations remain. The runtime overhead is still nontrivial (around 1.6-2x), and there is no direct efficiency comparison with alternative defenses. Reviewer xotY also remains concerned about the lack of explicit prompt-injection experiments against the Q-model, although the authors argue that their existing red-teaming evaluation assumes the stronger setting of full control over well-typed Q-model outputs. Overall, I think these are limitations rather than fundamental issues with the proposed approach. Given the additional experiments and clarifications in the rebuttal, I update the recommendation to Accept (poster)."+ "metareview": "Summary: This paper presents Untrusted Content Masking, a defense against prompt injection for web agents. It uses the webpage's DOM structure to identify and redact untrusted content before the agent processes it, while restricting actions through a sandboxed interface with privilege separation.\n\nStrengths:\n\n+ The paper studies an important and timely security problem with a clear threat model.\n+ UCM is simple and intuitive, using DOM-based masking and privilege separation to reduce exposure to untrusted content.\n+ The evaluation is reasonably broad and shows strong protection while largely preserving utility with moderate overhead.\n+ Automated trust-boundary inference from sanitized DOM structure is a useful and practical design contribution. \n\nInitial Weaknesses:\n- The security guarantee is conditional on correctly identifying all untrusted DOM elements. Automated labeling has a nonzero miss rate, while manual labeling assumes an honest site owner. The paper should narrow the guarantee and state these assumptions more explicitly. (Reviewers gUk4, pQmQ)\n\n- The Q-model still processes raw untrusted content, and Q-model can be manipulated by prompt injection attacks. Type-constrained outputs limit direct injection, but they may not prevent correctly typed yet semantically misleading outputs. (Reviewers gUk4, xotY)\n\n- The evaluation does not adequately cover settings where UCM may be weakest, including tasks requiring substantial untrusted free-form content and different agent/Q-model combinations. These concerns could be addressed with additional experiments. (Reviewer pQmQ)\n\n- Runtime scalability is not evaluated as the number of masked elements increases. Aggregate API cost does not show whether repeated Q-Model calls create substantial latency on larger webpages. A scaling experiment would help address this concern. (Reviewers gUk4, xotY)\n\n- The novelty over prior masking and isolation defenses needs more justifications. The paper should clarify that its main new contribution is trust-boundary inference from a sanitized DOM and distinguish it more clearly from related work (Kim et al. [1] pointed out by Reviewer xotY)\n\nPost-rebuttal assessment: The rebuttal has addressed several major concerns underlying my initial recommendation. The authors added experiments with multiple Agent/Q-model combinations, additional websites and stricter automated-labeling evaluation, free-form text-heavy tasks, and a scaling study up to 200 elements. In particular, the scaling results show that latency overhead remains approximately constant rather than increasing linearly with the number of masked elements. The authors also clarified the conditional nature of the security guarantee, the threat model, the adaptive Q-model evaluation, and the novelty of element-level trust-boundary inference from sanitized DOM structure.\n\nFurthermore, some practical limitations remain. The runtime overhead is still nontrivial (around 1.6-2x), and there is no direct efficiency comparison with alternative defenses. Reviewer xotY also remains concerned about the lack of explicit prompt-injection experiments against the Q-model, although the authors argue that their existing red-teaming evaluation assumes the stronger setting of full control over well-typed Q-model outputs. Overall, I think these are limitations rather than fundamental issues with the proposed approach. Given the additional experiments and clarifications in the rebuttal, I update the recommendation to Accept (poster).",+ "final_justification": "It is included in the updated meta review."},"createdAt": "2026-07-23T03:21:03.636Z",- "modifiedAt": "2026-11-18T15:22:36.737Z",+ "modifiedAt": "2026-11-19T05:01:37.171Z","url": "https://openreview.net/forum?id=hckd9UoUPT¬eId=ypTLS8FiPf","license": "CC-BY-4.0"}