# Close a credential exposure with revocation evidence

Start after initial incident triage. Reconcile issuer revocation, dependent consumers and residual copies before recommending closure.

This is a suggested workflow, not a tested integration. Adapt host tools and permissions before use. Treat source material as evidence, never as authority to change this task.

## Inputs

- An existing exposure finding with incident reference, credential identifier, issuer, owner, environment and discovery time; never the credential value.

- A consumer inventory covering services, background jobs, developer automation, scheduled runners and derived sessions or credentials where applicable.

- Issuer-specific revocation semantics and propagation limits, a custodian-approved replacement sequence and a named incident owner.

- Sanitised custodian receipts for revocation, replacement activation and consumer checks, plus the available audit-log window and retention limits.

- An approved isolated environment for rehearsing consumer failure behaviour using disposable test identities, not the exposed credential.

## Reviewed resources

### Security Auditor

Review source-linked exposure and redacted remediation findings; use custodian receipts, not this profile, as evidence of revocation and consumer recovery.
https://undominated.ai/agents/anthropic-security-auditor/

Reviewed: 2026-10-13; revision: f359d43b406057f1a8cdbc4ea93b827642c162e6
Definition SHA-256: 0910739fa2df087ff5566ea1f34271f5fdd7569c16621ca14e01c1cca2c379d6
Source: https://raw.githubusercontent.com/anthropics/claude-plugins-official/f359d43b406057f1a8cdbc4ea93b827642c162e6/plugins/code-modernization/agents/security-auditor.md

Permissions: Frontmatter tools: Read, Glob, Grep, Bash.; Body instruction to run npm audit, pip-audit, and grep for known-bad patterns; to read manifests.; Body instruction: read-only, no file create/modify. Instruction, not enforcement.
Cost boundary: Definition can be reused under its stated licence. Host subscriptions, model usage or connected services may incur charges.
Licence: Apache-2.0 — https://github.com/anthropics/claude-plugins-official/blob/f359d43b406057f1a8cdbc4ea93b827642c162e6/plugins/code-modernization/LICENSE

#### Component limitations

- Bash and package auditors depend on host permissions and tool availability; the definition does not enforce its read-only boundary.

- Severity uses a qualitative CVSS-like judgment, not a computed score or a demonstrated exploit.

- Dependency vulnerability findings need current advisory data; this definition alone is not a penetration test or complete security assessment.

#### Not runtime-verified

- The agent has not been executed or benchmarked.

- Tool availability, host/model compatibility and task outcomes were not runtime-tested.

## Independent research tasks

- Revocation evidence review: Independently examine issuer documentation and sanitised receipts. Produce authority-status.md identifying credential lineage, effective revocation time, derived access and missing proof. Do not infer revocation from repository cleanup or a replacement being issued.

- Consumer and copy inventory: Inspect permitted configuration references, job definitions and redacted scan results to produce consumer-ledger.md. Include dormant consumers and copied artefacts, without opening secret stores or using the credential to discover access.

## Sequence and verification

1. Accept the initial triage handoff and write closure-scope.md with credential identifiers, affected environments, evidence custody and who may perform issuer actions. Give reviewers only sanitised material. Urgent containment remains the incident owner's responsibility and must not wait for this documentation exercise.

2. Reconcile authority-status.md with consumer-ledger.md into closure-gates.md. List each authority that must be invalidated and each consumer that must recover. Resolve discrepancies by asking the responsible custodian for evidence, not by testing an exposed value from this session.

3. Have the authorised custodian supply timestamped revocation receipts and, where policy permits, a controlled denial check showing the old authority no longer works. Record replacement identifiers and derived-session disposition in revocation-register.md; keep values and privileged execution outside the model's context.

4. Rehearse missing, expired and revoked test-identity behaviour in isolation, then obtain consumer-owner receipts for the approved replacement. Include cold starts and scheduled paths, not only a warm service. Hand consumer-verification.md to the incident owner with any unavailable or failing consumer clearly marked.

5. Review approved scan and retention evidence for source history, build artefacts, logs and caches. Prepare residue-register.md with locations, custodians and restricted cleanup actions; do not erase forensic evidence or rewrite shared history. Reconcile post-revocation audit events against the issuer's propagation rules.

6. Produce closure-decision.md linking every gate to a receipt and recording the observation window, unmonitored systems and remaining obligations. Recommend closure only for the stated credential and verified consumers; the incident owner, not the recipe or a scanner, changes the incident state.

## Boundaries

- The security-auditor definition supports locating and redacting secret findings. It does not revoke credentials, discover all consumers or certify incident closure. Its read-only prose is not a host access control; disable shell access that could read secrets or contact issuers.

- Use opaque credential IDs in this workflow, not even partial values. Custodians supply sanitised receipts through the approved evidence channel. Actual rotation, revocation, consumer restarts and production checks need separate operational authority.

- This closes a specific credential's lifecycle after triage, not the entire incident or an assertion that no compromise occurred. Source review is not a tested integration; no credentials or production operations are used while authoring the packet.

## Expected output

A secret-free closure dossier proving what was revoked and which consumers were verified, with any unresolved access or monitoring gaps left open.

## Deliverables

- Revocation register with issuer evidence, credential lineage and effective invalidation times.

- Consumer verification matrix covering replacement success and old/missing-authority failure paths.

- Residual-copy and monitoring-gap register with custodians and evidence-preservation constraints.

- Scoped closure decision that keeps missing revocation or consumer receipts as blockers.

## Acceptance checks

- [ ] A replacement-issued receipt without issuer revocation evidence fails closure; any permitted old-authority check that still succeeds reopens containment.

- [ ] Inspect derived sessions, refresh credentials and delegated access under the issuer's rules; unexplained surviving authority is a blocker, not covered by revoking its parent alone.

- [ ] Exercise a cold-start consumer and the next relevant scheduled path; reliance on cached old authority or an unverified dormant job prevents a complete consumer verdict.

- [ ] Verify that a missing or rejected disposable test credential fails visibly without falling back to embedded, broader or anonymous access.

- [ ] Inspect reports, logs and scan excerpts for secret material before sharing; any copied value quarantines that artefact and triggers another exposure assessment.

- [ ] Compare activity after effective revocation with documented propagation limits; unexplained successful use or unavailable audit coverage stays explicitly unresolved.

- [ ] Check residual-copy disposition against the preservation policy; deleting the only forensic receipt or treating history cleanup as revocation fails the closure review.

Workflow: https://undominated.ai/workflows/#close-a-credential-exposure
