Repository navigation
Pin and verify CTF scoring inputs - #267
Open
tobymoreno wants to merge 1 commit into
Open
tobymoreno wants to merge 1 commit into
tobymoreno wants to merge 1 commit into
Conversation
Pin the scoring action and private scorer image to immutable references, score the explicit PR head SHA, scope concurrency by repository, and fail closed when no authentic scorer result is produced. Signed-off-by: Toby Moreno <chris.moreno.ctr@km.spaceforce.mil>
🏆 DVWA — CTF Patch Score0 / 55 challenges patched
Commit: No points yet — this commit didn't solve any challenges, so there's nothing on the leaderboard for it. Patch a vulnerability and push again! 💪 |
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.
Summary
OWASP-CTF/score-actionto commitab1795f38b78065627d4d8bf449ce7eaffd762ffsha256:7d3134c34e665067acc56c872e59fa3c09ef6e3f0b0f460796a6fe5a0d5e894cSecurity rationale
The workflow runs under
pull_request_targetwith OIDC and PR-write capabilities. Mutable action tags and image tags therefore create an avoidable supply-chain boundary. Immutable references ensure reviewed action and scorer code are what execute with those privileges.The result verifier remains inline in the trusted base workflow; it does not execute scripts from the checked-out PR.
Validation
git diff --checkpassesRemaining upstream work
The composite action currently combines app testing, OIDC score submission, and PR commenting. Fully separating test and recorder privileges requires an upstream
OWASP-CTF/score-actioninterface change and is intentionally not simulated in this consumer workflow.