CI/CD pipelines expose secrets through plaintext environment variables, verbose build logs, misconfigured artifact storage, or overly broad secret access, enabling attackers to harvest production credentials and cloud API keys.
Immediate Response
1Rotate all secrets and credentials accessible from the affected CI/CD pipeline immediately.
2Scrub exposed secrets from build logs and artifact storage.
3Restrict pipeline secret access to trusted branches and approved workflows only.
4Audit pipeline access logs to determine if exposed credentials were harvested.