From the Palo Alto Networks edition of November 18, 2026
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
Chow, Zhu, Venuto, Alharbi, Alomair, Popa, Wagner, Piet · Web agents; AI security (research) · No geography; lab evaluation
- Publisher
- arXiv
- Original publication
- arXiv preprint 2611.06039, submitted November 4, 2026
- Source retrieved
- 2026-11-19
What happened
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.
Why it matters
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 and measured results
Read the arXiv abstract page and submission details.
Limitations and uncertainty
Preprint; benchmark results; depends on a Trusted Website API per site; abstract-level detail inspected.
Put this evidence to work
Lighthouse Advisory interpretation, grounded in this source. Enriched 2026-11-19; this does not change the original publication date. Each role follows the same checklist so takeaways compare across sources.
Sales
Role takeaway
- Customer problem
- Agency-built agents that read web content can be hijacked by injected instructions.
- Stakeholders
- Application development lead
- Security architect
- Digital services director
- Discovery questions
- Do our agent projects let models choose actions from live page content?
- Which applications have APIs agents could use instead?
- Value hypothesis
- Bounded: design-level constraints can remove a class of injection attacks for in-house agents.
- Potential engagement
- An architecture review of one planned agent project against compile-then-execute principles.
- Unsupported claims
- Production readiness
- Applies to commercial agents staff already use
- Works without APIs
Pre-sales engineering
Role takeaway
- Fit
- Fits custom agents on applications with APIs.
- Architecture and integration
- 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.
- Proof of value
- Injection test on representative pages
- Utility test on agency tasks
Delivery
Role takeaway
- Work
- Add a design checkpoint for agent projects requiring allow-listed operations.
- Dependencies
- API availability
- Development team
- Ownership
- Application development lead with security architecture.
- Skills and adoption
- Developers learn agent design patterns that separate planning from untrusted data.
- Governance checkpoints
- Design review before build
- Injection test before release
- Acceptance criteria
- Proposed: no task redirection in injection tests
- Proposed: operation list reviewed on application change
- Risks
- API build cost
- Reduced flexibility for open-ended tasks
Implementation considerations
Lighthouse Advisory interpretation across the operating dimensions a public-sector buyer must settle before this evidence becomes a design. Each note answers the question under its heading for this specific source.
Architecture and integration
What must connect, and where does the AI sit in the workflow?
Separating planning from untrusted content prevents control-flow hijacking by design.
Governance
Who approves, reviews and stays accountable for outcomes?
Agency-built agents can be required to use defined APIs rather than free browsing.
Security and privacy
What data, permissions and controls need testing?
Blocks prompt-injection hijacking on the benchmark; does not address data the program legitimately reads.
Accessibility and workforce
Who is affected, and what skills or accommodations follow?
Requires developers to define trusted APIs per site.
Procurement
What should contracts, pricing and exit terms secure?
When procuring agent platforms, ask whether agents can be constrained to compiled plans and allow-listed operations.
Operating model
Which teams own the service once it runs?
Design-level constraints reduce reliance on runtime detection.
Publication history
- 2026-11-18Palo Alto Networks · Issue 1910 resources
Stable resource ID: arxiv-baya-compile-then-execute-web-agent-20261104