js-recon-secret-hunting
Pass
Audited by Gen Agent Trust Hub on Nov 12, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes content from arbitrary external JavaScript files, which presents a surface for indirect prompt injection. Maliciously crafted strings or comments within these files could attempt to influence the agent's behavior when it interprets the resulting scan reports.
- Ingestion points: External URLs provided in the input file
/workspace/recon/<target>/js_files_*.txtare downloaded and their content is scanned. - Boundary markers: The instructions do not define clear boundaries or use specific markers to separate untrusted data from the agent's instructions, nor do they include warnings to ignore instructions found within the scanned files.
- Capability inventory: The skill utilizes filesystem writes, network operations (
curl), and shell command execution (grep,trufflehog). - Sanitization: No sanitization or content filtering is performed on the downloaded JavaScript bundles prior to analysis.
- [COMMAND_EXECUTION]: The skill automates reconnaissance tasks using shell script blocks. It iterates over URLs provided in a local text file and passes them to the
curlcommand. While the variable is quoted, processing external inputs directly in shell commands is a pattern that requires careful management in automated environments.
Audit Metadata