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) use curl to fetch HTML, JSON, and JavaScript bundles from user-provided $TARGET URLs.
  • 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 curl for network operations, grep for string extraction, and python3 for 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, and bash syntax. The interpolation of the $TARGET variable 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, curl output is piped to python3 -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
Risk Level
HIGH
Analyzed
Sep 28, 2026, 02:45 PM