install-script-generator
Fail
Audited by Gen Agent Trust Hub on Oct 15, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
scripts/executor.pyscript executes arbitrary shell commands retrieved from a YAML installation plan. It usessubprocess.run(command, shell=True), which allows for the execution of any shell command defined in theinstallation_plan.yamlfile, including those involved in installation, verification, and rollback. - [COMMAND_EXECUTION]: The
scripts/doc_generator.pyscript constructs shell commands by directly interpolating thetargetparameter (e.g.,{target} --version). Because this input is not sanitized, an attacker could provide a target name containing shell metacharacters (e.g.,;,&&) to achieve command injection when the script is run. - [COMMAND_EXECUTION]: The
scripts/plan_generator.pyscript similarly interpolates target and dependency names into shell command templates (e.g.,f"brew install {target}"). These commands are then written to the installation plan, which is later executed by the agent or user. - [REMOTE_CODE_EXECUTION]: The skill's primary instructions and documentation (
SKILL.mdanddocs/README.md) explicitly promote thecurl | bashinstallation pattern. This method is a known security risk as it bypasses local package manager verifications and executes remote scripts directly in the shell. - [DATA_EXFILTRATION]: The
scripts/env_explorer.pyscript performs extensive system reconnaissance, collecting data on the operating system, shell environment, environment variables (PATH), user names, and installed tools. This information is saved toenv_info.json, providing a detailed footprint of the local system.
Recommendations
- HIGH: Downloads and executes remote code from: https://raw.githubusercontent.com/owner/mytool/main/install.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata