recon-carpet-cleaning
Fail
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses shell commands that interpolate the
$TARGETenvironment variable without sanitization. If an attacker can influence this variable, they could potentially achieve arbitrary command execution via shell metacharacters or command substitution (e.g., using$(whoami)or; command ;). - [REMOTE_CODE_EXECUTION]: The skill implements a pattern where data fetched from an external service (crt.sh) is piped directly into a
python3process. Although the command uses a specific script via the-cflag to parse JSON, piping network output to an interpreter is a high-risk pattern frequently associated with malicious payloads. - [EXTERNAL_DOWNLOADS]: The skill automatically fetches content from external web endpoints and a certificate transparency service. While relevant for its stated purpose, the automated retrieval and processing of remote content increases the overall attack surface.
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest untrusted data from external websites (such as WordPress debug logs, photo galleries, and certificate logs) which could contain malicious instructions designed to influence the agent's behavior.
- Ingestion points: Data is fetched from target URLs and the crt.sh API as defined in Phase 1 and Phase 2 of the skill.
- Boundary markers: No delimiters or instructions are present to distinguish untrusted external data from the skill's own instructions.
- Capability inventory: The skill utilizes shell tools like
curl,grep, andpython3, and performs file system operations (writing to/tmp/). - Sanitization: No sanitization, validation, or escaping of the downloaded data is performed before it is processed or displayed to the agent.
Recommendations
- HIGH: Downloads and executes remote code from: https://crt.sh/?q=%25.$TARGET&output=json - DO NOT USE without thorough review
Audit Metadata