hunt-nextjs
Fail
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
curlandgrepto interact with and analyze external Next.js applications. This includes automated probing for Server Side Request Forgery (SSRF) and authentication bypasses. - [DYNAMIC_EXECUTION]: The skill utilizes
python3 -cto run short, hardcoded scripts for parsing HTML and JSON responses. Although automated tools flagged the piping ofcurloutput intopython3as a remote code execution risk, the implementation correctly treats the remote content as data for processing rather than code for execution. - [INDIRECT_PROMPT_INJECTION]: By fetching and processing content from external targets (such as
__NEXT_DATA__blocks), the skill exposes an attack surface where maliciously crafted responses from a target could potentially influence the agent's logic or attempt to exploit the parsing scripts. - Ingestion points: External responses from
$TARGETviacurlin Phases 1, 5, 6, and 8. - Boundary markers: None; the skill lacks explicit delimiters to separate target data from the analysis logic.
- Capability inventory: File system access (via
grep -r), network access (viacurl), and script execution (viapython3). - Sanitization: Relies on standard library parsing functions (
json.loads,re.search), which are generally resilient against typical injection but represent an untrusted data boundary.
Recommendations
- HIGH: Downloads and executes remote code from: https://$TARGET/ - DO NOT USE without thorough review
Audit Metadata