Git bundle: hidden author
A development team created a repo.bundle file (the standard Git bundle v2 format) as a backup copy of a repository. It turns out that one of the developers committed the real production token to the deploy.json file, then made a commit removing the token to hide the mistake, and finally rewrote the refs/heads/main branch (force-push), leaving a clean history.
However, the old refs/remotes/origin/old-main branch and its parent commits (PACKv2 objects) have been preserved inside the bundle! In addition, the encrypted_token_hex value in deploy.json is not the flag directly: it has been repeatedly XOR-ed with the SHA-256 hash of the real personal email (in lowercase) of the author who wrote that very faulty commit: flag[i] = token[i] ^ SHA256(shaxsiy_email)[i % 32].
The commit author used a corporate alias email (...@orient-corp.invalid) in the Git history, but in the .mailmap file at the repository root each developer's corporate email is linked to his real personal email. Analysing repo.bundle (with git clone or a PACKv2 parser), find the commit that added the token in the old-main history and its author, determine the personal email through .mailmap, and decrypt BAYROQ{GIT_BUNDLE_IZ_...}. (Note: the last 16 characters of the flag are lowercase hexadecimal digits).