hunt-source-leak

Fail

Audited by Gen Agent Trust Hub on Sep 21, 2026

Risk Level: HIGHCOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONREMOTE_CODE_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill relies on extensive shell scripting (curl, grep, tail, sed, git) to interact with remote targets and manage reconnaissance results.\n- [DYNAMIC_EXECUTION]: Multiple inline Python scripts are used for processing JSON manifests, extracting source code from maps, and parsing .DS_Store files. One specific script writes extracted content to the local filesystem at /tmp/sourcemap_extract/.\n- [REMOTE_CODE_EXECUTION]: Automated security scans identified a pattern where data from asset-manifest.json is piped to python3. Although this instance appears to be a legitimate use of the json.tool module for formatting, such piped execution patterns represent a potential remote execution attack surface if the target is compromised.\n- [EXTERNAL_DOWNLOADS]: The skill recommends installing external packages via pip3 (git-dumper, ds_store) and npm (source-map-explorer, unwebpack-sourcemap). It also references a specific script from an external repository (lijiejie/ds_store_exp) for automated directory enumeration.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from target domains (e.g., manifest files, source maps, and API documentation) which serves as an ingestion point for indirect prompt injection.\n
  • Ingestion points: Data fetched via curl from user-defined $TARGET domains.\n
  • Boundary markers: The skill lacks explicit delimiters or instructions to the agent to ignore instructions embedded in the target files.\n
  • Capability inventory: The skill possesses capabilities for file system writes, network requests, and executing system commands.\n
  • Sanitization: The source map extraction script includes basic path traversal prevention by stripping ../ sequences, but no general sanitization for agent-facing content is present.
Recommendations
  • HIGH: Downloads and executes remote code from: https://$TARGET/asset-manifest.json - DO NOT USE without thorough review
Audit Metadata
Risk Level
HIGH
Analyzed
Sep 21, 2026, 02:52 AM