Yugen Advisors

Example standard 03 Draft 0.1

Secret custody and use

An agent that needs a credentialed operation does not necessarily need the credential value.

Scope

Applies to service keys, tokens and other credentials used in agent-assisted workflows. Treat human account recovery, unattended service startup and credentials for delegated actions as distinct custody problems.

Requirements

  1. SEC-01

    Keep custody out of the conversation. The workflow identifies the credential by a reference. A broker, connector or authorized execution service supplies it to the intended recipient. Keep the value out of prompts, tool results, transcripts, repositories and support bundles.

  2. SEC-02

    Authorize the act separately. A broker that can supply a credential does not decide whether the agent may perform a particular operation. Bind issuance or use to an approved operation, destination and scope. Prefer narrow, temporary credentials where the receiving service supports them.

  3. SEC-03

    Check the return path. Injection into an outgoing request is only half the boundary. Check how the receiving service, proxy and connector produce errors, debug output and responses. If any of those can return the value to the model, do not claim non-exposure.

  4. SEC-04

    Plan for loss of the credential. Name the custodian and record how to revoke, rotate or replace the credential. Where a service cannot issue temporary credentials, document the persistent credential's remaining reach and the controls appropriate to that service.

How to verify

Allowed
A credentialed operation succeeds without returning the credential to the requesting agent.
Exposure
With a synthetic credential and a controlled test service, exercise success and error paths. Inspect the outputs and stored records for the synthetic value.
Rotation
Revoke or replace the test credential. Verify the effect at the receiving service rather than treating a vault update as proof that access ended.

Evidence to keep

Record the credential reference or lease ID, service, scope, issuance and revocation outcomes. Evidence of access is not the secret itself.