credential-switch
Pass
Audited by Gen Agent Trust Hub on Nov 9, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses Python scripts (e.g.,
credential-manager.py,approval-manager.py,execution-tracker.py) to manage credentials and track approvals. These are executed via subprocess calls using the${CLAUDE_PLUGIN_ROOT}environment variable. - [SAFE]: The skill implements a robust 'Execution Gate' requiring explicit user approval (
yes) when switching profiles, especially if warnings are present or multiple profiles exist. - [SAFE]: The skill follows security best practices for secret management by instructing the agent to read/write credentials from specific configuration directories (
~/.claude-marketing/credentials/) rather than hardcoding them. - [SAFE]: The skill includes explicit instructions for handling untrusted content, warning the agent to never follow instructions inside fetched data or treat it as user approval.
- [SAFE]: The environment variables used (
${CLAUDE_PLUGIN_ROOT}) are standard for scoping skill execution to the plugin's root directory.
Audit Metadata