shodan-reconnaissance

shodan-reconnaissance is a skill for Claude Code, Codex from zebbern/claude-code-guide. It costs 79 tokens per session (3,565 once invoked), scanned B, original, MIT.

A guide to using Shodan, an internet search engine that indexes exposed devices and services, for authorized reconnaissance. It covers finding hosts, open ports, software versions, vulnerable services, and internet-connected devices such as IoT equipment.

In plain words
What is it for?
Use it to investigate approved IP addresses, domains, or network ranges, gather asset and vulnerability data, monitor exposure, and export results for analysis.
Why use it?
It helps security teams see what their systems expose publicly and identify services or versions that may need protection.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate approved IP addresses, domains, or network ranges, gather asset and vulnerability data, monitor exposure, and export results for analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zebbern/claude-code-guide/shodan-reconnaissance
About the project

Claude Code Guide is a reference collection for configuring and using Claude Code, Anthropic’s command-line coding agent. Developers use it to learn commands, skills, agents, MCP, automation, security, integrations, and troubleshooting. Its catalogue add-ons provide many of the documented skills and agents.

zebbern/claude-code-guide · 4,721 stars · on GitHub

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.

Any agent
npx skills add zebbern/claude-code-guide --skill shodan-reconnaissance
Clone the repo
git clone --depth 1 https://github.com/zebbern/claude-code-guide

Made for: Claude Code, Codex.

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 shodan-reconnaissance

README.md
[![agentmods](https://agentmods.dev/badge/skills/zebbern/claude-code-guide/shodan-reconnaissance/github.svg)](https://agentmods.dev/skills/zebbern/claude-code-guide/shodan-reconnaissance)
Your own site
<a href="https://agentmods.dev/skills/zebbern/claude-code-guide/shodan-reconnaissance"><img src="https://agentmods.dev/badge/skills/zebbern/claude-code-guide/shodan-reconnaissance/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.

agentmods 80×15 button for shodan-reconnaissance

Your own site · 80×15
<a href="https://agentmods.dev/skills/zebbern/claude-code-guide/shodan-reconnaissance"><img src="https://agentmods.dev/badge/skills/zebbern/claude-code-guide/shodan-reconnaissance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,565 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Privilege Escalation · line 45
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Data Exfiltration · line 266
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 269
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 272
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00079 $0.03565
Opus 5.5 $0.00032 $0.01426
Sonnet 5.5 $0.00016 $0.00713
Haiku 4.5 $0.00008 $0.00357

Measured 2mo ago against content hash 1bf8aa15dae0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

shodan-reconnaissance scanned grade B with 2 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo pacman -S python-shodan

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "https://api.shodan.io/api-info?key=YOUR_KEY" | jq
skills/shodan-reconnaissance/SKILL.md · 504 lines

How it starts

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

Shodan Reconnaissance and Pentesting

Purpose

Provide systematic methodologies for leveraging Shodan as a reconnaissance tool during penetration testing engagements. This skill covers the Shodan web interface, command-line interface (CLI), REST API, search filters, on-demand scanning, and network monitoring capabilities for discovering exposed services, vulnerable systems, and IoT devices.

Inputs / Prerequisites

  • Shodan Account: Free or paid account at shodan.io
  • API Key: Obtained from Shodan account dashboard
  • Target Information: IP addresses, domains, or network ranges to investigate
  • Shodan CLI: Python-based command-line tool installed
  • Authorization: Written permission for reconnaissance on target networks

Outputs / Deliverables

  • Asset Inventory: List of discovered hosts, ports, and services
  • Vulnerability Report: Identified CVEs and exposed vulnerable services
  • Banner Data: Service banners revealing software versions
  • Network Mapping: Geographic and organizational distribution of assets
  • Screenshot Gallery: Visual reconnaissance of exposed interfaces
  • Exported Data: JSON/CSV files for further analysis

Core Workflow

1. Setup and Configuration

Install Shodan CLI
# Using pip
pip install shodan

# Or easy_install
easy_install shodan

# On BlackArch/Arch Linux
sudo pacman -S python-shodan
Initialize API Key
# Set your API key
shodan init YOUR_API_KEY

# Verify setup
shodan info
# Output: Query credits available: 100
#         Scan credits available: 100
Check Account Status
# View credits and plan info
shodan info

# Check your external IP
shodan myip

# Check CLI version
shodan version

2. Basic Host Reconnaissance

Query Single Host
# Get all information about an IP
shodan host 1.1.1.1

# Example output:
# 1.1.1.1
# Hostnames: one.one.one.one
# Country: Australia
# Organization: Mountain View Communications
# Number of open ports: 3
# Ports:
#   53/udp
#   80/tcp
#   443/tcp

Read the full file on GitHub · 504 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. 2mo ago First seen · 504 lines · 79 tokens per session scan B 1bf8aa15dae0

Subscribe to this mod's changes

shodan-reconnaissance is a skill published in the GitHub repository zebbern/claude-code-guide (4,721 stars, last pushed 4d ago), licensed MIT. It adds 79 tokens to every session and 3,565 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

shodan-reconnaissance compared with skills from other repositories

shodan-reconnaissance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shodan-reconnaissancezebbern/claude-code-guideSkill4.7k4d agoMITB79Claude Code, Codex
offensive-wifiSnailSploit/Claude-RedSkill12k12d agoMITA183Claude Code, Codex
offensive-lorawan-sub-ghzSnailSploit/Claude-RedSkill12k12d agoMITA163Claude Code, Codex
offensive-wifi-reconSnailSploit/Claude-RedSkill12k12d agoMITA130Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill12k12d agoMITA113Claude Code, Codex
offensive-zigbee-thread-matterSnailSploit/Claude-RedSkill12k12d agoMITA126Claude Code, Codex
offensive-iotSnailSploit/Claude-RedSkill12k12d agoMITB196Claude Code, Codex