source-leak-hunt

Pass

Audited by Gen Agent Trust Hub on Oct 12, 2026

Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATION
Full Analysis
  • [DATA_EXFILTRATION]: The skill is primarily focused on identifying and harvesting sensitive data. It explicitly searches for files such as .env, wp-config.php.bak, and backup.sql. Furthermore, 'Step 2' provides specific commands to extract credentials (e.g., DB_PASSWORD, APP_SECRET, AUTH_KEY, TOKEN) from the retrieved files.
  • [COMMAND_EXECUTION]: The skill relies heavily on executing shell commands and external utilities like curl, nmap, masscan, httpx, and nuclei to perform network-based discovery and data retrieval.
  • [PRIVILEGE_ESCALATION]: The scripts hardcode an output directory within the root user's home folder (/root/output/leaks/). This design assumes the agent is running with root privileges, which violates the principle of least privilege.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data by fetching the content of files from arbitrary external URLs via curl. While the provided scripts use grep for pattern matching, the raw content is copied to the local filesystem. If an agent subsequently processes or displays the content of these leaked files, it could be influenced by malicious instructions embedded within the target data.
  • Ingestion points: Arbitrary external URLs fetched via curl in the scan_target function.
  • Boundary markers: None identified; the script retrieves raw file content.
  • Capability inventory: Subprocess execution for networking tools (curl), file system operations (mkdir, cp, rm), and text processing (grep, sed).
  • Sanitization: The script uses grep to verify content against known patterns (e.g., checking for 'DB_' in .env files), which provides basic validation but does not sanitize the content before storage.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 12, 2026, 06:55 PM