staging-subdomain-hunt
Fail
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDATA_EXFILTRATIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes multiple sensitive CLI tools including
curl,nmap,masscan,subfinder,httpx, andnucleivia the terminal. - [DATA_EXFILTRATION]: The skill actively seeks out sensitive configuration files such as
.envandinfo.phpwhich often contain database credentials, API keys, and server environment details. - [PRIVILEGE_ESCALATION]: The skill includes explicit instructions for 'Staging Takeover' by identifying and interacting with
/wp-admin/install.php, which allows an attacker to configure a fresh WordPress instance and gain administrative access to the server. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from external sources (crt.sh JSON and web server responses) and interpolates them into shell commands and scripts (e.g., iterating over subdomains in
for sub in $(grep...)). While it uses some basic filters, it lacks robust sanitization for the inputs being piped into the terminal. - [DYNAMIC_EXECUTION]: The skill uses
python3 -cto dynamically execute Python code for processing JSON responses from web APIs (e.g.,wp-json/wpsl/v1/), representing a runtime execution of dynamically generated code strings.
Recommendations
- AI detected serious security threats
Audit Metadata