Skip to content

Secure AirspeedVelocity PR benchmark workflow - #30

Merged
Krastanov merged 1 commit into
JuliaGraphs:mainfrom
Krastanov-agent:secure-asv-benchmark-codex-20260723
Jul 23, 2026
Merged

Krastanov merged 1 commit into
JuliaGraphs:mainfrom
Krastanov-agent:secure-asv-benchmark-codex-20260723

Conversation

@Krastanov-agent

Copy link
Copy Markdown
Contributor

Summary

  • run the AirspeedVelocity benchmark workflow on pull_request instead of pull_request_target
  • keep the workflow token read-only with contents: read
  • write benchmark results to the job summary via job-summary: true instead of posting PR comments
  • keep the branch filter as [master, main] so this file can be reused across repos

This avoids the classic pull_request_target pwn request problem: the old workflow could execute PR-controlled benchmark/package code while holding base-repository privileges.

cc @Krastanov

Run AirspeedVelocity benchmarks on pull_request instead of pull_request_target so untrusted PR code does not execute with privileged base-repository permissions.

Write benchmark output to the job summary instead of PR comments, which lets the workflow token remain read-only.
@Krastanov
Krastanov merged commit e09e091 into JuliaGraphs:main Jul 23, 2026
3 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants