[Security PoC - Cantina bounty] benign proof-of-execution for lint.yml pull_request_target RCE#119
Open
pwnhaven-afk wants to merge 2 commits into
Open
[Security PoC - Cantina bounty] benign proof-of-execution for lint.yml pull_request_target RCE#119pwnhaven-afk wants to merge 2 commits into
pwnhaven-afk wants to merge 2 commits into
Conversation
|
@pwnhaven-afk is attempting to deploy a commit to the Uniswap Team on Vercel. A member of the Team first needs to authorize it. |
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.
Benign, invited security proof-of-concept for an active Cantina bug bounty submission on Uniswap/sybil-interface. The triager explicitly requested a
pull_request_targetworkflow-run log showing fork-controlled code execution. This PR provides exactly that, and nothing more.What it does:
.eslintrc.jsonpoints the eslintparserat./poc.js. When the baselint.yml(pull_request_target+wearerequired/lint-action@77d70b9a,auto_fix: true) checks out this fork head and runs eslint, noderequire()spoc.js, which prints proof markers (whoami,GITHUB_EVENT_NAME, repo, ref) and then returns the real@typescript-eslint/parserso linting proceeds normally.Strictly non-destructive — what it does NOT do: does not read or exfiltrate any secret/token, does not set any Uniswap remote, and does not push to any branch.
poc.jscontains no weaponization.To generate the requested log: as a first-time-contributor PR, the
pull_request_targetrun is gated behind a maintainer "Approve and run" click (that click is not a code review, and is itself part of the documented attack path). Approving it produces the "Lint" run log showing the markers above — the artifact requested on the Cantina report.Please close this PR once the run log is captured; the fork can then be deleted. Happy to coordinate via the Cantina thread.