Make fail-closed behavior and an authenticated Guardian channel normative requirements, not implementation posture

Open
#725 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript

Research direction

Start by reading the README sections describing Guardian wire signatures and failure posture, then locate the v0.2 specification and decision D-036. Add normative requirements covering denial on control path failure and authenticated, integrity-protected Guardian envelopes, including replay rejection. Done when the specification makes these requirements binding for hosts, shims, and Guardians and conformance testing can verify them.

Written by the indexing model from the issue text.

Description

We work on runtime containment for autonomous agents, and we want to start by crediting this repository for naming its own gaps above the fold. The README states both plainly: the TypeScript Guardian's wire implements none of the ACS-Core HMAC-SHA256 envelope signature, and this tree's default failure posture is proceed, correctable only by setting ACS_ON_DECISION_FAILURE=deny. Our request is that v0.2 lift both points out of implementation posture and into the normative specification, where conformance testing can reach them.

1. Failure of the control path must be a denial by requirement. A control standard whose reference path proceeds when the Guardian crashes, hangs, or is unreachable teaches every adopter the wrong invariant: governance is advisory under exactly the conditions, including deliberate interference with the Guardian, when it matters most. We note the project has already decided (D-036) that deny becomes the reference implementation's default. That decision should be specification text, binding on hosts and shims as well as Guardians, and not a configuration option an operator can leave unset. Proposed language:

If a Guardian decision cannot be obtained, cannot be verified, or is not returned within the configured timeout, the host MUST NOT execute the action. Failure of the control path is a denial, not an abstention. A conforming implementation MUST NOT ship a configuration in which control-plane failure permits execution by default.

2. The Guardian channel must be authenticated and integrity-protected by requirement. The README's own summary is the argument: on an unauthenticated wire, anything that can reach the port can read decisions and cause decisions. A forged allow is indistinguishable from a real one, so the control plane stops being a control and becomes the attack surface, one that a prompt-injected agent or any local process can address directly. The Go and Python Guardians already sign every envelope; the specification should make that the floor for conformance rather than a property of the better implementations. Proposed language:

Every envelope exchanged between a host and a Guardian MUST be authenticated and integrity-protected, at ACS-Core by the HMAC-SHA256 envelope signature. A Guardian MUST reject unsigned or incorrectly signed requests, and a host MUST reject unsigned, incorrectly signed, or replayed decision envelopes. An implementation that accepts unauthenticated control traffic is non-conforming.

Neither change asks implementers for anything the project has not already built somewhere in this repository. Both ask the standard to say, in normative language, that the safe behavior is the required behavior.

AeP Labs

Dominant language
TypeScript
Stars
183
Forks
56
Avg merge
3d 1h
Merged PRs (30d)
67

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenAI-Security-Project/agent-control-standard

All issues in GenAI-Security-Project/agent-control-standard

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.