Skip to main content
Challenges CI/CD pipeline: leak of a masked secret
Misc Medium Analysis of GitHub Actions pull_request_target, expression injection, and bypassing *** masking Solves: 3

CI/CD pipeline: leak of a masked secret

Author: CyberSamSU
Points
50

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).

Attached files
ci_audit_bundle.zip Log in to download
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −5 pts Log in
Hint 2 −10 pts Log in
Hint 3 −15 pts Log in
To submit a flag, log in.

First solvers

1. Odam 25.11.2026
2. Mirjaxon Qaxxarov 25.11.2026
3. Asmaa Mottery 27.11.2026