{"resourceId":"arxiv-baya-compile-then-execute-web-agent-20261104","versions":[{"version":"external-5133c10a25825c224592f0e9985a60c03aef20d009df2471dae0d7f482c2bcbd","resource":{"id":"arxiv-baya-compile-then-execute-web-agent-20261104","title":"Baya compile-then-execute web agent (arXiv, Nov. 4): planning without seeing live page content cut WASP prompt-injection success to 0% versus 16.2–25.5% for ReAct agents, while raising task utility to 77.8% on 581 WebArena tasks","organization":"Chow, Zhu, Venuto, Alharbi, Alomair, Popa, Wagner, Piet","sector":"Web agents; AI security (research)","geography":"No geography; lab evaluation","publishedAt":"arXiv preprint 2611.06039, submitted November 4, 2026","publicationDate":"2026-11-04","eventDate":null,"sourceName":"arXiv","sourceLabel":"Securing Web Agents with the Compile-Then-Execute Paradigm","sourceUrl":"https://arxiv.org/abs/2611.06039","evidenceClass":"academic-research","outcomeClass":"effective","topics":["developers-agents","data-security"],"finding":"Baya compiles the user's request into a Python program that calls a Trusted Website API before touching the live site; the planning model never sees live content, so untrusted data can choose among predefined branches but cannot redefine the task. On 581 valid WebArena Verified tasks it reached 77.8% utility versus 55.1% for browser-only ReAct and 66.7% for API-enabled ReAct. On the WASP security benchmark it had 0% attack success, versus 16.2% and 25.5% for the ReAct baselines.","sledRelevance":"Why now: newly relevant alongside Palo Alto's Nov. 18 Prisma Browser agent controls. Interpretation: it shows an architectural alternative to filtering, constraining what agents can do by design, which agencies building their own agents for portals or case systems could adopt. It requires a trusted API for each site, which many legacy government applications lack.","evidence":"Read the arXiv abstract page and submission details.","architectureImplications":"Interpretation: separating planning from untrusted content prevents control-flow hijacking by design.","governanceImplications":"Interpretation: agency-built agents can be required to use defined APIs rather than free browsing.","securityPrivacyImplications":"Blocks prompt-injection hijacking on the benchmark; does not address data the program legitimately reads.","caveats":"Preprint; benchmark results; depends on a Trusted Website API per site; abstract-level detail inspected.","streamIds":["palo-alto-networks"],"roles":{"sales":"Sales framing: this research shows a web agent can be built so injected page content cannot redirect it, with zero attack success on a standard benchmark and better task completion. For agencies building their own agents for benefits portals or case systems, it supports a design requirement rather than a product purchase. It is a research prototype; position it as an architecture principle, not a deliverable.","engineering":"Engineering framing: Baya plans against a trusted API before seeing live content, so untrusted data can only select predefined branches. Engineers designing agency agents can apply this: define allowed operations per application, compile plans ahead of execution and treat page content as data. The approach depends on having APIs; many legacy government systems lack them, which limits applicability in the near term.","delivery":"Delivery framing: for in-house agent projects, include a design checkpoint that agents act only through allow-listed operations with plans fixed before reading untrusted content. Ownership sits with the application development lead and security architecture. Proposed acceptance criteria: injection tests on representative pages show no task redirection, and the operation list is reviewed when applications change. Expect extra effort to build APIs for legacy systems."},"roleDetails":{"sales":{"customerProblem":"Agency-built agents that read web content can be hijacked by injected instructions.","stakeholders":["Application development lead","Security architect","Digital services director"],"discoveryQuestions":["Do our agent projects let models choose actions from live page content?","Which applications have APIs agents could use instead?"],"valueHypothesis":"Bounded: design-level constraints can remove a class of injection attacks for in-house agents.","potentialEngagement":"An architecture review of one planned agent project against compile-then-execute principles.","unsupportedClaims":["Production readiness","Applies to commercial agents staff already use","Works without APIs"]},"engineering":{"fit":"Fits custom agents on applications with APIs.","architectureIntegration":"Compile plan against trusted API; execute without the planner seeing live content.","prerequisites":["APIs for target applications","Defined operation list"],"constraints":["Legacy systems lack APIs","Research prototype","Preprint"],"security":"Treat page content strictly as data, never as instructions.","proofOfValue":["Injection test on representative pages","Utility test on agency tasks"]},"delivery":{"work":"Add a design checkpoint for agent projects requiring allow-listed operations.","dependencies":["API availability","Development team"],"ownership":"Application development lead with security architecture.","skillsAdoption":"Developers learn agent design patterns that separate planning from untrusted data.","governanceCheckpoints":["Design review before build","Injection test before release"],"acceptanceCriteria":["Proposed: no task redirection in injection tests","Proposed: operation list reviewed on application change"],"risks":["API build cost","Reduced flexibility for open-ended tasks"]}},"retrievedAt":"2026-11-19T04:21:45Z","enrichedAt":"2026-11-19T04:32:20Z","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"Interpretation: requires developers to define trusted APIs per site.","procurementImplications":"Interpretation: when procuring agent platforms, ask whether agents can be constrained to compiled plans and allow-listed operations.","operatingModelImplications":"Interpretation: design-level constraints reduce reliance on runtime detection.","peerReview":"preprint","sourceVerification":{"openedUrl":"https://arxiv.org/abs/2611.06039","referenceExcerpt":"On WASP, a security benchmark for web agents, Baya achieves 0% attack success rate","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}