Seedlabs

PolicyLock: Policy-as-Code Guardrails for Web Agents

A digital guardrail that stops AI agents from clicking or sending things that violate company rules.

A runtime middleware layer that compiles a company's written rules (spend caps, consent requirements, data-handling restrictions) into per-action checks that intercept an autonomous web agent before it clicks, submits, or sends anything that violates policy.

Computer ScienceWeb Data Mining and Analysis
Agentic Intelligence and EvaluationEnterprise software / agentic process automation — governed web agents in CRM, finance, procurement, and IT workflows.

Concept

PolicyLock sits between an enterprise's LLM web agent and the browser. Compliance or process owners author concise safety-and-trustworthiness (ST) policies in natural language — the same style of short, task-paired constraint rules used in ST-WebAgentBench (e.g., "never submit a payment over $500 without explicit user confirmation," "never paste customer PII into a third-party form"). A compiler turns each policy into a per-action check: before the agent executes any click, form submission, or send, the layer classifies the pending action against the applicable policies and either passes it, blocks it, or escalates to a human with the violated policy quoted. It ships with a starter policy library mapped to the benchmark's six ST dimensions (user consent, robustness, etc.) and a policy-authoring interface so enterprises can extend coverage to their own SOPs. For injection-prone pages, the layer can additionally mask untrusted page content before the agent perceives it, preserving the isolation guarantees demonstrated for web agents.

Why now

ST-WebAgentBench shows that implicit policy-following cannot be trusted: across three open state-of-the-art web agents, average Completion Under Policy (CuP) — completions that respect every applicable policy — is less than two-thirds of the nominal completion rate, meaning a large share of nominally "successful" runs breach at least one enterprise rule. The benchmark demonstrates that enterprise constraints can be encoded as concise, machine-pairable policies across six orthogonal dimensions, and it releases a policy-authoring interface plus evaluation templates — effectively the raw material for a policy-as-code enforcement product. Complementary work on untrusted content masking shows web agents must reason over hostile page content and that explicit defense layers with guarantees, not model discretion, are the viable protection pattern. The risk is now quantified, the policy format is proven, and the enforcement gap is a concrete middleware opportunity sized to a released, extensible benchmark.

Written by GLM · 1 Dec 2026

AI assessment

Backed by 2 papers88

A highly viable, evidence-backed middleware solution that solves the critical 'trust gap' for enterprise web agents by turning natural language policies into enforceable runtime guardrails.

Evidence strength
5/5
The idea directly leverages the CuP metric and policy dimensions from ST-WebAgentBench and the DOM-based masking from the UCM paper, both of which provide concrete evidence for the need and feasibility of a middleware layer.
Market pull
5/5
Enterprise adoption of autonomous web agents is currently bottlenecked by the exact safety and compliance risks this product addresses, creating high urgency for buyers like Salesforce or UiPath.
Novelty & moat
3/5
While similar to the 'Deterministic LLM Guardrail Compiler', this is specifically tailored for the web DOM and browser actions, filling a gap for web-specific agentic governance rather than general tool-calling.
Feasibility
4/5
The research provides the policy framework and the DOM masking technique, meaning a prototype could be built by wrapping a headless browser with a classification layer.
Wedge clarity
4/5
The focus on 'per-action checks' for high-risk web interactions (payments, PII) provides a sharp, high-value entry point into the enterprise workflow.
Simplicity / focus
5/5
The product is a focused middleware layer with a single purpose: intercepting and validating actions against a policy set.

Scored by Gemma 4 · 1 Dec 2026. Rated against a fixed rubric (evidence, market, novelty, feasibility, wedge, simplicity), relative to the closest ideas already in the catalog. A prior estimate to compare ideas before real-world signal arrives.

Act on this idea

Ideas only matter if someone runs with them. Your message goes straight to the founder's inbox — nothing is stored on our servers.

Who benefits

  • Its cloud browser infrastructure powers web agents for thousands of developers; offering a managed policy-enforcement layer would give it the trust and governance features enterprise buyers require before adopting autonomous agents.

  • Salesforcecompany

    Agentforce customers deploy autonomous agents in sales and service workflows governed by consent and data-handling rules; an embedded policy guardrail layer directly attacks the trust barrier to wider Agentforce adoption.

  • ServiceNowcompany

    Its agentic IT and HR workflows involve approvals, access changes, and PII; a policy-as-code guardrail layer gives it an auditable control point for regulated customers.

  • UiPathcompany

    As it moves from scripted RPA to agentic automation, deterministic policy checks on live agent actions let it preserve the governance guarantees its enterprise RPA customer base expects.

  • Zapiercompany

    Zapier Agents execute web workflows for non-expert users; per-action guardrails like spend caps and consent prompts reduce the risk of the autonomous web actions it increasingly performs.

Research it builds on

  1. ST-WebAgentBench: A Benchmark for Evaluating Safety and Trustworthiness in Web Agents
    I. A. Levy, Ben Wiesel, Sami Marreed et al. · 2026 · 194 citations
    All ideas from this paper →
  2. Untrusted Content Masking for Web Agents with Security Guarantees
    Kristina Nikolić, Egor Zverev, Javier Rando et al. · 2026 · 8 citations
    All ideas from this paper →
Leave feedback
feasibility