2026-11-26 15:48 UTC

OpenAPPA proposes data-flow controls to contain agent prompt-injection risks

state: watchingheat: lowuncertainty: mediumrelevance: highagentic-security agent-containment deterministic-guardrails prompt-injectionMatvey

What is this?

OpenAPPA (APPA, Agentic Permissions Policy Algebra) is an MIT-licensed, vendor-agnostic guardrail for tool-using AI agents, released by the Archestra team. Rather than asking a model to judge each tool call or relying on tool allowlists, it assigns data-flow labels based on audience and trust, then applies policy outside the agent’s prompt and execution loop. The system also offers remedies—such as sanitizing data, seeking approval, or isolating untrusted work—to let agents continue safely. The team’s arXiv paper reports evaluations across 6,600 benchmark episodes, including zero observed attacks in 1,320 guarded episodes; the product site reports 89% task completion and 0% successful attacks on its benchmarks.

Why it matters

OpenAPPA is notable because it treats agent security as deterministic data-flow control, not just prompt-injection detection or tool-by-tool allowlists. If its approach generalizes, it could offer a practical way to limit where information gathered by an agent can go while preserving task completion. The reported results are promising, but they come from the developers’ benchmarks; zero observed attacks is not proof of universal resistance, and independent replication and real-world deployment evidence remain important.

Current assessment

OpenAPPA (APPA) is an MIT-licensed approach that enforces audience- and trust-based information-flow policies outside an agent’s prompt and execution loop, with recovery options such as sanitization, approval, or isolating untrusted work. Its authors report results across 6,600 benchmark episodes, including zero observed attacks in 1,320 guarded episodes and 89% task completion; these are controlled, author-reported results, not proof of universal resistance or independent confirmation. A newly observed project, Statelock, is described as deterministic guardrails for browser agents enforced at CDP, suggesting related work in the area, but the evidence supplied gives no details to assess its design or results and does not validate OpenAPPA. Independent replication, coverage of attack paths, and real-world integration and adoption remain unresolved. Engagement is now low and steady, so keep the case on watch rather than treating it as an accelerating development.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 2953h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

07-26 14:00⭐ origin echo-reconstructedarXiv:2607.24625 [cs.CR], "APPA: Recoverable Information-Flow Control for Real-World LLM Agents", submitted 27 Jul 2026 (v1), revised 26 Aug
Arseny Kravchenko, Vadim Liventsev, Innokentii Konstantinov, Ildar Iskhakov, Matvey Kukuy (the APPA/OpenAPPA team, Archestra.ai) on paper (echo) · attributed from hn.story.49877515
—
09-28 13:20first on hacker news · published · +1535.3hShow HN: OpenAPPA – open-source deterministic guardrails that don't break agents
motakuk
—
09-28 13:20amplified on hacker news 👑hn.story.49877515
motakuk
peak 25 · 12 comments · 60% of case engagement
09-30 19:57amplified on hacker newshn.story.49913499
simonpure
peak 10 · 2 comments · 19% of case engagement
10-01 06:23amplified on hacker newshn.story.49918330
wise_blood
peak 2 · 0 comments · 3% of case engagement
10-14 16:17amplified on hacker newshn.story.50090102
daniel_tenuo
peak 4 · 2 comments · 10% of case engagement
10-15 13:45amplified on hacker newshn.story.50103646
daniel_tenuo
peak 4 · 0 comments · 6% of case engagement
10-23 16:59amplified on hacker newshn.story.50212076
mmichelson_if
peak 1 · 0 comments · 2% of case engagement
09-28 15:21our radar first saw it · +1537.3hdiscovery anchor: hn.story.49877515—

Evidence (7) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: OpenAPPA – open-source deterministic guardrails that don't break agents
Retrieved article excerpt

Open article · Retrieved 2026-09-28T15:45:17.840409+00:00

# What is OpenAPPA

How to sing “OpenAPPA”

OpenAPPA is a frontier deterministic AI guardrail that is 100% resistant to data exfiltration caused by prompt injection or model hallucination, and the first of its kind that doesn't break agents.

It is open, vendor-agnostic, and MIT-licensed.

And yes, it outperforms competitors on benchmarks:

Task completion

OpenAPPA89%

Claude Auto mode90%

FIDES (Microsoft)41%

Attacks that succeeded

OpenAPPA0%

Claude Auto mode10%

FIDES (Microsoft)31%

[Read the full benchmark results →](https://www.openappa.com/evaluation)

## Non-deterministic guardrails miss the problem[#](https://www.openappa.com/#non-deterministic-guardrails-miss-the-problem)

The industry's answer to approval fatigue is a second model that judges each tool call: Claude Code's auto mode, Codex's auto-review, and other [auto-modes](https://www.openappa.com/openappa-vs-auto-mode).

By design, they cannot track data flow across tool calls. Because classifiers are prompt-injectable themselves, harnesses hide tool outputs from them, so the judge never sees the data at all.

Because of their probabilistic design, even the best top out at [99.3%](https://openai.github.io/openai-guardrails-python/ref/checks/prompt_injection_detection/): at millions of calls, 0.7% is a lot of breaches.

## Other deterministic guardrails either break agents or don't work[#](https://www.openappa.com/#other-deterministic-guardrails-either-break-agents-or-dont-work)

Blacklisting commands against an LLM is a dead end. Block `rm -rf /` and the model writes a Python one-liner; block `curl` and it pushes to an external git remote. A list of regexes also gives zero visibility into coverage: nobody can verify that it closes every path, or that three mundane tools chained together don't leak.

Rule sets end up either so tight they break the agent or so intricate nobody can audit what they permit.

## OpenAPPA tracks flows instead of matching patterns[#](https://www.openappa.com/#openappa-tracks-flows-instead-of-matching-patterns)

OpenAPPA is a cross-platform, pluggable engine driven by a [single configuration](https://www.openappa.com/contracts). It runs outside the agent's prompt and execution loop, so the model cannot see, negotiate with, or manipulate it, and it [plugs into an existing agent loop](https://www.openappa.com/add-to-agent) in one place.

appa.tomlversion = 2[[tool]]delta = { … }requires = { … }Coding AgentsLLM ProxiesMCP GatewaysMCP ServersAgents in Production

Instead of allowed and blocked tools, the configuration describes data sources, [audiences](https://www.openappa.com/contracts#audiences), [trust levels](https://www.openappa.com/contracts#trust), and [authorities](https://www.openappa.com/contracts#authorities). Every trajectory carries a security label, `audience × trust`: reading a private repo narrows the audience, reading an unvetted web page lowers trust. The label only ever gets more restrictive, and the engine derives each decision from it algebraically.

An injected prompt telling the agent to leak secrets is irrelevant: you cannot prompt-inject an algebra. Because the configuration is declarative, you can [validate in CI/CD](https://www.openappa.com/validation) that your whole tool graph is covered. The configuration is data-specific, so you can scale to millions of agents without changing it.

## It's full of tricks to help agents accomplish their tasks[#](https://www.openappa.com/#its-full-of-tricks-to-help-agents-accomplish-their-tasks)

Strict enforcement is where utility usually dies: a bare "forbidden" makes an agent stall, retry, and fail. OpenAPPA instead returns a machine-readable [remedy plan](https://www.openappa.com/how-it-works#keeping-agents-useful-under-restrictions) with the ways the agent may legally proceed:

- **Sanitizers** transform the payload, masking secrets or redacting PII, so it can flow to a wider audience. Stock sanitizers ship in the box; custom ones, including model-based ones, plug in with a clear blast radius.
- **Authorities** approve one specific action, through a human or an internal API, without lifting the session's restrictions for later calls.
- **Subagents** isolate an untrusted read in a disposable branch, so the parent trajectory continues unpoisoned.

This is what lifts task completion from 37% to 90% on our [benchmarks](https://www.openappa.com/evaluation) and makes deterministic security practical.
motakuk2512
🟧 echo.paper ⭐arXiv:2607.24625 [cs.CR], "APPA: Recoverable Information-Flow Control for Real-World LLM Agents", submitted 27 Jul 2026 (v1), revised 26 AugArseny Kravchenko, Vadim Liventsev, Innokentii Konstantinov, Ildar Iskhakov, Matvey Kukuy (the APPA/OpenAPPA team, Archestra.ai)——
🟧 hnOpenAPPA: Deterministic guardrails that don't break agentssimonpure102
🟧 hnArchestra-AI/OpenAPPA: Deterministic guardrails that don't break agentswise_blood20
🟧 hnShow HN: OWASP Finbot Defended with Tenuodaniel_tenuo42
🟧 hnOWASP's finbot Defended with Tenuo: 0 successful attacksdaniel_tenuo40
🟧 hnStatelock: Deterministic guardrails for browser agents, enforced at CDPmmichelson_if10

Interpretation history

Decision trace