zizmor 1.5.2__tar.gz → 1.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of zizmor might be problematic. Click here for more details.

Files changed (279) hide show
  1. {zizmor-1.5.2 → zizmor-1.6.0}/.github/workflows/ci.yml +4 -4
  2. {zizmor-1.5.2 → zizmor-1.6.0}/.github/workflows/docker.yml +2 -2
  3. {zizmor-1.5.2 → zizmor-1.6.0}/.github/workflows/pypi.yml +14 -16
  4. {zizmor-1.5.2 → zizmor-1.6.0}/.github/workflows/site.yml +1 -1
  5. zizmor-1.5.2/.github/workflows/test-sarif.yml → zizmor-1.6.0/.github/workflows/test-output.yml +26 -3
  6. {zizmor-1.5.2 → zizmor-1.6.0}/.github/workflows/zizmor.yml +2 -2
  7. {zizmor-1.5.2 → zizmor-1.6.0}/Cargo.lock +51 -47
  8. {zizmor-1.5.2 → zizmor-1.6.0}/Cargo.toml +14 -14
  9. zizmor-1.6.0/Dockerfile +18 -0
  10. {zizmor-1.5.2 → zizmor-1.6.0}/PKG-INFO +1 -1
  11. {zizmor-1.5.2 → zizmor-1.6.0}/docs/audits.md +582 -350
  12. {zizmor-1.5.2 → zizmor-1.6.0}/docs/configuration.md +9 -0
  13. {zizmor-1.5.2 → zizmor-1.6.0}/docs/release-notes.md +68 -1
  14. {zizmor-1.5.2 → zizmor-1.6.0}/docs/snippets/help.txt +1 -1
  15. {zizmor-1.5.2 → zizmor-1.6.0}/docs/snippets/trophies.md +72 -0
  16. {zizmor-1.5.2 → zizmor-1.6.0}/docs/snippets/trophies.txt +9 -0
  17. {zizmor-1.5.2 → zizmor-1.6.0}/docs/usage.md +278 -70
  18. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/artipacked.rs +2 -2
  19. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/bot_conditions.rs +2 -2
  20. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/cache_poisoning.rs +80 -38
  21. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/dangerous_triggers.rs +2 -2
  22. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/excessive_permissions.rs +4 -6
  23. zizmor-1.6.0/src/audit/forbidden_uses.rs +118 -0
  24. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/github_env.rs +10 -6
  25. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/hardcoded_container_credentials.rs +4 -4
  26. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/impostor_commit.rs +8 -4
  27. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/insecure_commands.rs +3 -3
  28. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/known_vulnerable_actions.rs +8 -4
  29. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/mod.rs +26 -10
  30. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/overprovisioned_secrets.rs +3 -3
  31. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/ref_confusion.rs +8 -4
  32. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/secrets_inherit.rs +2 -2
  33. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/self_hosted_runner.rs +2 -2
  34. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/template_injection.rs +16 -10
  35. zizmor-1.6.0/src/audit/unpinned_uses.rs +305 -0
  36. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/unredacted_secrets.rs +3 -3
  37. {zizmor-1.5.2 → zizmor-1.6.0}/src/audit/use_trusted_publishing.rs +4 -7
  38. {zizmor-1.5.2 → zizmor-1.6.0}/src/config.rs +22 -2
  39. {zizmor-1.5.2 → zizmor-1.6.0}/src/expr/mod.rs +99 -43
  40. {zizmor-1.5.2 → zizmor-1.6.0}/src/finding/mod.rs +37 -4
  41. {zizmor-1.5.2 → zizmor-1.6.0}/src/main.rs +61 -28
  42. zizmor-1.6.0/src/models/coordinate.rs +436 -0
  43. zizmor-1.6.0/src/models/uses.rs +429 -0
  44. {zizmor-1.5.2 → zizmor-1.6.0}/src/models.rs +1 -1
  45. zizmor-1.6.0/src/output/github.rs +64 -0
  46. zizmor-1.6.0/src/output/mod.rs +3 -0
  47. zizmor-1.5.2/src/render.rs → zizmor-1.6.0/src/output/plain.rs +1 -1
  48. {zizmor-1.5.2/src → zizmor-1.6.0/src/output}/sarif.rs +2 -1
  49. {zizmor-1.5.2 → zizmor-1.6.0}/src/state.rs +6 -3
  50. {zizmor-1.5.2 → zizmor-1.6.0}/src/utils.rs +10 -9
  51. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/acceptance.rs +2 -2
  52. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/common.rs +13 -0
  53. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/e2e.rs +13 -0
  54. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshot.rs +133 -0
  55. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__e2e__gha_hazmat.snap +118 -5
  56. zizmor-1.6.0/tests/integration/snapshots/integration__e2e__invalid_config_file.snap +9 -0
  57. zizmor-1.6.0/tests/integration/snapshots/integration__e2e__issue_569.snap +178 -0
  58. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__e2e__menagerie-2.snap +1 -0
  59. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__e2e__menagerie.snap +1 -0
  60. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__cache_poisoning-10.snap +1 -2
  61. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__cache_poisoning-11.snap +2 -2
  62. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__cache_poisoning-12.snap +1 -2
  63. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__cache_poisoning-13.snap +1 -2
  64. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__cache_poisoning-14.snap +5 -0
  65. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__cache_poisoning-15.snap +19 -0
  66. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__cache_poisoning-2.snap +1 -2
  67. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__cache_poisoning-4.snap +1 -2
  68. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__cache_poisoning-6.snap +5 -0
  69. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__cache_poisoning-8.snap +1 -2
  70. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__cache_poisoning-9.snap +1 -2
  71. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__cant_retrieve.snap +1 -0
  72. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__forbidden_uses-2.snap +30 -0
  73. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__forbidden_uses-3.snap +14 -0
  74. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__forbidden_uses-4.snap +22 -0
  75. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__forbidden_uses.snap +6 -0
  76. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__github_output.snap +8 -0
  77. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__invalid_inputs.snap +2 -1
  78. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__ref_confusion-2.snap +14 -0
  79. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__ref_confusion.snap +22 -0
  80. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__template_injection-3.snap +6 -0
  81. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__template_injection-6.snap +2 -3
  82. zizmor-1.5.2/tests/integration/snapshots/integration__snapshot__cache_poisoning-14.snap → zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__template_injection-7.snap +1 -1
  83. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__template_injection-8.snap +4 -4
  84. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__template_injection-9.snap +5 -0
  85. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned-uses-composite-config-2.snap +30 -0
  86. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned-uses-composite-config.snap +30 -0
  87. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned-uses-default-config.snap +22 -0
  88. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned-uses-empty-config.snap +54 -0
  89. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned-uses-hash-pin-everything-config.snap +54 -0
  90. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned-uses-ref-pin-everything-config.snap +14 -0
  91. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned_uses-10.snap +12 -0
  92. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned_uses-11.snap +12 -0
  93. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__unpinned_uses-2.snap +6 -6
  94. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned_uses-3.snap +22 -0
  95. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned_uses-5.snap +33 -0
  96. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned_uses-6.snap +12 -0
  97. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned_uses-7.snap +12 -0
  98. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned_uses-8.snap +12 -0
  99. zizmor-1.6.0/tests/integration/snapshots/integration__snapshot__unpinned_uses-9.snap +12 -0
  100. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__unpinned_uses.snap +6 -14
  101. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/issue-378-repro.yml +1 -0
  102. zizmor-1.6.0/tests/integration/test-data/cache-poisoning/issue-642-repro.yml +39 -0
  103. zizmor-1.6.0/tests/integration/test-data/forbidden-uses/configs/allow-all.yml +11 -0
  104. zizmor-1.6.0/tests/integration/test-data/forbidden-uses/configs/allow-some.yml +12 -0
  105. zizmor-1.6.0/tests/integration/test-data/forbidden-uses/configs/deny-all.yml +11 -0
  106. zizmor-1.6.0/tests/integration/test-data/forbidden-uses/configs/deny-some.yml +12 -0
  107. zizmor-1.6.0/tests/integration/test-data/forbidden-uses/forbidden-uses-menagerie.yml +16 -0
  108. zizmor-1.6.0/tests/integration/test-data/several-vulnerabilities.yml +16 -0
  109. zizmor-1.6.0/tests/integration/test-data/template-injection/dataflow.yml +29 -0
  110. zizmor-1.6.0/tests/integration/test-data/template-injection/false-positive-menagerie.yml +25 -0
  111. zizmor-1.6.0/tests/integration/test-data/unpinned-uses/configs/composite-2.yml +13 -0
  112. zizmor-1.6.0/tests/integration/test-data/unpinned-uses/configs/composite.yml +10 -0
  113. zizmor-1.6.0/tests/integration/test-data/unpinned-uses/configs/empty.yml +7 -0
  114. zizmor-1.6.0/tests/integration/test-data/unpinned-uses/configs/hash-pin-everything.yml +5 -0
  115. zizmor-1.6.0/tests/integration/test-data/unpinned-uses/configs/invalid-policy-syntax-1.yml +6 -0
  116. zizmor-1.6.0/tests/integration/test-data/unpinned-uses/configs/invalid-policy-syntax-2.yml +6 -0
  117. zizmor-1.6.0/tests/integration/test-data/unpinned-uses/configs/invalid-policy-syntax-3.yml +6 -0
  118. zizmor-1.6.0/tests/integration/test-data/unpinned-uses/configs/invalid-policy-syntax-4.yml +6 -0
  119. zizmor-1.6.0/tests/integration/test-data/unpinned-uses/configs/invalid-policy-syntax-5.yml +6 -0
  120. zizmor-1.6.0/tests/integration/test-data/unpinned-uses/configs/invalid-wrong-policy-object.yml +5 -0
  121. zizmor-1.6.0/tests/integration/test-data/unpinned-uses/configs/ref-pin-everything.yml +5 -0
  122. zizmor-1.6.0/tests/integration/test-data/unpinned-uses/issue-659-repro.yml +19 -0
  123. zizmor-1.6.0/tests/integration/test-data/unpinned-uses/menagerie-of-uses.yml +29 -0
  124. zizmor-1.5.2/Dockerfile +0 -30
  125. zizmor-1.5.2/src/audit/unpinned_uses.rs +0 -100
  126. zizmor-1.5.2/src/models/coordinate.rs +0 -282
  127. zizmor-1.5.2/src/models/uses.rs +0 -147
  128. zizmor-1.5.2/tests/integration/snapshots/integration__e2e__issue_569.snap +0 -41
  129. zizmor-1.5.2/tests/integration/snapshots/integration__snapshot__cache_poisoning-6.snap +0 -6
  130. zizmor-1.5.2/tests/integration/snapshots/integration__snapshot__ref_confusion-2.snap +0 -6
  131. zizmor-1.5.2/tests/integration/snapshots/integration__snapshot__ref_confusion.snap +0 -14
  132. zizmor-1.5.2/tests/integration/snapshots/integration__snapshot__template_injection-3.snap +0 -6
  133. zizmor-1.5.2/tests/integration/snapshots/integration__snapshot__template_injection-7.snap +0 -6
  134. zizmor-1.5.2/tests/integration/snapshots/integration__snapshot__unpinned_uses-3.snap +0 -22
  135. {zizmor-1.5.2 → zizmor-1.6.0}/.github/ISSUE_TEMPLATE/bug-report.yml +0 -0
  136. {zizmor-1.5.2 → zizmor-1.6.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  137. {zizmor-1.5.2 → zizmor-1.6.0}/.github/ISSUE_TEMPLATE/feature-request.yml +0 -0
  138. {zizmor-1.5.2 → zizmor-1.6.0}/.github/dependabot.yml +0 -0
  139. {zizmor-1.5.2 → zizmor-1.6.0}/.github/workflows/release.yml +0 -0
  140. {zizmor-1.5.2 → zizmor-1.6.0}/.gitignore +0 -0
  141. {zizmor-1.5.2 → zizmor-1.6.0}/CONTRIBUTING.md +0 -0
  142. {zizmor-1.5.2 → zizmor-1.6.0}/LICENSE +0 -0
  143. {zizmor-1.5.2 → zizmor-1.6.0}/Makefile +0 -0
  144. {zizmor-1.5.2 → zizmor-1.6.0}/README.md +0 -0
  145. {zizmor-1.5.2 → zizmor-1.6.0}/docs/assets/favicon48x48.png +0 -0
  146. {zizmor-1.5.2 → zizmor-1.6.0}/docs/assets/rainbow.svg +0 -0
  147. {zizmor-1.5.2 → zizmor-1.6.0}/docs/assets/zizmor-demo.gif +0 -0
  148. {zizmor-1.5.2 → zizmor-1.6.0}/docs/development.md +0 -0
  149. {zizmor-1.5.2 → zizmor-1.6.0}/docs/index.md +0 -0
  150. {zizmor-1.5.2 → zizmor-1.6.0}/docs/installation.md +0 -0
  151. {zizmor-1.5.2 → zizmor-1.6.0}/docs/magiclink.css +0 -0
  152. {zizmor-1.5.2 → zizmor-1.6.0}/docs/quickstart.md +0 -0
  153. {zizmor-1.5.2 → zizmor-1.6.0}/docs/snippets/render-sponsors.py +0 -0
  154. {zizmor-1.5.2 → zizmor-1.6.0}/docs/snippets/render-trophies.py +0 -0
  155. {zizmor-1.5.2 → zizmor-1.6.0}/docs/snippets/sponsors.html +0 -0
  156. {zizmor-1.5.2 → zizmor-1.6.0}/docs/snippets/sponsors.json +0 -0
  157. {zizmor-1.5.2 → zizmor-1.6.0}/docs/trophy-case.md +0 -0
  158. {zizmor-1.5.2 → zizmor-1.6.0}/mkdocs.yml +0 -0
  159. {zizmor-1.5.2 → zizmor-1.6.0}/pyproject.toml +0 -0
  160. {zizmor-1.5.2 → zizmor-1.6.0}/src/expr/expr.pest +0 -0
  161. {zizmor-1.5.2 → zizmor-1.6.0}/src/github_api.rs +0 -0
  162. {zizmor-1.5.2 → zizmor-1.6.0}/src/registry.rs +0 -0
  163. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/main.rs +0 -0
  164. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__e2e__issue_612_repro.snap +0 -0
  165. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__artipacked-2.snap +0 -0
  166. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__artipacked-3.snap +0 -0
  167. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__artipacked-4.snap +0 -0
  168. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__artipacked.snap +0 -0
  169. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__bot_conditions.snap +0 -0
  170. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__cache_poisoning-3.snap +0 -0
  171. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__cache_poisoning-5.snap +0 -0
  172. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__cache_poisoning-7.snap +0 -0
  173. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__cache_poisoning.snap +0 -0
  174. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__excessive_permissions-10.snap +0 -0
  175. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__excessive_permissions-11.snap +0 -0
  176. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__excessive_permissions-12.snap +0 -0
  177. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__excessive_permissions-2.snap +0 -0
  178. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__excessive_permissions-3.snap +0 -0
  179. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__excessive_permissions-4.snap +0 -0
  180. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__excessive_permissions-5.snap +0 -0
  181. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__excessive_permissions-6.snap +0 -0
  182. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__excessive_permissions-7.snap +0 -0
  183. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__excessive_permissions-8.snap +0 -0
  184. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__excessive_permissions-9.snap +0 -0
  185. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__excessive_permissions.snap +0 -0
  186. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__github_env-2.snap +0 -0
  187. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__github_env-3.snap +0 -0
  188. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__github_env.snap +0 -0
  189. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__insecure_commands-2.snap +0 -0
  190. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__insecure_commands-3.snap +0 -0
  191. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__insecure_commands.snap +0 -0
  192. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__overprovisioned_secrets.snap +0 -0
  193. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__secrets_inherit.snap +0 -0
  194. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__self_hosted-2.snap +0 -0
  195. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__self_hosted-3.snap +0 -0
  196. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__self_hosted-4.snap +0 -0
  197. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__self_hosted-5.snap +0 -0
  198. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__self_hosted-6.snap +0 -0
  199. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__self_hosted-7.snap +0 -0
  200. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__self_hosted-8.snap +0 -0
  201. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__self_hosted.snap +0 -0
  202. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__template_injection-2.snap +0 -0
  203. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__template_injection-4.snap +0 -0
  204. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__template_injection-5.snap +0 -0
  205. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__template_injection.snap +0 -0
  206. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__unpinned_uses-4.snap +0 -0
  207. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/snapshots/integration__snapshot__unredacted_secrets.snap +0 -0
  208. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/artipacked/issue-447-repro.yml +0 -0
  209. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/artipacked.yml +0 -0
  210. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/bot-conditions.yml +0 -0
  211. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/caching-disabled-by-default.yml +0 -0
  212. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/caching-enabled-by-default.yml +0 -0
  213. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/caching-not-configurable.yml +0 -0
  214. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/caching-opt-in-boolean-toggle.yml +0 -0
  215. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/caching-opt-in-boolish-toggle.yml +0 -0
  216. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/caching-opt-in-expression.yml +0 -0
  217. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/caching-opt-in-multi-value-toggle.yml +0 -0
  218. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/caching-opt-out.yml +0 -0
  219. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/issue-343-repro.yml +0 -0
  220. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/no-cache-aware-steps.yml +0 -0
  221. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/publisher-step.yml +0 -0
  222. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/workflow-release-branch-trigger.yml +0 -0
  223. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning/workflow-tag-trigger.yml +0 -0
  224. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/cache-poisoning.yml +0 -0
  225. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/e2e-menagerie/.github/dummy-action-2/action.yml +0 -0
  226. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/e2e-menagerie/.github/workflows/another-dummy.yml +0 -0
  227. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/e2e-menagerie/.github/workflows/dummy.yml +0 -0
  228. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/e2e-menagerie/.github/workflows/ignored.yaml +0 -0
  229. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/e2e-menagerie/.gitignore +0 -0
  230. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/e2e-menagerie/README.md +0 -0
  231. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/e2e-menagerie/dummy-action-1/action.yaml +0 -0
  232. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/excessive-permissions/issue-336-repro.yml +0 -0
  233. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/excessive-permissions/issue-472-repro.yml +0 -0
  234. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/excessive-permissions/jobs-broaden-permissions.yml +0 -0
  235. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/excessive-permissions/reusable-workflow-call.yml +0 -0
  236. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/excessive-permissions/reusable-workflow-other-triggers.yml +0 -0
  237. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/excessive-permissions/workflow-default-perms-all-jobs-explicit.yml +0 -0
  238. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/excessive-permissions/workflow-default-perms.yml +0 -0
  239. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/excessive-permissions/workflow-empty-perms.yml +0 -0
  240. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/excessive-permissions/workflow-read-all.yml +0 -0
  241. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/excessive-permissions/workflow-write-all.yml +0 -0
  242. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/excessive-permissions/workflow-write-explicit.yml +0 -0
  243. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/excessive-permissions.yml +0 -0
  244. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/github-env/action.yml +0 -0
  245. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/github-env/github-path.yml +0 -0
  246. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/github-env/issue-397-repro.yml +0 -0
  247. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/github_env.yml +0 -0
  248. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/hardcoded-credentials.yml +0 -0
  249. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/inlined-ignores.yml +0 -0
  250. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/insecure-commands/action.yml +0 -0
  251. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/insecure-commands.yml +0 -0
  252. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/invalid/invalid-workflow.yml +0 -0
  253. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/issue-612-repro/action.yml +0 -0
  254. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/overprovisioned-secrets.yml +0 -0
  255. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/ref-confusion/issue-518-repro.yml +0 -0
  256. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/ref-confusion.yml +0 -0
  257. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/secrets-inherit.yml +0 -0
  258. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/self-hosted/issue-283-repro.yml +0 -0
  259. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/self-hosted/self-hosted-matrix-dimension.yml +0 -0
  260. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/self-hosted/self-hosted-matrix-exclusion.yml +0 -0
  261. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/self-hosted/self-hosted-matrix-inclusion.yml +0 -0
  262. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/self-hosted/self-hosted-runner-group.yml +0 -0
  263. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/self-hosted/self-hosted-runner-label.yml +0 -0
  264. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/self-hosted.yml +0 -0
  265. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/template-injection/issue-22-repro.yml +0 -0
  266. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/template-injection/issue-339-repro.yml +0 -0
  267. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/template-injection/issue-418-repro.yml +0 -0
  268. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/template-injection/pr-317-repro.yml +0 -0
  269. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/template-injection/pr-425-backstop/action.yml +0 -0
  270. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/template-injection/static-env.yml +0 -0
  271. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/template-injection/template-injection-dynamic-matrix.yml +0 -0
  272. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/template-injection/template-injection-static-matrix.yml +0 -0
  273. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/template-injection.yml +0 -0
  274. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/unpinned-uses/action.yml +0 -0
  275. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/unpinned-uses/issue-433-repro.yml +0 -0
  276. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/unpinned-uses.yml +0 -0
  277. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/unredacted-secrets.yml +0 -0
  278. {zizmor-1.5.2 → zizmor-1.6.0}/tests/integration/test-data/use-trusted-publishing.yml +0 -0
  279. {zizmor-1.5.2 → zizmor-1.6.0}/uv.lock +0 -0
@@ -19,7 +19,7 @@ jobs:
19
19
  - name: Format
20
20
  run: cargo fmt && git diff --exit-code
21
21
 
22
- - uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2
22
+ - uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2
23
23
 
24
24
  - name: Lint
25
25
  run: cargo clippy -- -D warnings -D clippy::dbg_macro
@@ -31,9 +31,9 @@ jobs:
31
31
  with:
32
32
  persist-credentials: false
33
33
 
34
- - uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2
34
+ - uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2
35
35
 
36
- - uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231 # v5.3.1
36
+ - uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
37
37
 
38
38
  - name: Test dependencies
39
39
  run: |
@@ -57,7 +57,7 @@ jobs:
57
57
  with:
58
58
  persist-credentials: false
59
59
 
60
- - uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231 # v5.3.1
60
+ - uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
61
61
 
62
62
  - name: Test site
63
63
  run: make site
@@ -85,7 +85,7 @@ jobs:
85
85
  DIGEST: ${{ steps.build.outputs.digest }}
86
86
 
87
87
  - name: Upload digest
88
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
88
+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
89
89
  with:
90
90
  name: digests-${{ matrix.image.platform-pair }}
91
91
  path: ${{ runner.temp }}/digests/*
@@ -105,7 +105,7 @@ jobs:
105
105
 
106
106
  steps:
107
107
  - name: Download digests
108
- uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4
108
+ uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4
109
109
  with:
110
110
  path: ${{ runner.temp }}/digests
111
111
  pattern: digests-*
@@ -40,13 +40,13 @@ jobs:
40
40
  with:
41
41
  persist-credentials: false
42
42
  - name: Build wheels
43
- uses: PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
43
+ uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1
44
44
  with:
45
45
  target: ${{ matrix.platform.target }}
46
46
  args: --release --out dist
47
47
  manylinux: ${{ matrix.platform.manylinux }}
48
48
  - name: Upload wheels
49
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
49
+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
50
50
  with:
51
51
  name: wheels-linux-${{ matrix.platform.target }}
52
52
  path: dist
@@ -69,13 +69,13 @@ jobs:
69
69
  with:
70
70
  persist-credentials: false
71
71
  - name: Build wheels
72
- uses: PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
72
+ uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1
73
73
  with:
74
74
  target: ${{ matrix.platform.target }}
75
75
  args: --release --out dist
76
76
  manylinux: musllinux_1_2
77
77
  - name: Upload wheels
78
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
78
+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
79
79
  with:
80
80
  name: wheels-musllinux-${{ matrix.platform.target }}
81
81
  path: dist
@@ -94,12 +94,12 @@ jobs:
94
94
  with:
95
95
  persist-credentials: false
96
96
  - name: Build wheels
97
- uses: PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
97
+ uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1
98
98
  with:
99
99
  target: ${{ matrix.platform.target }}
100
100
  args: --release --out dist
101
101
  - name: Upload wheels
102
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
102
+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
103
103
  with:
104
104
  name: wheels-windows-${{ matrix.platform.target }}
105
105
  path: dist
@@ -109,23 +109,21 @@ jobs:
109
109
  strategy:
110
110
  matrix:
111
111
  platform:
112
- # TODO: Bump to macos-15 once Rust 1.85+ is available.
113
- # See: https://github.com/actions/runner-images/issues/11637
114
- - runner: macos-14
112
+ - runner: macos-15
115
113
  target: x86_64
116
- - runner: macos-14
114
+ - runner: macos-15
117
115
  target: aarch64
118
116
  steps:
119
117
  - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
120
118
  with:
121
119
  persist-credentials: false
122
120
  - name: Build wheels
123
- uses: PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
121
+ uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1
124
122
  with:
125
123
  target: ${{ matrix.platform.target }}
126
124
  args: --release --out dist
127
125
  - name: Upload wheels
128
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
126
+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
129
127
  with:
130
128
  name: wheels-macos-${{ matrix.platform.target }}
131
129
  path: dist
@@ -137,12 +135,12 @@ jobs:
137
135
  with:
138
136
  persist-credentials: false
139
137
  - name: Build sdist
140
- uses: PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
138
+ uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1
141
139
  with:
142
140
  command: sdist
143
141
  args: --out dist
144
142
  - name: Upload sdist
145
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
143
+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
146
144
  with:
147
145
  name: wheels-sdist
148
146
  path: dist
@@ -163,14 +161,14 @@ jobs:
163
161
  # Used to generate artifact attestation
164
162
  attestations: write
165
163
  steps:
166
- - uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4
164
+ - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4
167
165
  - name: Generate artifact attestation
168
166
  uses: actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2
169
167
  with:
170
168
  subject-path: 'wheels-*/*'
171
169
  - name: Publish to PyPI
172
170
  if: ${{ startsWith(github.ref, 'refs/tags/') }}
173
- uses: PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
171
+ uses: PyO3/maturin-action@aef21716ff3dcae8a1c301d23ec3e4446972a6e3 # v1
174
172
  with:
175
173
  command: upload
176
174
  args: --non-interactive --skip-existing wheels-*/*
@@ -30,7 +30,7 @@ jobs:
30
30
  persist-credentials: false
31
31
 
32
32
  - name: Install the latest version of uv
33
- uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231 # v5.3.1
33
+ uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
34
34
 
35
35
  - name: build site
36
36
  run: make site
@@ -1,4 +1,4 @@
1
- name: Test SARIF Presentation
1
+ name: Test output formats
2
2
 
3
3
  on:
4
4
  pull_request:
@@ -22,14 +22,14 @@ jobs:
22
22
  with:
23
23
  persist-credentials: false
24
24
 
25
- - uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2
25
+ - uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2
26
26
 
27
27
  - name: Run zizmor
28
28
  run: |
29
29
  cargo run -- --format sarif . > results.sarif
30
30
 
31
31
  - name: Upload SARIF file
32
- uses: github/codeql-action/upload-sarif@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
32
+ uses: github/codeql-action/upload-sarif@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
33
33
  with:
34
34
  sarif_file: results.sarif
35
35
  category: zizmor-test-sarif-presentation
@@ -46,3 +46,26 @@ jobs:
46
46
  repo: context.repo.repo,
47
47
  body: `:robot: Presentation results: <${url}>`
48
48
  })
49
+
50
+ test-github-presentation:
51
+ runs-on: ubuntu-latest
52
+ if: contains(github.event.pull_request.labels.*.name, 'test-github-presentation')
53
+ permissions: {}
54
+
55
+ steps:
56
+ - name: Checkout repository
57
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
58
+ with:
59
+ persist-credentials: false
60
+
61
+ - uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2
62
+
63
+ - name: Run zizmor
64
+ run: |
65
+ # Normally we'd want a workflow to fail if the audit fails,
66
+ # but we're only testing presentation here.
67
+ cargo run \
68
+ -- \
69
+ --no-exit-codes \
70
+ --format github \
71
+ tests/integration/test-data/several-vulnerabilities.yml
@@ -21,13 +21,13 @@ jobs:
21
21
  with:
22
22
  persist-credentials: false
23
23
  - name: Install the latest version of uv
24
- uses: astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231 # v5.3.1
24
+ uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
25
25
  - name: Run zizmor 🌈
26
26
  run: uvx zizmor --format sarif . > results.sarif
27
27
  env:
28
28
  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
29
  - name: Upload SARIF file
30
- uses: github/codeql-action/upload-sarif@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
30
+ uses: github/codeql-action/upload-sarif@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
31
31
  with:
32
32
  sarif_file: results.sarif
33
33
  category: zizmor
@@ -97,9 +97,9 @@ dependencies = [
97
97
 
98
98
  [[package]]
99
99
  name = "anyhow"
100
- version = "1.0.97"
100
+ version = "1.0.98"
101
101
  source = "registry+https://github.com/rust-lang/crates.io-index"
102
- checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f"
102
+ checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
103
103
 
104
104
  [[package]]
105
105
  name = "arrayvec"
@@ -273,9 +273,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
273
273
 
274
274
  [[package]]
275
275
  name = "clap"
276
- version = "4.5.32"
276
+ version = "4.5.36"
277
277
  source = "registry+https://github.com/rust-lang/crates.io-index"
278
- checksum = "6088f3ae8c3608d19260cd7445411865a485688711b78b5be70d78cd96136f83"
278
+ checksum = "2df961d8c8a0d08aa9945718ccf584145eee3f3aa06cddbeac12933781102e04"
279
279
  dependencies = [
280
280
  "clap_builder",
281
281
  "clap_derive",
@@ -293,9 +293,9 @@ dependencies = [
293
293
 
294
294
  [[package]]
295
295
  name = "clap_builder"
296
- version = "4.5.32"
296
+ version = "4.5.36"
297
297
  source = "registry+https://github.com/rust-lang/crates.io-index"
298
- checksum = "22a7ef7f676155edfb82daa97f99441f3ebf4a58d5e32f295a56259f1b6facc8"
298
+ checksum = "132dbda40fb6753878316a489d5a1242a8ef2f0d9e47ba01c951ea8aa7d013a5"
299
299
  dependencies = [
300
300
  "anstream",
301
301
  "anstyle",
@@ -500,9 +500,9 @@ dependencies = [
500
500
 
501
501
  [[package]]
502
502
  name = "flate2"
503
- version = "1.1.0"
503
+ version = "1.1.1"
504
504
  source = "registry+https://github.com/rust-lang/crates.io-index"
505
- checksum = "11faaf5a5236997af9848be0bef4db95824b1d534ebc64d0f0c6cf3e67bd38dc"
505
+ checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece"
506
506
  dependencies = [
507
507
  "crc32fast",
508
508
  "miniz_oxide",
@@ -641,9 +641,9 @@ checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
641
641
 
642
642
  [[package]]
643
643
  name = "github-actions-models"
644
- version = "0.26.0"
644
+ version = "0.28.1"
645
645
  source = "registry+https://github.com/rust-lang/crates.io-index"
646
- checksum = "63a17952a0374993a4c7f8df12bd75b3d1ed8fb9c78e8dbaa32cf451143faaaa"
646
+ checksum = "90f4e09b721ac4c2c4af87cbdeac88fff82284dbcf71702066eecc17c3717dff"
647
647
  dependencies = [
648
648
  "indexmap",
649
649
  "serde",
@@ -1026,9 +1026,9 @@ dependencies = [
1026
1026
 
1027
1027
  [[package]]
1028
1028
  name = "indexmap"
1029
- version = "2.8.0"
1029
+ version = "2.9.0"
1030
1030
  source = "registry+https://github.com/rust-lang/crates.io-index"
1031
- checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058"
1031
+ checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e"
1032
1032
  dependencies = [
1033
1033
  "equivalent",
1034
1034
  "hashbrown",
@@ -1064,9 +1064,12 @@ dependencies = [
1064
1064
 
1065
1065
  [[package]]
1066
1066
  name = "inventory"
1067
- version = "0.3.15"
1067
+ version = "0.3.20"
1068
1068
  source = "registry+https://github.com/rust-lang/crates.io-index"
1069
- checksum = "f958d3d68f4167080a18141e10381e7634563984a537f2a49a30fd8e53ac5767"
1069
+ checksum = "ab08d7cd2c5897f2c949e5383ea7c7db03fb19130ffcfbf7eda795137ae3cb83"
1070
+ dependencies = [
1071
+ "rustversion",
1072
+ ]
1070
1073
 
1071
1074
  [[package]]
1072
1075
  name = "ipnet"
@@ -1326,20 +1329,20 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
1326
1329
 
1327
1330
  [[package]]
1328
1331
  name = "pest"
1329
- version = "2.7.15"
1332
+ version = "2.8.0"
1330
1333
  source = "registry+https://github.com/rust-lang/crates.io-index"
1331
- checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc"
1334
+ checksum = "198db74531d58c70a361c42201efde7e2591e976d518caf7662a47dc5720e7b6"
1332
1335
  dependencies = [
1333
1336
  "memchr",
1334
- "thiserror 2.0.9",
1337
+ "thiserror 2.0.12",
1335
1338
  "ucd-trie",
1336
1339
  ]
1337
1340
 
1338
1341
  [[package]]
1339
1342
  name = "pest_derive"
1340
- version = "2.7.15"
1343
+ version = "2.8.0"
1341
1344
  source = "registry+https://github.com/rust-lang/crates.io-index"
1342
- checksum = "816518421cfc6887a0d62bf441b6ffb4536fcc926395a69e1a85852d4363f57e"
1345
+ checksum = "d725d9cfd79e87dccc9341a2ef39d1b6f6353d68c4b33c177febbe1a402c97c5"
1343
1346
  dependencies = [
1344
1347
  "pest",
1345
1348
  "pest_generator",
@@ -1347,9 +1350,9 @@ dependencies = [
1347
1350
 
1348
1351
  [[package]]
1349
1352
  name = "pest_generator"
1350
- version = "2.7.15"
1353
+ version = "2.8.0"
1351
1354
  source = "registry+https://github.com/rust-lang/crates.io-index"
1352
- checksum = "7d1396fd3a870fc7838768d171b4616d5c91f6cc25e377b673d714567d99377b"
1355
+ checksum = "db7d01726be8ab66ab32f9df467ae8b1148906685bbe75c82d1e65d7f5b3f841"
1353
1356
  dependencies = [
1354
1357
  "pest",
1355
1358
  "pest_meta",
@@ -1360,9 +1363,9 @@ dependencies = [
1360
1363
 
1361
1364
  [[package]]
1362
1365
  name = "pest_meta"
1363
- version = "2.7.15"
1366
+ version = "2.8.0"
1364
1367
  source = "registry+https://github.com/rust-lang/crates.io-index"
1365
- checksum = "e1e58089ea25d717bfd31fb534e4f3afcc2cc569c70de3e239778991ea3b7dea"
1368
+ checksum = "7f9f832470494906d1fca5329f8ab5791cc60beb230c74815dff541cbd2b5ca0"
1366
1369
  dependencies = [
1367
1370
  "once_cell",
1368
1371
  "pest",
@@ -1631,9 +1634,9 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
1631
1634
 
1632
1635
  [[package]]
1633
1636
  name = "reqwest"
1634
- version = "0.12.14"
1637
+ version = "0.12.15"
1635
1638
  source = "registry+https://github.com/rust-lang/crates.io-index"
1636
- checksum = "989e327e510263980e231de548a33e63d34962d29ae61b467389a1a09627a254"
1639
+ checksum = "d19c46a6fdd48bc4dab94b6103fccc55d34c67cc0ad04653aad4ea2a07cd7bbb"
1637
1640
  dependencies = [
1638
1641
  "base64 0.22.1",
1639
1642
  "bytes",
@@ -1675,9 +1678,9 @@ dependencies = [
1675
1678
 
1676
1679
  [[package]]
1677
1680
  name = "reqwest-middleware"
1678
- version = "0.4.1"
1681
+ version = "0.4.2"
1679
1682
  source = "registry+https://github.com/rust-lang/crates.io-index"
1680
- checksum = "64e8975513bd9a7a43aad01030e79b3498e05db14e9d945df6483e8cf9b8c4c4"
1683
+ checksum = "57f17d28a6e6acfe1733fe24bcd30774d13bffa4b8a22535b4c8c98423088d4e"
1681
1684
  dependencies = [
1682
1685
  "anyhow",
1683
1686
  "async-trait",
@@ -1840,7 +1843,7 @@ dependencies = [
1840
1843
  "strum",
1841
1844
  "strum_macros",
1842
1845
  "syn 2.0.90",
1843
- "thiserror 2.0.9",
1846
+ "thiserror 2.0.12",
1844
1847
  "typed-builder",
1845
1848
  ]
1846
1849
 
@@ -1870,9 +1873,9 @@ dependencies = [
1870
1873
 
1871
1874
  [[package]]
1872
1875
  name = "serde_json_path"
1873
- version = "0.7.1"
1876
+ version = "0.7.2"
1874
1877
  source = "registry+https://github.com/rust-lang/crates.io-index"
1875
- checksum = "e176fbf9bd62f75c2d8be33207fa13af2f800a506635e89759e46f934c520f4d"
1878
+ checksum = "b992cea3194eea663ba99a042d61cea4bd1872da37021af56f6a37e0359b9d33"
1876
1879
  dependencies = [
1877
1880
  "inventory",
1878
1881
  "nom",
@@ -1881,26 +1884,26 @@ dependencies = [
1881
1884
  "serde_json",
1882
1885
  "serde_json_path_core",
1883
1886
  "serde_json_path_macros",
1884
- "thiserror 1.0.69",
1887
+ "thiserror 2.0.12",
1885
1888
  ]
1886
1889
 
1887
1890
  [[package]]
1888
1891
  name = "serde_json_path_core"
1889
- version = "0.2.1"
1892
+ version = "0.2.2"
1890
1893
  source = "registry+https://github.com/rust-lang/crates.io-index"
1891
- checksum = "ea3bfd54a421bec8328aefede43ac9f18c8c7ded3b2afc8addd44b4813d99fd0"
1894
+ checksum = "dde67d8dfe7d4967b5a95e247d4148368ddd1e753e500adb34b3ffe40c6bc1bc"
1892
1895
  dependencies = [
1893
1896
  "inventory",
1894
1897
  "serde",
1895
1898
  "serde_json",
1896
- "thiserror 1.0.69",
1899
+ "thiserror 2.0.12",
1897
1900
  ]
1898
1901
 
1899
1902
  [[package]]
1900
1903
  name = "serde_json_path_macros"
1901
- version = "0.1.5"
1904
+ version = "0.1.6"
1902
1905
  source = "registry+https://github.com/rust-lang/crates.io-index"
1903
- checksum = "ee05bac728cc5232af5c23896b34fbdd17cf0bb0c113440588aeeb1b57c6ba1f"
1906
+ checksum = "517acfa7f77ddaf5c43d5f119c44a683774e130b4247b7d3210f8924506cfac8"
1904
1907
  dependencies = [
1905
1908
  "inventory",
1906
1909
  "serde_json_path_core",
@@ -2186,11 +2189,11 @@ dependencies = [
2186
2189
 
2187
2190
  [[package]]
2188
2191
  name = "thiserror"
2189
- version = "2.0.9"
2192
+ version = "2.0.12"
2190
2193
  source = "registry+https://github.com/rust-lang/crates.io-index"
2191
- checksum = "f072643fd0190df67a8bab670c20ef5d8737177d6ac6b2e9a236cb096206b2cc"
2194
+ checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
2192
2195
  dependencies = [
2193
- "thiserror-impl 2.0.9",
2196
+ "thiserror-impl 2.0.12",
2194
2197
  ]
2195
2198
 
2196
2199
  [[package]]
@@ -2206,9 +2209,9 @@ dependencies = [
2206
2209
 
2207
2210
  [[package]]
2208
2211
  name = "thiserror-impl"
2209
- version = "2.0.9"
2212
+ version = "2.0.12"
2210
2213
  source = "registry+https://github.com/rust-lang/crates.io-index"
2211
- checksum = "7b50fa271071aae2e6ee85f842e2e28ba8cd2c5fb67f11fcb1fd70b276f9e7d4"
2214
+ checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
2212
2215
  dependencies = [
2213
2216
  "proc-macro2",
2214
2217
  "quote",
@@ -2283,9 +2286,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
2283
2286
 
2284
2287
  [[package]]
2285
2288
  name = "tokio"
2286
- version = "1.44.1"
2289
+ version = "1.44.2"
2287
2290
  source = "registry+https://github.com/rust-lang/crates.io-index"
2288
- checksum = "f382da615b842244d4b8738c82ed1275e6c5dd90c459a30941cd07080b06c91a"
2291
+ checksum = "e6b88822cbe49de4185e3a4cbf8321dd487cf5fe0c5c65695fef6346371e9c48"
2289
2292
  dependencies = [
2290
2293
  "backtrace",
2291
2294
  "bytes",
@@ -3115,11 +3118,11 @@ checksum = "6a5cbf750400958819fb6178eaa83bee5cd9c29a26a40cc241df8c70fdd46984"
3115
3118
 
3116
3119
  [[package]]
3117
3120
  name = "yamlpath"
3118
- version = "0.15.0"
3121
+ version = "0.16.0"
3119
3122
  source = "registry+https://github.com/rust-lang/crates.io-index"
3120
- checksum = "796a3f441fd5a8d00a2dac6ca0ce0f0b07b7e1997e014a32d4f17a9d39fbdc9f"
3123
+ checksum = "87c585ad15cb2a723978a39719af264133486ee68bd980e214ff43402e7b674a"
3121
3124
  dependencies = [
3122
- "thiserror 2.0.9",
3125
+ "thiserror 2.0.12",
3123
3126
  "tree-sitter",
3124
3127
  "tree-sitter-yaml",
3125
3128
  ]
@@ -3226,7 +3229,7 @@ dependencies = [
3226
3229
 
3227
3230
  [[package]]
3228
3231
  name = "zizmor"
3229
- version = "1.5.2"
3232
+ version = "1.6.0"
3230
3233
  dependencies = [
3231
3234
  "annotate-snippets",
3232
3235
  "anstream",
@@ -3260,6 +3263,7 @@ dependencies = [
3260
3263
  "serde_yaml",
3261
3264
  "tar",
3262
3265
  "terminal-link",
3266
+ "thiserror 2.0.12",
3263
3267
  "tokio",
3264
3268
  "tracing",
3265
3269
  "tracing-indicatif",
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  name = "zizmor"
3
3
  description = "Static analysis for GitHub Actions"
4
- version = "1.5.2"
4
+ version = "1.6.0"
5
5
  edition = "2024"
6
6
  repository = "https://github.com/woodruffw/zizmor"
7
7
  homepage = "https://github.com/woodruffw/zizmor"
@@ -23,50 +23,50 @@ tty-tests = []
23
23
  [dependencies]
24
24
  annotate-snippets = "0.11.5"
25
25
  anstream = "0.6.18"
26
- anyhow = "1.0.97"
26
+ anyhow = "1.0.98"
27
27
  camino = { version = "1.1.9", features = ["serde1"] }
28
- clap = { version = "4.5.32", features = ["derive", "env"] }
28
+ clap = { version = "4.5.36", features = ["derive", "env"] }
29
29
  clap-verbosity-flag = { version = "3.0.2", features = [
30
30
  "tracing",
31
31
  ], default-features = false }
32
32
  etcetera = "0.10.0"
33
- flate2 = "1.1.0"
34
- github-actions-models = "0.26.0"
33
+ flate2 = "1.1.1"
34
+ github-actions-models = "0.28.1"
35
35
  http-cache-reqwest = "0.15.1"
36
36
  human-panic = "2.0.1"
37
37
  ignore = "0.4.23"
38
- indexmap = "2.8.0"
38
+ indexmap = "2.9.0"
39
39
  indicatif = "0.17.11"
40
40
  itertools = "0.14.0"
41
41
  line-index = "0.1.2"
42
42
  owo-colors = "4.2.0"
43
- pest = "2.7.15"
44
- pest_derive = "2.7.15"
43
+ pest = "2.8.0"
44
+ pest_derive = "2.8.0"
45
45
  regex = "1.11.1"
46
- reqwest = { version = "0.12.14", features = [
46
+ reqwest = { version = "0.12.15", features = [
47
47
  "blocking",
48
48
  "json",
49
49
  "rustls-tls",
50
50
  ], default-features = false }
51
- reqwest-middleware = "0.4.1"
51
+ reqwest-middleware = "0.4.2"
52
52
  serde = { version = "1.0.219", features = ["derive"] }
53
53
  serde-sarif = "0.7.0"
54
54
  serde_json = "1.0.140"
55
55
  serde_yaml = "0.9.34"
56
56
  tar = "0.4.44"
57
57
  terminal-link = "0.1.0"
58
- tokio = { version = "1.44.1", features = ["rt-multi-thread"] }
58
+ thiserror = "2.0.12"
59
+ tokio = { version = "1.44.2", features = ["rt-multi-thread"] }
59
60
  tracing = "0.1.41"
60
61
  tracing-indicatif = "0.3.9"
61
62
  tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
62
63
  tree-sitter = "0.25.2"
63
64
  tree-sitter-bash = "0.23.3"
64
65
  tree-sitter-powershell = "0.25.2"
65
- yamlpath = "0.15.0"
66
+ yamlpath = "0.16.0"
66
67
 
67
68
  [profile.dev.package]
68
69
  insta.opt-level = 3
69
- similar.opt-level = 3
70
70
 
71
71
  [profile.release]
72
72
  lto = true
@@ -75,4 +75,4 @@ lto = true
75
75
  assert_cmd = "2.0.16"
76
76
  insta = { version = "1.42.2" }
77
77
  pretty_assertions = "1.4.1"
78
- serde_json_path = "0.7.1"
78
+ serde_json_path = "0.7.2"
@@ -0,0 +1,18 @@
1
+ # ------------------------------------------------------------------------------
2
+ # Runtime image
3
+ # ------------------------------------------------------------------------------
4
+
5
+ FROM cgr.dev/chainguard/wolfi-base:latest
6
+
7
+ # Wolfi zizmor version to install
8
+ # https://edu.chainguard.dev/open-source/wolfi/apk-version-selection/
9
+ # (set as an argument to pair with zizmor releases)
10
+ ARG ZIZMOR_VERSION
11
+
12
+ RUN set -eux && \
13
+ apk update && \
14
+ apk add zizmor=~${ZIZMOR_VERSION} && \
15
+ zizmor --version
16
+
17
+ # Set the entrypoint to zizmor
18
+ ENTRYPOINT ["/usr/bin/zizmor"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zizmor
3
- Version: 1.5.2
3
+ Version: 1.6.0
4
4
  License-File: LICENSE
5
5
  Summary: Static analysis for GitHub Actions
6
6
  Keywords: cli,github-actions,static-analysis,security