🔒️ Fix zizmor template-injection findings#6550
Conversation
|
- Fix 14 template-injection findings across 7 publish jobs by moving
${{steps.attest.outputs.bundle-path}} to env var BUNDLE_PATH and
replacing ${{env.TGZ_NAME}} with $TGZ_NAME in run commands
- Remove template-injection ignore section from zizmor config (fixed)
- Update cache-poisoning ignore line numbers to match current file
Co-authored-by: dubzzz <[email protected]>
| subject-path: packages/ava/${{env.TGZ_NAME}} | ||
| - name: Rename attestation bundle | ||
| run: mv "${{steps.attest.outputs.bundle-path}}" "packages/ava/${{env.TGZ_NAME}}.sigstore.json" | ||
| env: |
@fast-check/ava
fast-check
@fast-check/jest
@fast-check/packaged
@fast-check/poisoning
@fast-check/vitest
@fast-check/worker
commit: |
|
👋 A preview of the new documentation is available at: http://69851204e546265478f5d71c--dubzzz-fast-check.netlify.app |
Co-authored-by: dubzzz <[email protected]>
|
👋 A preview of the new documentation is available at: http://698513db3c328a5c0c2edfa8--dubzzz-fast-check.netlify.app |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6550 +/- ##
=======================================
Coverage 94.85% 94.85%
=======================================
Files 207 207
Lines 5581 5581
Branches 1467 1468 +1
=======================================
Hits 5294 5294
Misses 274 274
Partials 13 13
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
.github/zizmor.ymlto see all failures${{steps.attest.outputs.bundle-path}}and${{env.TGZ_NAME}}from inline expressions to environment variables.github/zizmor.ymlwith correct line numbers for cache-poisoning ignores (still legitimate false positives due to attestation workflow)envafterrunin all attestation bundle steps per review feedbackOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.