soia-env-ai-cli-upgrade

Warn

Audited by Socket on Aug 8, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/upgrade_ai_clis.py

No explicit credential theft or data exfiltration behavior is evident in the provided fragment. However, the module contains multiple high-impact execution pathways typical of supply-chain/abuse scenarios: it executes an environment-provided shell command for Cursor upgrades via bash -lc (allowing arbitrary code execution if the environment can be influenced) and it performs remote download-and-execute of an installer script for AGY installation. Additionally, it automates brew and npm global upgrade/install operations, which can execute third-party code during installation. Overall, this warrants security hardening (restrict/validate CURSOR_UPGRADE_CMD, add integrity verification for remote installers, pin/verify package sources, and consider safer install/upgrade constraints).

Confidence: 68%Severity: 72%
Audit Metadata
Analyzed At
Aug 8, 2026, 06:48 AM
Package URL
pkg:socket/skills-sh/soia-team%2Fsoia-open-env-skills%2Fsoia-env-ai-cli-upgrade%2F@652f9435a1b349c77a5ae2339592220c8913546262e94572a7a2f54bf31c05b3
Security Audit — socket — soia-env-ai-cli-upgrade