web2-recon

Fail

Audited by Gen Agent Trust Hub on Nov 10, 2026

Risk Level: HIGHPERSISTENCEREMOTE_CODE_EXECUTIONCREDENTIALS_UNSAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PERSISTENCE]: The skill instructs the user to modify shell configuration files to persist environment variables across sessions. Specifically, it uses echo 'export CHAOS_API_KEY="your-key-here"' >> ~/.zshrc to store an API key permanently in the user's home directory.
  • [REMOTE_CODE_EXECUTION]: The pipeline includes commands that pipe data directly from remote, untrusted targets into a Python interpreter for processing (e.g., curl ... | python3 -c "..."). While the provided Python script performs regex extraction, this pattern is inherently risky as it executes logic on unvalidated input stream from attacker-controlled web endpoints.
  • [CREDENTIALS_UNSAFE]: The skill encourages unsafe credential management by prompting users to hardcode API keys in environment variables and plaintext configuration files like ~/.config/subfinder/config.yaml.
  • [COMMAND_EXECUTION]: The skill relies extensively on shell command execution to orchestrate various third-party security tools. Many of these commands involve complex piping and redirection of data from the internet directly into local utilities.
  • [EXTERNAL_DOWNLOADS]: The skill performs runtime installation of external packages (e.g., pip install trufflehog3) and downloads nuclei templates, which introduces risks associated with supply chain integrity and unverified third-party code execution.
  • [INDIRECT_PROMPT_INJECTION]: The recon pipeline is designed to ingest and process large volumes of untrusted data from the open web, including JavaScript bundles and HTTP response headers.
  • Ingestion points: Data is fetched via curl, katana, waybackurls, and gau from arbitrary targets.
  • Boundary markers: No boundary markers or "ignore" instructions are used to delimit untrusted data from the agent's logic.
  • Capability inventory: The skill possesses significant capabilities, including file system access, shell execution, and network operations.
  • Sanitization: The skill lacks robust sanitization; it passes raw external content through utilities like grep, sed, and awk, which could be exploited by malicious payloads embedded in the target's web assets.
Recommendations
  • HIGH: Downloads and executes remote code from: https://$TARGET/static/js/main.*.js, https://$TARGET:8080/$main_js - DO NOT USE without thorough review
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 10, 2026, 02:59 PM