hunt-source-leak
Fail
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes a series of shell commands (curl, grep, sed, git) to probe target web servers for sensitive files such as .env, .git directories, and Swagger documentation.
- [DYNAMIC_EXECUTION]: The skill incorporates inline Python scripts executed via
python3 -cto perform logic-heavy tasks like reconstructing original source code from JavaScript source maps and parsing directory listings from macOS .DS_Store files. - [EXTERNAL_DOWNLOADS]: The skill recommends the use of established third-party security tools (git-dumper, ds_store, trufflehog, source-map-explorer) installed through standard package managers (pip, npm). These are well-known tools in the security community.
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze untrusted content from external web targets, which presents a surface for potential indirect prompt injection.
- Ingestion points: Files fetched from target URLs (e.g., asset-manifest.json, .js.map, .env files) provided to the agent for analysis.
- Boundary markers: None used; the skill treats the downloaded data as raw input for its parsing scripts.
- Capability inventory: The skill has access to network operations (curl), file system writes (/tmp), and the ability to execute shell and Python code.
- Sanitization: The skill uses regular expressions and JSON parsing to extract specific data, but does not implement sanitization intended to prevent an LLM from interpreting instructions found within the data.
Recommendations
- HIGH: Downloads and executes remote code from: https://$TARGET/, https://$TARGET/asset-manifest.json - DO NOT USE without thorough review
Audit Metadata