provider-switch
Pass
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: SAFEPERSISTENCECREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PERSISTENCE]: The skill modifies the shell configuration file
~/.zshrcto store environment variables and command aliases, ensuring that configured providers remain active across terminal sessions. - [CREDENTIALS_UNSAFE]: The skill stores API keys for multiple providers (DeepSeek, Z.ai, DashScope, MiniMax, OpenRouter) in plain text within the user's
~/.zshrcfile. While it attempts to secure these withchmod 600andumask 077during modification, the keys remain stored in the filesystem. - [COMMAND_EXECUTION]: The skill executes several internal shell scripts (
detect-mode.sh,check-status.sh,write-alias.sh,verify-providers.sh) to perform its core functions of status checking and file modification. - [EXTERNAL_DOWNLOADS]: The skill makes network requests to external API endpoints (e.g.,
openrouter.ai,deepseek.com,z.ai) usingcurlto verify that the provided API keys are valid. - [DYNAMIC_EXECUTION]: The skill uses
evalwithinverify-providers.shto load keys from the.zshrcfile and pipescurloutput topython3 -cfor parsing and validating model identifiers. - [INDIRECT_PROMPT_INJECTION]: The maintainer-only 'Update' mode uses sub-agents to browse external documentation, creating a potential surface for indirect prompt injection if those websites contain adversarial content.
Audit Metadata