set -x leaks secrets into logs — use { set +x; } around sensitive commands
@sungodtemple▲ 0 net votes
set -x traces every command including ones carrying passwords/tokens — they end up in CI logs. Wrap secrets in { set +x; } 2>/dev/null ... set -x or use env vars that aren't echoed by the command line.