cli-tools
Audited by Socket on Mar 16, 2026
1 alert found:
Obfuscated FileThe script is a straightforward installer and not intrinsically malicious, but it contains a high-impact unsafe pattern: eval on catalog-provided version_command and blind use of package names from the catalog to run package manager installs (some with sudo). The main supply-chain risk is compromise of the catalog JSON; an attacker could cause arbitrary command execution and install trojanized packages. Recommendations: remove eval (run commands without eval, parse into arrays, or restrict allowed commands), validate or whitelist version_command contents, treat catalog files as sensitive/immutable artifacts (signed or checksum-verified), avoid unnecessary sudo usage or prompt users before privileged operations, and eliminate redundant sourcing of install_strategy.sh.