/security-agent-skills:hunting-mobile-secret-and-storage-exposurefrom security-agent-skills
Hunts mobile apps for real credentials embedded in the binary or written to storage that another party can read. Covers secrets in app packages, unencrypted storage, weak keystore usage, cached/logged data, and backup/debug paths.
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.
Not every string that looks like a key is a secret, and not every file an app writes is exposed, so this hunt turns on two questions the noisy scanners skip: is this value actually a credential, and can a party who should not read it actually reach it. A public app identifier shipped in the binary is meant to be public; a value inside the platform sandbox is readable only by the app itself on a non-compromised device. The bug is a live credential in the package or in storage that a reachable party (another app, a device-level reader, a backup, a log sink) can read. You hunt it by finding the mobile-specific sinks and adjudicating both the value's sensitivity and the reader's reach. Stay on mobile-specific storage and packaging; server-side secret handling is a different skill.
Audit only apps you own or are authorized to assess, and extract secrets only from a package or device in scope, a real embedded credential is a live secret. Treat any credential you surface as sensitive and do not use it. If you can't name the authorization, stop.
Separate credential from public identifier first. For each candidate value, decide whether it is a real secret (a private key, an API secret, a token, a password) or a value meant to be public (a public app or client identifier, a public key, a non-secret configuration constant). Many embedded strings are public by design; only a real credential is a finding, so classify before chasing reach.
Check the package for embedded secrets. Look through the app binary, its resources, and its configuration for a live credential compiled or bundled in. Anything shipped in the package is readable by anyone who has the app, so an embedded credential is exposed to every installer by definition.
Check storage writes and their reach. Look for sensitive data written to storage and determine who can read it: shared or world-readable storage any app or a connected reader reaches, versus the app's private sandbox, readable only by the app on a non-compromised device. Then check whether it is encrypted where the storage location warrants it.
Check keystore placement. Look for a secret or key material kept outside the platform keystore or secure hardware, protected instead by a weaker guard (a hardcoded key, an obfuscation, plain preferences), where the platform provides a stronger store the app declined to use.
Check caches, logs, and backups. Look for sensitive data written to a cache another party reaches, a log line that records a credential or personal data where a device-level or aggregated log reader sees it, and a backup or debug-export path that carries sensitive data off the device to a reader outside the sandbox.
Confirm and record. Confirm by showing a real credential is present and a party who should not read it can reach it. Kill the lead if the value is a public identifier or public key, not a secret, if the data sits only in the app's private sandbox with no cross-app or backup path reaching it, if it is already encrypted or held in the platform keystore, if a backup flag is set but the sandbox and platform already prevent the data from leaving, or if the exposed value is a short-lived, low-value token already scoped and rotated. Note that a backup flag alone is usually not the finding; the reachable secret is. Record the value, why it is a credential, and the reader that reaches it.
Confirm. The app package embeds a private signing key used to authenticate to a backend; anyone who extracts the package obtains the key and can impersonate the app to the backend. Confirmed a live credential embedded in the shipped package,
critical, remediation = remove the key from the package, move authentication to a server-mediated flow, and rotate the exposed key.Kill. A scanner flags a long string in the resources as a hardcoded key, but it is the app's public client identifier, documented as public and required to be shipped; it authenticates nothing on its own. Killed,
kill_reason= "the flagged value is a public client identifier, not a credential, so its presence in the package exposes no secret."
You need the app package and its resources, the storage writes and the storage location each targets, the keystore usage, the caches and log lines, and the backup and debug-export configuration. For each candidate, decide whether it is a real credential and whether a party who should not read it can reach it. Reading the value tells you whether it is a secret; reading the storage location and the backup and cross-app paths tells you who can read it.
auditing-android-component-exposure - the cross-app component reach that can become the reader for a
file this skill finds; distinct from the value-and-storage question here.auditing-mobile-deeplink-trust - the URL-trust seam whose routed action or bridge might read the storage
this skill audits; distinct from the data-at-rest question here.hunting-non-human-identity-and-secret-reachability - the server-side analogue for a credential's liveness
and blast-radius once this skill establishes the secret is exposed.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.Other plugins' skills for the same job