SkillVaultskills Browse all 500 skills

Security · Version 1.4.0 · Reviewed 2026-08-02

Secrets Exposure Auditor

Find and prioritize exploitable risk in exposure discovery and blast radius assessment with evidence, explicit trade-offs, and a verification plan.

4 method steps 6 documented failure modes 5 diagnostic checks 7 quality gates

Finds credential exposure across code, history, images, logs, client bundles, and CI, and sequences rotation by real blast radius.

₹149 one-time

Get this skill archive

What this skill helps you do

  • Exposure discovery
  • Blast radius assessment
  • Rotation sequencing

How Secrets Exposure Auditor works

You provide

The exposed credential, its scope, and exposure window

It inspects

Usage in provider logs before anything is revoked

It decides

Ordered response: evidence, revoke, rotate, narrow

You verify

Full-history, image-layer, and CI scan return clean

What it checks first

Secrets Exposure Auditor finds credential exposure across code, history, images, logs, client bundles, and CI, and sequences rotation by real blast radius. Use it when the work involves Exposure discovery, Blast radius assessment, Rotation sequencing.

  1. Whether the credential was used, established from access logs, before deciding urgency.
  2. The full set of locations a secret persists: git history, image layers, CI logs, error tracking, client bundles, and backups.
  3. The permission scope of the exposed credential, which determines actual blast radius.
  4. Exposure duration and whether the repository or artifact was public during it.
  5. Whether rotation is possible without an outage, which decides the sequencing.

Failure modes it recognizes

  • Rotating before pulling access logs, destroying the ability to scope the incident.
  • Removing a secret from the latest commit while it remains in git history and every existing clone.
  • A secret deleted in a later Docker layer but still present in the earlier layer of the published image.
  • A rotated credential still cached in a running process, CI variable, or configuration store.
  • Secrets captured in exception payloads sent to a third-party error tracker.
  • A build-time environment variable inlined into a client bundle and served publicly.

Answers it will reject

  • Force-pushing to remove history, which does not invalidate forks, clones, or provider caches, and creates false confidence.
  • Treating a short exposure window as safe without checking automated scrapers, which act within minutes.
  • Rotating the credential without also narrowing its scope, repeating the original risk.
  • Ignoring low-privilege credentials that provide a path to higher-privilege ones.

Decision rules it applies

  • Collect usage evidence first, then revoke, then rotate, then narrow scope — in that order.
  • Treat any secret committed to a public repository as compromised regardless of exposure duration.
  • Prefer short-lived, workload-scoped credentials over rotation policy on long-lived static keys.
  • Complete the exposure inventory before declaring remediation done; one location remaining means the incident is open.

Evidence it asks for

  • Scan full git history rather than the working tree, across every branch and tag.
  • Inspect image layer history for secrets removed in later layers.
  • Pull provider access logs filtered by the credential identifier across the entire exposure window.

The method inside

  1. Map the artifact, actors, boundaries, and invariants relevant to exposure discovery.
  2. Trace concrete failure or abuse paths for blast radius assessment; do not report checklist items without a mechanism.
  3. Prioritize rotation sequencing findings by impact, likelihood, confidence, and cost of correction.
  4. Recommend the smallest defensible change, then define how an independent reviewer can verify it.

Deliverables

  • Exposure discovery assessment
  • Blast radius assessment decision and action plan
  • Rotation sequencing verification checklist

Evidence requirements

  • Code, configuration, data flows, and trust boundaries
  • Identity, authorization, and deployment context
  • Threat model, controls, and known assumptions

Quality gates

  • Every material claim traces to supplied evidence or is labeled as a hypothesis.
  • The response follows the declared deliverable contract.
  • No execution, access, measurement, or verification is invented.
  • Secrets and personal data are redacted rather than repeated.
  • The user receives a concrete independent verification step.
  • The relevant failure modes in this domain were considered rather than only the reported symptom.
  • No listed anti-pattern was recommended as a solution.

Example task

Input

We found an AWS key in a public commit from eight months ago. What is the correct response order?

Expected output

Rotation is not the first step. Determine what the key could do and whether it was used: pull CloudTrail for that access key ID across the full exposure window before revoking, because revoking first destroys your ability to scope the incident. Then rotate, then check whether it exists in image layers and CI logs too...

Boundaries and compatibility

Ideal for

  • Exposure discovery: produce a decision or artifact grounded in supplied evidence.
  • Blast radius assessment: produce a decision or artifact grounded in supplied evidence.
  • Rotation sequencing: produce a decision or artifact grounded in supplied evidence.

Out of scope

  • Authorizing offensive actions against systems without permission
  • Reporting theoretical issues as exploitable without a path

Agent compatibility

  • GitHub Copilot custom agents
  • Claude Agent Skills / SKILL.md
  • Any instruction-following chat model

Tool policy: Advisory by default. No tools are assumed. If the host provides tools, use read-only evidence gathering unless the user explicitly approves a scoped write or execution action.