/security-agent-skills:hunting-non-human-identity-and-secret-reachabilityfrom security-agent-skills
Hunts machine credentials (API keys, service accounts, tokens) that are live, over-privileged, and reachable by attackers. Filters scanner noise to find exploitable secrets across code, config, and infrastructure.
Ships in security-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A secret scanner tells you a credential is present. That is a lead, not a finding. The questions that decide severity are different: is this credential still valid, how much does it grant, and can an attacker actually reach it? A dead key in old history is noise. A live, broadly scoped token that an untrusted path leads to is an incident. Machine identities now vastly outnumber human ones, so the volume is overwhelming; the method that matters is separating reachable and powerful from merely present.
Inventory and validate credentials in systems you own or are authorized to test, and test validity only against your own accounts. If you can't name the authorization, stop.
Inventory the machine identities and secrets. Enumerate credentials across source, configuration, infrastructure definitions, build output, and runtime surfaces: keys, service-account credentials, and long-lived tokens. Record where each lives and which identity it belongs to. This is the candidate set, not the finding set.
Determine reachability. For each credential, ask who can reach where it sits. A secret in a public location, in client-delivered code, in a log, or on a surface an untrusted request touches is reachable. One held only in a restricted store that no untrusted path leads to is not. Reachability is the first filter that turns a lead into a candidate worth validating.
Establish whether it is live. A credential matters only if it still works. Confirm validity against your own account with a benign call, or from provenance (rotation records, expiry) when a live check is out of scope. A revoked or expired secret is a documented kill, however exposed it was.
Measure the privilege and blast radius. For a live, reachable credential, determine exactly what it grants: which resources, which actions, and whether it is scoped or broad. A read-only token to one bucket and an administrative service-account credential are not the same finding even if both leaked.
Trace the exploit path. Connect an untrusted starting point to the credential and then to what the credential unlocks. A key in front-end code reached by any visitor, a token in a log an attacker can read, a service-account credential a compromised workload can load: name the actor, the reach, and the resulting access.
Confirm and record. A finding is a credential that is reachable from an untrusted actor, live, and grants more than it should; confirm the access it yields in an authorized account. Kill the lead if the credential is dead, unreachable, or scoped so tightly that reaching it grants nothing. Record the location, the identity, the validity, the privilege, and the reach.
Confirm. A service-account credential is committed in an infrastructure definition in a repository that a build publishes into a client-delivered bundle. Any visitor can read it, it is still valid, and it grants write access across the project's storage. Loading it from an authorized test reaches and writes that storage. Confirmed reachable live over-privileged credential,
critical, remediation = revoke and rotate now, remove from source and history, scope the identity to least privilege, and keep credentials out of client-delivered output.Kill. A scanner flags an access key in old commit history. Validating it against the owning account shows it was revoked long ago, no current build ships it, and the identity it belonged to no longer exists. Exposed, but inert. Killed,
kill_reason= "credential revoked and identity removed; not live, nothing to reach."
You need to enumerate credentials across code, configuration, build output, and runtime surfaces, a way to decide which sit where an untrusted actor can reach them, authorized validation to tell live from dead, and the identity's effective permissions to size the blast radius. A view that traces an untrusted surface to a credential and the credential to what it grants turns a scanner's flat list into ranked, adjudicated findings; the authorized validation is the confirmation.
hunting-iam-privilege-escalation-paths - what a reachable machine credential lets
an attacker do once it lands them on a principal.auditing-cicd-oidc-trust - pipelines are a common place credentials and tokens are
exposed to untrusted input.finding-crypto-misuse - key handling failures in code, complementary to whether a
key is reachable and live.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub unboundcompute/security-agent-skills --plugin security-agent-skills194 skills in this plugin
/adjudicating-dependency-cve-reachabilityDecide whether a CVE in a dependency actually exposes your application before you scramble to patch: is the vulnerable function on a real call path from your code, do the trigger preconditions hold, and can an attacker control the input that reaches it. Use when an advisory, SCA scan, or dependency bot flags a CVE and you must separate a genuine exposure from unreachable noise, or justify why you are or are not affected. Covers pinning the vulnerable symbol, call-path reachability, precondition checks, and taint from your entry points./adjudicating-taint-pathsDecide whether a whitebox lead is a real bug by tracing taint from an untrusted source to a dangerous sink and confirming every hop against live source. Use after a scanner, a candidate list, or your own reading surfaces a "this looks dangerous" sink (SQL exec, system/exec, file open, deserialize, template render, redirect target, memcpy) and you must decide whether attacker- controlled input actually reaches it - or kill the lead with evidence. Covers forward and reverse taint, witness paths, sanitizer analysis, and the evidence rules that separate a finding from a false positive./auditing-account-abstraction-and-paymaster-trustAudit an ERC-4337 account-abstraction deployment for trust misplaced in the user-operation lifecycle: a smart account whose validation accepts a signature or nonce it should reject, a paymaster that agrees to sponsor gas for operations it should not so an attacker drains its deposit, a bundler or entry-point assumption that lets a user operation be replayed or reordered for gain, and validation logic that reads mutable state or reaches outside its allowed scope. Covers smart-contract wallets, paymasters, bundlers, and the entry point in an account-abstraction stack where a user operation is validated and sponsored before it executes. Use when a user operation is validated, paid for, and executed by separate parties and that trust split is the boundary. The crafted user operation is the source, the drained paymaster or unauthorized execution is the sink, and the over-permissive validation or sponsorship rule is the bug./auditing-account-recovery-and-reset-trustAudit password reset and account recovery flows for the trust that lets an attacker take over an account: a reset token that is guessable, long-lived, reusable, or not bound to the account it was issued for, a recovery path that verifies a weaker factor than login and bypasses multi-factor, a reset link whose host comes from an attacker-controllable header so the token leaks, and a recovery that trusts an unverified email or phone change to redirect the reset. Covers the recovery surface of authentication systems, where resetting a credential or recovering access is the alternate door into an account. Use when an application offers password reset or account recovery and that flow is a path to authentication. The attacker-driven recovery request is the source, the account it takes over is the sink, and the weak token, bypassed factor, or leaked reset link that grants it is the bug./auditing-admission-control-policy-gapsAudit cluster admission control for gaps that let a non-compliant or hostile workload through: a validating webhook that fails open when its backend is unreachable, a policy that scopes by namespace or label and misses the namespaces that matter, a mutating webhook whose changes are trusted downstream, and an ordering or exemption that lets a privileged pod bypass the checks meant to stop it. Covers Kubernetes admission webhooks and policy engines that are supposed to enforce workload security at create and update time. Use when admission policies are the control that keeps privileged, unsigned, or over-permissioned workloads out of the cluster. The workload submitted for admission is the source, the admitted resource is the sink, and the policy gap that let it through is the bug./auditing-ai-agent-permissionsAudit what an AI agent is actually allowed to do versus what its task needs. Covers excessive agency (tools, scopes, and autonomy beyond the job), missing human-in-the-loop gates on irreversible actions, over-broad credentials and their blast radius, sandbox and code-interpreter escape, unfiltered egress, and unbounded resource or spend (denial-of-wallet). Use when granting an agent a tool or scope, reviewing an agent's permission posture, or deciding which actions need approval. The model's restraint is not a control; permissions are.Other plugins' skills for the same job