Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Security finding β€” possible pull_request_target pattern (details on request)Β #3478

Copy link
Copy link
@Raffa-jarrl

Description

@Raffa-jarrl
Issue body actions

Hi πŸ‘‹

Automated scan from Lictor flagged a pull_request_target workflow that checks out the PR head SHA/ref. That's the pattern of the classic GitHub Actions RCE β€” but exploitability depends on your guards. I verified the pattern, not exploitability.

  • What I saw: pull_request_target + a checkout step referencing the head ref.
  • Why it might matter: without label gates / approved-ci / fork-PR filters, fork PRs can run with write-scoped tokens.
  • What to check: the workflow file the scan flagged. If your guards are sufficient (label requirement, dependabot-only, head.repo.full_name check, etc.), this is a non-issue β€” close out and a quick note helps me tune the scanner. For the exact file/line, reply here or email Raffa@Lictor-AI.com.

Either way β€” thank you for the work you do on this repo. πŸ™

β€” Raffa Β· Lictor (open-source, Apache 2.0)

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.