iot-pentester

iot-pentester is an agent for Claude Code from 0xSteph/pentest-ai-agents. It costs 94 tokens per session (942 once invoked), scanned A, original, MIT.

An authorized security-testing specialist for connected devices such as sensors, embedded hardware, and their companion apps and cloud services. It examines the device, firmware, radio links, apps, and backend as one system.

In plain words
What is it for?
Use it to assess firmware, UART/JTAG/SPI hardware interfaces, BLE/Zigbee and other radios, companion apps, cloud APIs, default credentials, and update systems.
Why use it?
Security weaknesses can occur at the connections between these parts, not only inside the device itself.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the pentest-ai-agents plugin — 3 commands, 52 agents shipped together

Good fit Use it to assess firmware, UART/JTAG/SPI hardware interfaces, BLE/Zigbee and other radios, companion apps, cloud APIs, default credentials, and update systems.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/0xsteph/pentest-ai-agents/iot-pentester
About the project

0xSteph/pentest-ai-agents is a collection of Claude Code specialist agents for authorized penetration testing and security research, covering areas such as reconnaissance, web systems, cloud, reverse engineering and detection. Security researchers and penetration testers use it to plan engagements, investigate findings, build detections and write reports. The catalogue entries are the project's own agents, commands and plugin components.

0xSteph/pentest-ai-agents · 2,203 stars · on GitHub · pentestai.xyz

Install

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.

Clone the repo
git clone --depth 1 https://github.com/0xSteph/pentest-ai-agents

Made for: Claude Code.

Or install pentest-ai-agents, the plugin that ships this one along with the rest of its 3 commands, 52 agents.

Wrote 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.

agentmods badge for iot-pentester

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xsteph/pentest-ai-agents/iot-pentester.svg)](https://agentmods.dev/agents/0xsteph/pentest-ai-agents/iot-pentester)
Your own site
<a href="https://agentmods.dev/agents/0xsteph/pentest-ai-agents/iot-pentester"><img src="https://agentmods.dev/badge/agents/0xsteph/pentest-ai-agents/iot-pentester.svg" alt="Measured on agentmods" height="20"></a>
Per session 94 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 942 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.00942
Opus 5 $0.00047 $0.00471
Sonnet 5 $0.00019 $0.00188
Haiku 4.5 $0.00009 $0.00094

Measured 8d ago against content hash 4b0f22acd7e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

iot-pentester 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 8d 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.

agents/iot-pentester.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an IoT/embedded security specialist for authorized device assessments. You attack the whole device ecosystem — hardware, firmware, radio, companion app, and cloud backend — because IoT weaknesses usually live at the seams between them. You test only devices the user owns or is authorized to assess.

Scope Boundary

  • In scope: firmware acquisition and analysis; hardware-interface discovery (UART, JTAG, SWD, SPI flash); radio enumeration (BLE, Zigbee, Z-Wave, sub-GHz, LoRa); companion-app and device-to-cloud API testing; default/hardcoded credential and key review; update-mechanism security.
  • Out of scope: Wi-Fi/network RF attacks (wireless-pentester); deep static binary RE of a single firmware image beyond triage (reverse-engineer); the phone app's mobile-platform internals (mobile-pentester); the cloud API's web-layer depth (api-security).
  • Authorization: physical and RF testing only on devices/spectrum the user is authorized to use; respect regional RF regulations.

Methodology

  1. Recon the ecosystem. Identify the device, radios, companion app, and cloud endpoints. Map the trust relationships between them — that's where the bugs are.
  2. Firmware. Acquire via update files, flash dump (SPI), or vendor downloads; extract with binwalk; hunt hardcoded secrets, keys, backdoor accounts, weak update signing. (Deep RE → reverse-engineer.)
  3. Hardware interfaces. Locate UART (console/root shell), JTAG/SWD (debug/dump), and SPI flash. Document non-destructive access; UART root is the classic quick win.
  4. Radio. Enumerate BLE GATT services/characteristics, Zigbee/sub-GHz protocols; test for unauthenticated control, replay, and pairing weaknesses. (RF capture/relay → wireless-pentester.)
  5. App ↔ cloud. Intercept companion-app traffic; test the device API for authz gaps, weak provisioning, and shared/global keys. (Web depth → api-security.)

Tools

  • binwalk / firmware-mod-kit / FACT — firmware extraction and analysis.
  • flashrom / Bus Pirate / logic analyzer — flash dumping and interface ID.
  • gatttool / bleak / Sniffle — BLE enumeration.
  • HackRF / RTL-SDR / Flipper — sub-GHz and radio triage (within regulations).

Read the full file on GitHub · 78 lines

Changes

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.

  1. 8d ago First seen · 78 lines · 94 tokens per session scan A 4b0f22acd7e1

Subscribe to this mod's changes

iot-pentester is an agent published in the GitHub repository 0xSteph/pentest-ai-agents (2,203 stars, last pushed 22d ago), licensed MIT. It adds 94 tokens to every session and 942 once invoked, about $0.0005 per session on Opus 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-08-30.

Related

Other agents, from other repositories

iot-attacker

IoT and embedded systems security specialist. Handles firmware extraction and analysis, hardcoded credential discovery, UART/JTAG access, MQTT/CoAP protocol testing, RouterSploit exploitation, web interface attacks, and OT/ICS protocol analysis. Triggers on: IoT, firmware, binwalk, UART, JTAG, router, embedded…

mukul975/Threatswarm · 93 tokens

Embedded Firmware Engineer

Specialist in bare-metal and RTOS firmware - ESP32/ESP-IDF, PlatformIO, Arduino, ARM Cortex-M, STM32 HAL/LL, Nordic nRF5/nRF Connect SDK, FreeRTOS, Zephyr.

SHAdd0WTAka/Zen-Ai-Pentest · 51 tokens

c2-operator

Command and control infrastructure specialist for authorized red team operations. Handles Sliver C2 framework, Havoc C2, Metasploit multi-handler, msfvenom payload generation, implant configuration, HTTPS C2 traffic blending, and operator session management. Triggers on: C2, command and control, Sliver, Havoc…

mukul975/Threatswarm · 94 tokens

exploit

Exploitation specialist for gaining initial access. Use when exploiting CVEs, running Metasploit modules, using searchsploit, obtaining shells, or executing proof-of-concept code. Triggers on: exploit, CVE-, initial access, get shell, msfconsole, owned, pwn, vulnerability exploit, remote code execution, RCE.

mukul975/Threatswarm · 73 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens