Repository navigation
[POC][DO NOT MERGE] CI secret-exposure audit (names only) - #265
Open
alikabeel-spooner wants to merge 1 commit into
Open
alikabeel-spooner wants to merge 1 commit into
alikabeel-spooner wants to merge 1 commit into
Conversation
POC only - prints which secret env var names are present in the PR build environment (names only, never values). DO NOT MERGE. 🤖 Generated with [OpenCode](https://opencode.ai)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this validates
The PR pipeline triggers on
pull_request_source_branch: "*"and runsBitrise/Scripts/pr_assignments.shfrom the checked-out PR tree before any gate (Bitrise/testing_bitrise.yml:21). This PR prepends a presence check that reports which of the CI secret env vars are defined in the PR build environment.The change
A single block prepended to
Bitrise/Scripts/pr_assignments.sh:EXPOSED: <NAME>if set,absent : <NAME>if not${!v:-}— no values, nocurl, no external endpointExpected result
In the Bitrise log for the
Assign PR author and configure CI Testing modestep, read theEXPOSED:/absent :lines.EXPOSED:= defined and exposed to this PR build. Values are masked by Bitrise, so only names are visible.Scope
POC only. No secrets printed. No external transmission. To be closed immediately after the CI log is read.