recon-sector-expansion

Warn

Audited by Gen Agent Trust Hub on Oct 12, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATION
Full Analysis
  • [COMMAND_EXECUTION]: The skill implements a Python-based testing pipeline using subprocess.run(cmd, shell=True). Commands are built by interpolating domain names obtained from external queries. This pattern is vulnerable to command injection if the input sanitization (currently handled by regex in preceding shell pipes) is bypassed.\n
  • Evidence: The test_domain function in SKILL.md interpolates the domain variable directly into a shell command string used by subprocess.run.\n- [PRIVILEGE_ESCALATION]: The skill identifies that the platform's write_file tool restricts access to system paths like /root/ and explicitly provides a workaround to bypass these security constraints using terminal redirections.\n
  • Evidence: Under the 'Pitfalls' section in SKILL.md, item 10 describes the 'write_file blocked' error and instructs the user to use cat > file << 'EOF' to write to protected paths.\n- [DYNAMIC_EXECUTION]: The skill provides and executes multi-step Bash and Python scripts during its workflow to perform complex scanning tasks and data aggregation.\n
  • Evidence: SKILL.md contains a significant Python script for batch testing and various loops for sector-based querying of certificate logs.\n- [INDIRECT_PROMPT_INJECTION]: The skill ingests and summarizes content from numerous untrusted external sources, including third-party website headers and certificate transparency databases.\n
  • Ingestion points: Results from querying crt.sh and various target domain HTTP responses.\n
  • Boundary markers: None identified; the skill processes external strings and places them into markdown reports.\n
  • Capability inventory: Shell access, network requests, file system access, and network scanning tools.\n
  • Sanitization: Partial regex-based extraction of alphanumeric domain strings.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 12, 2026, 06:55 PM