Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add trilwu/secskills --skill attacking-hardware-interfacesgit clone --depth 1 https://github.com/trilwu/secskillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/trilwu/secskills/attacking-hardware-interfaces)<a href="https://agentmods.dev/skills/trilwu/secskills/attacking-hardware-interfaces"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/attacking-hardware-interfaces/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/trilwu/secskills/attacking-hardware-interfaces"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/attacking-hardware-interfaces.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00107 | $0.01775 |
| Opus 5.5 | $0.00043 | $0.00710 |
| Sonnet 5.5 | $0.00021 | $0.00355 |
| Haiku 4.5 | $0.00011 | $0.00178 |
Grade A, and why
attacking-hardware-interfaces scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Attacking Hardware Interfaces
Physical access changes the game: the debug ports, flash chips, and boot process the vendor assumed were private are all reachable. The work is finding the interfaces on the board, using them to reach a shell or dump the firmware, and judging whether the device's secure-boot and RF designs actually hold. Almost everything here needs the device in hand and permission to open it.
When to Use
- You have physical access to an embedded device or PCB and need to find its debug/serial/flash interfaces
- Getting a UART console or root shell, interrupting a bootloader, or halting the CPU over JTAG/SWD
- Dumping firmware off a SPI/I2C flash chip for analysis
- Triaging a secure-boot / chain-of-trust design for bypass feasibility
- Studying sub-GHz RF replay feasibility (fixed vs rolling code) in a lab
When NOT to Use
- Analyzing firmware you already dumped — extraction, filesystem carving,
binary analysis — is
analyzing-firmware-images; this skill gets the bytes off the device and hands them there. - Wi-Fi attacks —
attacking-wireless-networks. - Bluetooth/BLE and NFC/RFID specifically —
attacking-bluetooth-nfc. - Reversing a specific binary pulled from the device —
analyzing-binaries.
Find the Interfaces
Boards expose more than they should through unlabeled test pads and headers:
- UART. The most common win — a serial console, often a bootloader prompt or
a root shell. Identify the four lines (TX, RX, GND, VCC) with a multimeter and
a logic analyzer, then connect a USB-TTL adapter (FTDI/CP2102) and open the
console with
screen/minicom/picocom. Detect the baud rate (115200 is common) if it is not obvious. - JTAG / SWD. Full debug access — halt the CPU, read/write memory and registers, dump firmware, patch. Identify the pinout (a JTAGulator brute- forces it) and drive it with OpenOCD and an adapter (Bus Pirate, J-Link, Black Magic Probe).
- SPI / I2C flash. The firmware lives on an external flash chip you can read directly — clip a SOIC8 test clip on and dump with flashrom via a CH341A or Bus Pirate, in-circuit or after chip-off.
- Logic analyzer (Saleae, or sigrok/PulseView with cheap hardware) to identify and decode any of the above when the protocol or pinout is unknown.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 136 lines · 107 tokens per session scan A 9b9c6a45e323
attacking-hardware-interfaces is a skill published in the GitHub repository trilwu/secskills (211 stars, last pushed 2mo ago), licensed MIT. It adds 107 tokens to every session and 1,775 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
attacking-hardware-interfaces compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| attacking-hardware-interfacestrilwu/secskills | Skill | 211 | 2mo ago | MIT | A | 107 | Claude Code |
| cardputer-buddyanthropics/claude-plugins-official | Skill | 49k | yesterday | Apache-2.0 | A | 109 | Claude Code |
| gke-compute-classesgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 83 | Claude Code, Codex |
| google-cloud-filestore-autoscalegoogle/skills | Skill | 25k | today | Apache-2.0 | A | 102 | Claude Code, Codex |
| developer-device-platform-basicsgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 57 | Claude Code, Codex |
| gke-ai-troubleshooting-tpu-dynamic-slices-monitoringgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 107 | Claude Code, Codex |
| gke-ai-troubleshooting-tpu-vbar-oomgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 125 | Claude Code, Codex |