Secret Leaked Despite Masking
A debug step runs echo "$DB_PASSWORD" | base64. The password comes from a CI secret, and the log shows the base64 string in clear text. Why wasn't it masked?
echo "$DB_PASSWORD" | base64
Choose one answer
Masking only works for secrets shorter than 16 characters.
Masking is skipped for commands piped into another program.
Masking replaces the exact secret value; a transformed value isn't recognized.
Masking only applies to environment variables with SECRET in their names.
SECRET