cli-tools
Warn
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: MEDIUMPERSISTENCEPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PERSISTENCE]: The skill modifies shell configuration files to ensure that tool paths and environment managers are initialized in future sessions.
- Evidence:
scripts/lib/path_check.shcontains functionsadd_to_shell_rcandadd_shell_hookwhich append export statements and initialization logic (e.g., `eval "$(rbenv init - bash)"
) to files like/.bashrc/.zshrc,, and~/.profile`. - [PRIVILEGE_ESCALATION]: Several scripts utilize
sudoto perform administrative tasks, such as system-wide package updates and writing to restricted directories. - Evidence:
scripts/auto_update.shexecutessudo apt-get upgrade -yandsudo snap refresh.scripts/install_composer.shusessudo cpto install the composer binary to/usr/local/bin. - [COMMAND_EXECUTION]: The skill relies extensively on shell commands to audit the environment, detect project types, and manage tools.
- Evidence:
scripts/check_environment.shruns various diagnostic commands likewhich,type -a, and--versionacross multiple binaries.scripts/detect_project_type.shexecutesgrepon local files to identify frameworks. - [EXTERNAL_DOWNLOADS]: The skill fetches binaries and scripts from various external sources to facilitate tool installation.
- Evidence:
scripts/install_composer.shdownloads fromhttps://getcomposer.org.scripts/installers/hashicorp_zip.shdownloads fromhttps://releases.hashicorp.com. Multiple installers fetch releases from GitHub repositories. - [REMOTE_CODE_EXECUTION]: Binaries and scripts downloaded from external sources are executed on the host system.
- Evidence:
scripts/installers/aws_installer.shdownloads the AWS CLI zip, unzips it, and runs the./aws/installscript.scripts/installers/github_release_binary.shdownloads binaries, applieschmod +x, and executes them to verify installation. - [DYNAMIC_EXECUTION]: The skill executes shell commands constructed from tool metadata (catalog entries).
- Evidence:
scripts/installers/package_manager.shusesbash -cwithin thesafe_version_checkfunction to run version commands retrieved from JSON catalog files. While it includes an allowlist-based validator, this still facilitates dynamic command assembly and execution. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from local project files that could potentially influence agent behavior or script execution.
- Ingestion points:
scripts/detect_project_type.sh(reading project manifest files),scripts/check_environment.sh(capturing tool output). - Boundary markers: Absent.
- Capability inventory: Full file-write via shell profiles, network operations (curl/wget), and privileged execution (sudo).
- Sanitization: A command allowlist exists for metadata execution, but project file content is processed via standard grep/sed without specific injection sanitization.
Audit Metadata