Skip to content

v0.4.4

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 15:22
· 7 commits to main since this release
f50006b

Notes

  • untrusted-checkout reports more run steps that bring the pull request's code into the workspace: gh pr checkout with a literal number or with a ${{ }} number (#941, #945), git fetch <remote> pull/<n>/head followed by git checkout (#951), and git fetch and git checkout of github.event.pull_request.head.sha or head.ref (#953). Code that a later command of the same script runs counts as executed (#945).
  • When untrusted-checkout cannot resolve the ref that a run step passes to git fetch or git checkout, it reports an inconclusive Finding instead of no Finding (#955).
  • secrets-inherit.local is inconclusive, not confirmed, when sisakulint has not read the local callee, as commit-sha already is for the same uses (#943).
  • Fixes of false positives for steps of actions/labeler: a step with if: failure() in a job where no step can fail (#934), and a command that runs as another user (#942).

Changelog

  • f50006b untrusted-checkout: run ステップの git fetch / git checkout の ref を解決できないとき Inconclusive を出す (#955)
  • ac94b91 untrusted-checkout: run ステップで攻撃者が選ぶ head 値 (head.sha / head.ref) を git fetch + git checkout する形を検出する (#953)
  • bc1c925 The comments of the true-negative example mutable-ref.app-commit.yml describe an environment approval that the facts of the example deny (#952)
  • f55339c untrusted-checkout: run ステップの git fetch <remote> pull/<n>/head + git checkout を検出する (#951)
  • b360bf4 LiteralValues で workflow_dispatch の choice 入力の options を読む (#787 の 3) (#947)
  • ee31567 A step that runs the attacker's code as another user is read as one the attacker cannot make fail, also when the step has timeout-minutes (since #942) (#946)
  • d90f7ba untrusted-checkout: gh pr checkout with a literal number, and code run later in the same script counts as executed (part 1b of #691) (#945)
  • 6793624 actions/labeler: 別 user で実行する command の errexit 位置を attackerMayFail で読み、false positive form labeler-other-user を外す (#844 の 2/2) (#942)
  • 7203572 secrets-inherit reports secrets-inherit.local as confirmed when it has not read the local callee, where commit-sha reports an inconclusive for the same uses (#943)
  • c3e4c33 untrusted-checkout: prcode の RunCheckoutSite を IR と rule に接続し、例と forms test を更新する (part 1a-2 of #691) (#941)
  • 2c04f61 actions/shell: errexit が効く位置かどうかの読み取りを追加する (#844 の 1/2) (#940)
  • 35d326f A step of actions/labeler with if: failure() in a job where no step can fail is read as a step that may run, so the rules report an inconclusive Finding (#934)