cc-switch-cli
Fail
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill provides instructions to install software by piping a remote shell script directly into bash. This is a high-risk pattern that allows for arbitrary code execution without prior inspection.
- Evidence:
curl -fsSL https://github.com/SaladDay/cc-switch-cli/releases/latest/download/install.sh | bashinSKILL.md. - [EXTERNAL_DOWNLOADS]: The skill downloads binaries and scripts from a GitHub repository (
SaladDay/cc-switch-cli) that is not associated with a known trusted organization or the skill's authoring vendor. - Evidence: Multiple
curl -LOandcurl -fsSLcommands targetinggithub.com/SaladDay/cc-switch-cli/releases. - [PRIVILEGE_ESCALATION]: Manual installation and build instructions require the use of
sudoto move or copy binaries into system directories, which grants the process administrative rights over the host system. - Evidence:
sudo mv cc-switch /usr/local/bin/andsudo cp target/release/cc-switch /usr/local/bin/inSKILL.md. - [COMMAND_EXECUTION]: The skill facilitates the execution of various system commands, including
xattrto remove security attributes andchmodto modify file permissions. - Evidence:
chmod +x cc-switchandxattr -cr /usr/local/bin/cc-switchinSKILL.md. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a broad attack surface for indirect injection as it ingests data from external API providers, MCP servers, and community repositories while having the capability to modify critical agent configuration files.
- Ingestion points: Community skills discovered via
cc-switch skills discoverand remote provider model lists fetched viacc-switch provider fetch-models. - Boundary markers: None present; the instructions do not include delimiters or warnings for the agent to ignore instructions embedded in the external content it processes.
- Capability inventory: The skill can write to filesystem paths (e.g.,
~/.claude/CLAUDE.md), execute shell commands viamcp validate, and perform network operations viacurlandproxy start. - Sanitization: No evidence of sanitization or validation of content fetched from remote skills or providers before it is synced to the agent's active configuration files.
Recommendations
- HIGH: Downloads and executes remote code from: https://github.com/SaladDay/cc-switch-cli/releases/latest/download/install.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata