/security-agent-skills:hunting-firmware-secrets-and-debug-interfacesfrom security-agent-skills
Hunts firmware attack surfaces: embedded secrets, debug interfaces, exposed services, and unauthenticated privileged commands. Use when reviewing firmware source, init scripts, or default configs.
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 device ships whatever its firmware was built with, and firmware is built under deadline with debug aids, default services, and convenience credentials that were meant to be removed. The result is an attack surface that needs no exploit: a backdoor credential compiled into every unit, a serial console that drops to a root prompt, a management service listening on every interface, a command handler that flashes or executes before it checks who is asking. You hunt these by inventorying the externally reachable interfaces and the privileged actions, then asking, for each action, whether an authentication gate stands between it and the outside, and for each secret, whether it is a private key or credential the image should never have carried. The discipline is separating a real shipped exposure from a public key, a test file that never ships, or a debug aid the production build compiles out.
Analyze firmware and exercise device interfaces only on hardware you own or are authorized to assess. A confirmed backdoor credential or unauthenticated command path is device-wide compromise, so coordinate disclosure, especially for a shared secret present in every unit. If you can't name the authorization, stop.
Map the reachable interfaces and the privileged actions. Inventory the input planes an outsider can touch: network listeners, the serial console, the on-chip debug port, removable media, and the update or command channel. Inventory the privileged sinks: a shell or command execution, an authentication decision that grants a root context, a flash or configuration write, a diagnostic that reads or writes memory, and disclosure of an embedded secret. The rest of the loop connects the two.
Hunt embedded secrets and backdoor credentials. Look for a private key, a symmetric or authentication key, or an access token compiled into the image, and for a credential the code compares against a literal, an extra account, or a branch that grants access for a special user or build. The severe case is a secret shared across every unit, so one recovery unlocks the fleet.
Hunt debug and diagnostic interfaces left enabled. Look for a serial console or command dispatcher that reaches a privileged shell with no authentication, a hidden or maintenance command that dumps memory or executes, an on-chip debug port that is not disabled in production, and a diagnostic endpoint reachable without auth. A debug aid behind a build flag is only safe if that flag is off in the shipping build.
Hunt services exposed by default. Look for listeners bound to every network interface rather than loopback, a management or plaintext remote-shell or file-transfer service started at boot with no or default credentials, and a monitoring or configuration protocol enabled with a default community or key. Default-on and internet-reachable is the shape that matters.
Hunt unauthenticated command and update paths. Look for a network command handler that flashes, reconfigures, or executes before any authentication check, a spoofable control protocol, and a shell command built by concatenating external or stored configuration input into an executed string. An unauthenticated action is a direct path from the interface to the sink.
Confirm and record. Confirm by reaching a privileged action from an external interface with no credential, by using an embedded credential to authenticate, or by driving a command handler with injected input. Kill the lead if the embedded key is a public verification key, if the credential or debug path lives in a file or branch the production build does not compile in, if the interface is bound to loopback or disabled by the default configuration, if the debug port is gated by hardware, or if the secret is a placeholder overwritten by a per-device value provisioned at manufacture. Note when a debug interface requires physical access, and rate it as a local rather than remote finding. Record the interface, the action or secret, and how it was reached.
Confirm. A network-reachable login compares the supplied credentials against a username and password written as literals in the binary and, on a match, grants a root shell. The same credentials are present in every unit of the product. An attacker who reads one image authenticates to any device. Confirmed device-wide backdoor credential,
critical, remediation = remove the embedded credential, require a per-device secret provisioned into secure storage at manufacture, and authenticate every privileged interface.Kill. The literal credential flagged in the tree lives in a test harness the production build does not compile in, the serial console is behind a build flag that is undefined in the shipping configuration and the on-chip debug port is disabled by a one-time-programmable setting in the provisioning path, network services bind to loopback by default, and the one embedded key is the public update-verification key. No unauthenticated privileged action is reachable on a shipped device. Killed,
kill_reason= "flagged credential not built into the shipping image, debug console compiled out and debug port hardware-gated, services bound to loopback, and the embedded key is public."
You need the firmware source and any init or startup scripts and default configuration, the set of externally reachable interfaces, the privileged sinks, the build configuration that decides what actually ships, and the provisioning path for any per-device secret. For each privileged action, decide whether an authentication gate dominates it on the shipped build; for each secret, decide whether it is private and compiled in. Reading the source and the build tells you what ships; reaching an action or using a credential on hardware in scope tells you whether it is exposed.
auditing-secure-boot-and-firmware-signing - the companion firmware audit; an unauthenticated update path
here plus a missing signature there is one persistent-code-execution chain, worth rating together.hunting-non-human-identity-and-secret-reachability - the same reachable-secret discipline for machine
credentials in a service; both ask whether an embedded secret is live and actually used.finding-fail-open-flaws - a service that grants access until it is configured, or a default that permits,
is a fail-open shape this hunt keeps meeting.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