Shodan Reconnaissance and Pentesting

Pass

Audited by Gen Agent Trust Hub on Nov 13, 2026

Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill provides numerous shell commands for the shodan CLI to perform network scanning, result parsing, and data export to the local filesystem.
  • [PRIVILEGE_ESCALATION]: The setup instructions include the use of sudo to install the shodan Python package via the pacman package manager on Linux systems.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from external, untrusted sources (internet-wide service banners and service headers). This creates an attack surface where an attacker-controlled device could serve a malicious banner containing instructions to influence the agent's logic.
  • Ingestion points: Service banners, HTTP HTML content, and SSL certificate fields retrieved via shodan search, shodan host, and the Python API script.
  • Boundary markers: Absent; the skill does not suggest using delimiters or 'ignore' instructions when evaluating search results.
  • Capability inventory: File system writing (downloading JSON.GZ, redirecting to CSV), network scanning (shodan scan submit), and API interactions.
  • Sanitization: None; results from the API are printed or parsed directly without validation of the content within the banners.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 13, 2026, 01:31 AM