hunt-source-leak
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes various shell commands (e.g.,
curl,grep,git,xxd) to perform reconnaissance, check for exposed directories like.git/, and search for hardcoded secrets within web bundles. - [EXTERNAL_DOWNLOADS]: The skill installs several standard security auditing tools using package managers, including
pip3 install git-dumper,pip3 install ds_store, andnpm installforsource-map-explorerandunwebpack-sourcemap. These tools are fetched from official public registries (PyPI and NPM). - [DYNAMIC_EXECUTION]: The skill employs
python3 -cto execute inline Python scripts. These scripts are defined within the skill and are used to parse JSON data (such as Swagger/OpenAPI specifications or JavaScript source maps) and to reconstruct source code directories in/tmp/sourcemap_extract/. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted data from remote target systems (e.g.,
.js.mapfiles,swagger.json, and Git logs). This ingestion of external content constitutes a theoretical attack surface for indirect prompt injection or tool output poisoning. - Ingestion points: Multiple
curloperations targetinghttps://$TARGET/inSKILL.mdretrieve external artifacts. - Boundary markers: None are present to distinguish between target data and agent instructions.
- Capability inventory: The skill possesses capabilities for file system writing, command execution, and network access.
- Sanitization: The source map extraction script in
SKILL.mdincludes basic path sanitization using.replace()to mitigate directory traversal attempts during file reconstruction.
Audit Metadata