CI/CD pipeline: leak of a masked secret
An external user submitted a Pull Request to a public repository disguised as a simple documentation fix. Although the DEPLOY_SIGNING_TOKEN value appears masked with *** when inspecting the CI/CD logs, the security team suspects the secret was leaked to the log in a modified form in another step.
You are given the ci_audit_bundle.zip archive:
.github/workflows/*.yml— two GitHub Actions workflow files (one hardened, the other vulnerable);events/pull_request_event.json— the Pull Request webhook event that triggered the workflow;logs/*.log— CI runner execution logs.
Task: identify which workflow has the pull_request_target and inline expression injection (${{ github.event.pull_request.title }}) vulnerability, read the shell command pipeline injected by the attacker from pull_request_event.json, and recover the real DEPLOY_SIGNING_TOKEN value by collecting the properly tagged fragments from the corresponding CI log and reversing them. The log also contains decoy STAGING_API_KEY fragments under another tag. Flag format: BAYROQ{...} (the last 16 characters are lowercase hexadecimal digits).