provider-switch

Warn

Audited by Socket on Nov 30, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/write-alias.sh

This script manages provider exports and aliases in ~/.zshrc and does not itself perform network exfiltration or credential theft. The main security concern is that set-key writes the unvalidated command-line variable name into an executable shell export line, enabling shell-code injection when ~/.zshrc is sourced. It also leaves credential-bearing ~/.zshrc.bak files after several modification actions, though it sets their permissions to 600. Overall severity is moderate and depends on whether an attacker can control the variable name or access the user's account.

Confidence: 97%Severity: 62%
Audit Metadata
Analyzed At
Nov 30, 2026, 02:42 PM
Package URL
pkg:socket/skills-sh/kochetkov-ma%2Fclaude-brewcode%2Fprovider-switch%2F@03f38fe4f0470b151e9b7f751e93738be00f62909b5bf281e0be226c30eab6f7