network-scanning-recon

Fail

Audited by Gen Agent Trust Hub on Sep 27, 2026

Risk Level: HIGHCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The Python automation script (recon.py) uses subprocess.run(cmd, shell=True) to execute system commands. This method is inherently risky when dealing with external input.
  • [DYNAMIC_EXECUTION]: The skill provides logic to dynamically assemble shell commands using string interpolation at runtime, which are then executed by the system shell.
  • [INDIRECT_PROMPT_INJECTION]: The automation script lacks input sanitization for the target parameter, creating a vulnerability to indirect injection attacks.
  • Ingestion points: Input is taken from the command line argument sys.argv[1] in SKILL.md (recon.py section).
  • Boundary markers: Absent; there are no checks to ensure the input is a valid hostname or IP address.
  • Capability inventory: The script has the capability to write to the file system (via output redirection) and execute various network tools with shell privileges.
  • Sanitization: Absent; the input is directly placed into f-strings used for command construction.
  • [EXTERNAL_DOWNLOADS]: The skill guides the user to download and install multiple external tools from various sources including PyPI, Go package registries, and GitHub (e.g., shodan, censys, subfinder, aquatone).
  • [REMOTE_CODE_EXECUTION]: The skill includes instructions to clone the EyeWitness repository and execute its setup.sh script, which constitutes the execution of unverified remote code after download.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Sep 27, 2026, 04:37 AM