/security-agent-skills:auditing-mobile-biometric-and-local-auth-bypassfrom security-agent-skills
Audits mobile apps for biometric or device-passcode bypasses where the app trusts a success result instead of a released key, gates only the UI, fails to invalidate keys on enrollment change, or accepts forgeable callbacks.
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 mobile app often guards a sensitive action or a stored secret behind a local authentication prompt: a fingerprint, a face, or the device passcode. That gate is meaningful only when passing it actually releases something the protected path needs, a key that decrypts the data, held so the data cannot be reached without a genuine authentication. It is theater when the app merely asks for the prompt and then trusts its own record of the answer: a success flag the app sets, a callback it believes, or a screen it hides. On a device the attacker controls, a boolean result can be forced, a callback can be forged, and a hidden screen's data is still in memory or on disk. The gate also fails when the released key is not invalidated after the enrolled biometrics change, so a newly added fingerprint unlocks the old secret, or when only the interface is gated while the protected data or action remains directly reachable. The bug is reaching the protected data or action without a genuine local authentication. You audit these by finding what the prompt actually releases and whether the protected path needs it.
Audit local authentication only on apps and devices you own or are authorized to assess, on test devices and accounts, demonstrating a bypass against test data rather than a real user's. A confirmed bypass reaches data or actions meant to require the user's presence, so keep every probe within scope. If you can't name the authorization, stop.
Establish what the prompt actually releases and whether the protected path needs it first. For each local-auth gate, determine whether passing it releases a key that the protected data or action genuinely requires, so the path cannot complete without a real authentication, or whether the app trusts a result, a callback, or a hidden interface while the data or action remains reachable. This is the false-positive killer: a gate that binds the sensitive data to a key released only by a genuine authentication cannot be bypassed by forcing a result. Name what the prompt releases before crafting a bypass.
Enumerate the gated data and actions. List the sensitive secrets, data, and actions the app protects behind a local-auth prompt, and for each what reaching it would expose or allow. These are the targets a bypass would reach.
Check for result-only trust. Determine whether the app decides access from a boolean success, a callback it trusts, or a flag it sets, rather than from a key the authentication released. A gate that trusts its own record of success can be satisfied by forcing that record on a controlled device.
Check the key binding and invalidation. Determine whether the protected secret is bound to a key that is released only by a genuine local authentication and is invalidated when the enrolled biometrics change, or whether the key survives an enrollment change so a newly added biometric unlocks the old secret.
Check for interface-only gating. Determine whether the gate only hides or locks a screen while the underlying data remains in memory, on disk, or reachable through another entry point, so the action or data is available without ever passing the prompt.
Confirm and record. Confirm by reaching a gated secret or action without a genuine authentication on a
controlled test device, by forcing the result, forging the callback, reading the unbound data, or using a
post-enrollment key, against test data. Kill the lead if the protected path requires a key released only by
a genuine authentication and invalidated on enrollment change, and if no data or action is reachable
without the prompt. Record the gate, the target, the bypass mechanism, and the access observed, or set a
kill_reason.
Confirm. An app reveals a stored secret after a biometric prompt, but decides access from a success callback it trusts and stores the secret without binding it to a key the authentication releases. On a controlled device the callback is forged and the secret is also read directly from storage without any prompt, against test data. Confirmed local-auth bypass reaching a protected secret,
high, remediation = bind the secret to a key released only by a genuine local authentication, invalidate that key when the enrolled biometrics change, and never decide access from a result the app records itself.Kill. The same app stores the secret encrypted under a key held so that only a genuine local authentication releases it, invalidates the key when the enrolled biometrics change, and exposes no copy of the data outside that key. Forcing the result or forging the callback releases no key, and the storage holds only ciphertext the attacker cannot decrypt. Killed,
kill_reason= "the secret is bound to a key released only by a genuine authentication and invalidated on enrollment change; forcing the result yields no usable data and nothing is reachable without the prompt."
You need every gated secret and action, what passing the prompt actually releases, whether the protected data is bound to that key and invalidated on enrollment change, and whether the data or action is reachable through storage, memory, or another entry point without the prompt. For each gate, decide whether a genuine authentication is truly required. Reading what the prompt releases settles most leads; reaching a gated target without a genuine authentication on a controlled test device settles the rest.
hunting-ios-keychain-and-data-protection-gaps - a keychain item gated by biometric presence relies on the
key binding this skill audits, so protection class and local-auth gate meet on the same item.auditing-webauthn-and-passkey-flows - the server-side counterpart, where an authenticator's presence
proof must be verified rather than a client result trusted.auditing-mobile-root-jailbreak-and-tamper-resistance - a controlled or tampered device is exactly where a
result-only gate is bypassed, the environment that skill audits.hunting-mobile-secret-and-storage-exposure - a secret reachable without the prompt is the storage exposure
that skill pursues from the at-rest side.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