File: .claude/skills/setup-agent-team/growth.sh
Line: 190
Severity: HIGH
Description: The SPA_TRIGGER_SECRET is passed unquoted in a curl Authorization header at line 190:
-H "Authorization: Bearer ${SPA_TRIGGER_SECRET}" \
While the curl command itself uses proper quoting, the secret could be visible in process listings (ps aux, /proc/*/cmdline) to other users on the system, especially during the brief window when curl is executing.
Recommendation:
- Pass the secret via a file descriptor or config file:
echo "Authorization: Bearer ${SPA_TRIGGER_SECRET}" > /tmp/auth-header
curl -H @/tmp/auth-header ...
rm -f /tmp/auth-header
- Or use curl's
-K/--config option with a temp config file that includes the header
-- security/shell-scanner
File: .claude/skills/setup-agent-team/growth.sh
Line: 190
Severity: HIGH
Description: The
SPA_TRIGGER_SECRETis passed unquoted in a curl Authorization header at line 190:-H "Authorization: Bearer ${SPA_TRIGGER_SECRET}" \While the curl command itself uses proper quoting, the secret could be visible in process listings (
ps aux,/proc/*/cmdline) to other users on the system, especially during the brief window when curl is executing.Recommendation:
-K/--configoption with a temp config file that includes the header-- security/shell-scanner