New free agent-credential asset ยท 2026-06-12

AI Agent Secret Leak & Ephemeral Key Checklist

A 15-minute credential-safety worksheet for preventing AI coding agents, MCP tools, browser agents, and workflow agents from seeing, logging, or misusing raw secrets.

Map leak paths

Env files, shell profiles, CI variables, MCP configs, browser sessions, logs, and transcripts.

Use ephemeral keys

PR-scoped, repo-scoped, staging-only, read-only, short-lived, or owner-approved credentials.

Prove the boundary

Canary secret drill, blocked-path test, log-redaction check, and revocation record.

Why this matters now

HN and GitHub signals on 2026-06-12 pointed to PR-scoped ephemeral keys, agents bankrupting operators through uncontrolled actions, agent-owned computers, ShieldMCP, Claude Code secret hooks, agent sandboxes with redaction, MCP risk scanners, and vault-style credential references.

15-minute secret boundary map

Secret classWhere it appearsAgent defaultSafer replacement
Cloud/API deploy token.env, shell env, CI, configsDeny raw valueScoped ephemeral token
Git/provider tokenremotes, package publishing, issue botsDeny raw valuePR/repo-scoped key
Payment/refund keyStripe, Gumroad, billing toolsHuman-gated onlyApproval proxy/read-only reporting
MCP server credentialserver config, local JSON, env varsDeny raw valueBrokered vault reference

Ephemeral key policy

Risk tierAgent jobCredential patternExpiry
Tier 0Research/draftingNo credentialsn/a
Tier 1Repo read + local testsRead-only repo or fixture tokenSame day
Tier 2PR-limited edits/buildPR/repo-scoped key1-4 hours
Tier 3Staging API callsStaging-only key, rate caps15-60 minutes
Tier 4Deploy/refund/payment/exportNo autonomous raw keySingle action

Core checklist

Secret-ready agent run record

Agent/tool:
Owner:
Task:
Data/repo scope:
Credential pattern used:
Expiry time:
Explicit denials:
Human-gated actions:
Canary/leak test result:
Log redaction result:
Revocation command/location:
Evidence packet link:
Next review date:
OperatorForge AI Pro Pack

Turn this into an agent credential-control sprint.

Pair this checklist with the OperatorForge AI bonuses for sandboxing, local firewalls, MCP security, authorization boundaries, observability, rollback, verification, instruction governance, skill security, and spend controls.