vhost-enumeration
Fail
Audited by Gen Agent Trust Hub on Nov 10, 2026
Risk Level: HIGHPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The skill instructs the agent to modify the system's
/etc/hostsfile usingsudo tee -a /etc/hosts. This allows the agent to bypass standard user permissions and alter system-wide DNS resolution. - Evidence in Phase 3, Method 2:
echo "TARGET_IP dev.target.com internal.target.com admin.target.com" | sudo tee -a /etc/hosts - [COMMAND_EXECUTION]: The skill relies on executing various external CLI tools for reconnaissance, including
ffuf,curl,dnsx,httpx,openssl,mapcidr, andgowitness. These tools are executed with parameters derived from wordlists or previous tool outputs. - [INDIRECT_PROMPT_INJECTION]: The skill has a vulnerability surface for indirect prompt injection. It processes untrusted data from external network services (HTTP responses, SSL certificates, and DNS records) and pipes this data into shell loops and commands without explicit sanitization.
- Ingestion points: Phase 4 (SSL certificate SAN fields extracted via
openssl) and Phase 5 (PTR records retrieved viadnsx). - Boundary markers: None present.
- Capability inventory: Sensitive file modification (
sudo tee), network requests (curl,ffuf), and external tool execution (gowitness,mapcidr). - Sanitization: No explicit sanitization or validation of the hostnames or IP addresses retrieved from external sources is performed before further processing or command execution.
Recommendations
- AI detected serious security threats
Audit Metadata