Skip to content

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

Description

@Raffa-jarrl

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions