install-script-generator
Fail
Audited by Gen Agent Trust Hub on May 3, 2026
Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: Several Python helper scripts execute shell commands using
subprocess.runwithshell=True, incorporating the user-provided softwaretargetname without sanitization. - In
scripts/doc_generator.py, theget_software_infofunction executes commands likef"{target} --version"directly in the shell. - In
scripts/executor.py, therun_commandfunction executes arbitrary strings retrieved from theinstallation_plan.yamlfile, which is generated based on user input. - This design allows an attacker to execute arbitrary system commands by providing a malicious software name (e.g., using command chaining characters like
;or&). - [REMOTE_CODE_EXECUTION]: The primary function of the skill is to generate and document 'curl piped to bash' installation scripts.
SKILL.mdandREADME.mdcontain instructions and templates for users to run commands likecurl -sSL https://raw.githubusercontent.com/<owner>/<repo>/main/install.sh | bash.- While intended for software distribution, this pattern is a well-known security risk for end-users as it bypasses local verification before execution.
- [DATA_EXFILTRATION]: The
scripts/env_explorer.pyscript performs extensive system profiling. - It collects detailed metadata including OS version, CPU architecture, installed package managers, shell paths, user permission levels (root/sudo availability), and system paths (Home, CWD, PATH).
- This sensitive environment footprint is saved to
env_info.json, which could facilitate targeted attacks if the data is exfiltrated.
Recommendations
- HIGH: Downloads and executes remote code from: https://raw.githubusercontent.com/ - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata