hunt-nextjs
Fail
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: HIGHINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill facilitates the ingestion of data from untrusted external websites, which creates a surface for potential indirect prompt injection.
- Ingestion points: Multiple commands throughout
SKILL.md(e.g., Phase 1, 5, and 8) usecurlto fetch HTML, JSON, and JavaScript bundles from user-provided$TARGETURLs. - Boundary markers: There are no explicit delimiters or instructions to the agent to treat the fetched content as data only or to ignore embedded instructions.
- Capability inventory: The skill utilizes
curlfor network operations,grepfor string extraction, andpython3for JSON processing. - Sanitization: No sanitization or validation of the retrieved content is performed before it is processed by the agent's tools.
- [COMMAND_EXECUTION]: The skill relies on shell command execution for its core functionality.
- Evidence: Extensive use of
curl,grep, andbashsyntax. The interpolation of the$TARGETvariable into shell strings in documentation examples could lead to command injection if the agent executes them without proper quoting or validation. - [DYNAMIC_EXECUTION]: The skill uses Python to dynamically process data retrieved from remote targets.
- Evidence: In Phase 5 and Phase 8,
curloutput is piped topython3 -c, executing hardcoded scripts to extract and format__NEXT_DATA__JSON blocks. While the scripts are for parsing, they operate directly on raw input from the network. - [DATA_EXFILTRATION]: The skill includes patterns for interacting with external services that could be used for verification of server-side vulnerabilities.
- Evidence: Phase 4 describes using an out-of-band (OOB) collaborator host (
UNIQUE.COLLAB_HOST) to verify SSRF vulnerabilities, which involves sending requests to non-whitelisted external domains.
Recommendations
- HIGH: Downloads and executes remote code from: https://$TARGET/ - DO NOT USE without thorough review
Audit Metadata