Models & agents

Agent-Safe Pipeline takes the authorization decision away from the agent, and publishes the threats it does not stop

September 4, 2026 at 3:05 PM PT

GitHub social card for the decionis/agent-safe-pipeline repository

Image: GitHub

Why it mattersAn agent that holds the production credential can be talked into using it, so moving the authorization decision to a separate service changes what a prompt injection can actually reach.

Agent-Safe Pipeline is a reference implementation of one rule: an AI agent may propose an action, and something else decides whether it is allowed. The repository is Apache-2.0 licensed, was created on 13 August 2026, was last pushed on 4 September 2026, and holds 533 stars and 56 forks.

The flow it implements has four stages. The agent's proposal is captured as an immutable intent and hashed. A separate service called Decionis evaluates that intent and returns one of three verdicts: ALLOW, ESCALATE, or BLOCK. An ESCALATE goes to a human, whose approval is bound to that exact hash and then re-checked. Only then does a component called SafeExecutor consume a single-use grant and call the real API.

What the agent is not allowed to hold

The design's sharp edge is what it takes away. The project states that agents "must not determine whether their own actions are authorized, possess downstream privileged credentials, or choose which trusted handler runs." Downstream credentials sit behind the executor, so the agent never has the key. A sealed action registry maps action names to trusted handlers, so the agent cannot hand over an arbitrary callback and have it run. Tenant, actor, and target come from trusted runtime configuration rather than from anything the model produced.

Failures are meant to stop the action rather than let it through. The listed invariants say that network errors, malformed responses, missing grants, and binding mismatches all fail closed, and that the grant is consumed atomically before the handler runs.

The threat model states its own gaps

The repository ships a threat model that names each attack and, in a third column, the risk that remains. Against a prompt injection telling the agent to ignore policy, the control is that the gate sits outside the prompt and decides independently, and the stated residual risk is that "a developer can still bypass the architecture." Against an agent calling the provider directly, the control is that the credential and network egress live behind the executor, and the residual risk is that "network policy must actually prevent agent egress." It says plainly that compromise of the trusted executor host is outside what the library can prevent.

Five example agents are included, covering Shopify refunds, GitHub deployments, procurement, a basic block flow, and a stdio MCP server with one governed tool. The package is published on npm, and the project describes itself as a library and reference implementation rather than a hosted authorization service.

Why this matters for a team building software

Most teams giving an agent write access solve authorization inside the prompt: a rule in the system message, a checklist, a tool description asking the model to confirm first. Every one of those lives in the same text the attacker is writing into. Moving the decision to a service the agent cannot reach is a different kind of control, and it is the one that survives the agent being wrong.

The honest part of this repository is the residual-risk column. A project that only listed its controls would tell you nothing about where it fails. This one says the network policy has to be real and the developer can still route around it, which is the sentence a team should read before assuming the architecture alone is the protection.

Source

decionis/agent-safe-pipeline on GitHub

Source: Decionis on GitHub

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

More from AI News

Reverify pairs an AI model with a pure-Python RE toolkit and marks every claim VERIFIED or REFUTED against the actual bytes

A new open-source RE toolkit, reverify, uses deterministic parsers and emulators as the judge for AI-proposed hypotheses about a binary, and has 662 stars in the three days since it was created.

Open source

Anthropic published a reference blueprint for Claude commerce agents, with shopping and merchant roles over three runtimes

Anthropic released a public reference implementation of a Claude shopping agent and a Claude merchant agent that run on the Messages API, the Claude Agent SDK, and Managed Agents, with four demo verticals and a Claude Code plugin to scaffold your own.

Models & agents

DonSeTch gives AI agents keyless web fetch, search, and crawl through one Rust binary

DonSeTch is a Rust binary that gives any MCP-capable coding agent web fetch, search, and crawl through three tools with no API keys, and the repository has picked up 582 stars in its first month.

Open source