web-pentest
Pass
Audited by Gen Agent Trust Hub on Aug 22, 2026
Risk Level: SAFEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill has a significant attack surface for indirect prompt injection. The agent is instructed to crawl web applications, fetch headers, and inspect HTML/JavaScript source code. This involves ingesting untrusted data from remote targets which could contain malicious instructions designed to influence the agent's behavior.\n
- Ingestion points:
browser_navigatetool,curlrequests forrobots.txt,sitemap.xml, and HTTP headers inscripts/recon-scan.sh, and tech fingerprinting viawhatweb.\n - Boundary markers: The skill requires an explicit authorization step (
Phase 0) and a scope allowlist (engagement/scope.txt). It also instructs the agent to redact sensitive data (credentials/tokens) in the conversation history to prevent leakage via the auxiliary client.\n - Capability inventory: The agent can execute shell commands (
nmap,curl,whatwebviarecon-scan.sh), perform browser navigation, and write evidence files to the localengagement/directory.\n - Sanitization: The
recon-scan.shscript performs a host validation check against thescope.txtfile before executing network tools.\n- [REMOTE_CODE_EXECUTION]: The skill provides a library of offensive payloads for SQL injection, command injection, and unsafe deserialization (e.g., Python pickle and YAML payloads) inreferences/exploitation-techniques.mdandreferences/bypass-techniques.md. These are intended to be sent to remote target applications to confirm vulnerabilities.\n- [COMMAND_EXECUTION]: The skill includes a bash scriptscripts/recon-scan.shthat executes local security tools (nmap,whatweb,curl) using a user-provided target URL. The script includes quoting and a scope enforcement mechanism to prevent unauthorized scanning, but it still executes external processes with external input.\n- [PROMPT_INJECTION]: The skill explicitly instructs the agent to attempt to bypass security filters (WAFs) on target applications. It provides a detailedreferences/bypass-techniques.mdfile containing common evasion patterns for various vulnerability classes.\n- [DATA_EXFILTRATION]: The skill instructions acknowledge the risk of capturing sensitive data like credentials and JWT tokens. It mandates redacting these values in the chat history and storing them in local files. However, the use ofcurland browser tools to fetch data from remote targets is a fundamental part of its reconnaissance and exploitation phases.\n- [EXTERNAL_DOWNLOADS]: Thescripts/recon-scan.shscript performs multiple network requests to the target application to gather reconnaissance data, including HTTP headers and common files likerobots.txt.\n- [OBFUSCATION]: The filereferences/bypass-techniques.mdcontains a Base64-encoded string (c2xlZXAgNQo=) which decodes to an executable command (sleep 5). This is provided as an example of a command injection bypass payload for testing purposes.
Audit Metadata