chore(deps): update dependency zizmorcore/zizmor to v1.24.1#57
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency zizmorcore/zizmor to v1.24.1#57renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
efcec21 to
2711d7d
Compare
4 tasks
2711d7d to
5d2b3f7
Compare
4 tasks
5d2b3f7 to
56aff7c
Compare
56aff7c to
10a73b1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.22.0→v1.24.1Release Notes
zizmorcore/zizmor (zizmorcore/zizmor)
v1.24.1Compare Source
Bug Fixes 🐛🔗
v1.24.0Compare Source
New Features 🌈🔗
Enhancements 🌱🔗
The use-trusted-publishing audit now detects bun publish and bunx npm publish patterns (#1737)
Many thanks to @shaanmajid for proposing and implementing this improvement!
zizmor's CLI help and usage output now uses a custom color scheme for improved readability (#1747)
The secrets-outside-env audit is now configurable with an allowlist of secret names that should not be flagged, even when referenced outside of an environment (#1759)
Many thanks to @rmuir for proposing and implementing this improvement!
The dependabot-cooldown audit now emits a pedantic finding whenever it encounters a cooldown used with a multi-ecosystem-group, as the two do not interact well (#1780)
Recommend gh release upload as a replacement for svenstaro/upload-release-action in superfluous-actions (#1801)
Recommend gh issue create as a replacement for dacbd/create-issue-action in superfluous-actions (#1873)
The obfuscation audit now emits a finding for with: ${{ expr }} clauses cannot be analyzed (#1772)
zizmor --help is now rendered with option groups for improved readability (#1831)
Many thanks to @deckstose for implementing this improvement!
zizmor's SARIF output now uses codeflows instead of related locations, improving its rendering behavior on GitHub Advanced Security (#1843)
The ref-version-mismatch audit now uses a more useful audit description for its findings (#1843)
The unpinned-images audit now produces more precise findings for image references that are computed through expressions (#1756)
Many thanks to @miketheman for implementing this improvement!
The ref-version-mismatch audit now detects missing version comments as well (#1849)
Many thanks to @shaanmajid for proposing and implementing this improvement!
Bug Fixes 🐛🔗
Fixed a bug where the concurrency-limits audit reported findings at the job level instead of the workflow level (#1627)
Fixed a bug where with: ${{ expr }} clauses would cause a crash. artipacked audit emits a pedantic finding on such clauses. (#1772)
Fixed a bug where auto-fixes for the template-injection audit would fail to preserve an environment variable's casing (#1766)
Fixed a bug where the secrets-outside-env audit would incorrectly flag reusable workflows (#1777)
Fixed a bug where expressions containing Infinity or NaN would fail to parse (#1778)
Fixed several bugs where some parenthetical forms in expressions would fail to parse (#1779, #1856)
Fixed a bug where expressions with invalid identifiers (such as -Inf) would be incorrectly accepted (#1794)
Fixed a bug where the known-vulnerable-actions audit would fail to handle multiple discrete packages in a single advisory (#1810)
Fixed a bug where the template-injection audit would incorrectly flag needs.*.result as an injection risk in the default persona (#1814)
Fixed a bug where the unpinned-uses audit would product incorrect auto-fixes for actions with subpaths (#1841)
Fixed a bug where the ref-version-mismatch audit would fail to produce findings for comments containing nonexistent refs (#1853)
Fixed a bug where expressions containing NaN would be constant-evaluated incorrectly (#1858)
Fixed a bug where nix would not be recognized as a package-ecosystem in dependabot.yml (#1867)
Fixed a bug where the ref-version-mismatch audit would incorrectly parse prerelease version comments (such as # v6-beta), causing some findings to appear unresolvable (#1870)
Fixed a bug where various string comparisons in expressions did not perfectly match GitHub's own special uppercasing semantics (#1879)
Fixed a bug where zizmor would incorrectly contact github.com instead of the user's requested --gh-hostname for some online requests (#1874)
Fixed a bug where the artipacked audit would fail to honor the --no-online-audits flag (#1874)
Changes⚠️ 🔗
The secrets-outside-env audit now only flags findings with the 'auditor' persona, due to numerous false positives and negatives caused by GitHub's platform limitations (primarily around interactions between environment secrets and reusable workflows) (#1777)
zizmor's handling of GitHub Actions expressions has been made stricter, and now rejects unknown functions and function calls with incorrect arities (#1823, #1826)
The superfluous-actions audit now uses the "pedantic" persona for some findings along with a medium or low confidence marker to signal when a action may not be easily replaced with built-in functionality (#1822, #1859)
The unpinned-uses audit no longer suggests auto-fixes for Git references that don't look like version tags, such as main (#1860)
The template-injection audit now considers more "URL-shaped" contexts to be fully attacker-controllable, rather than partially controllable (#1868)
v1.23.1Compare Source
Bug Fixes 🐛🔗
v1.23.0Compare Source
New Features 🌈🔗
New audit: secrets-outside-env detects usage of the secrets context in jobs that don't have a corresponding environment (#1599)
New audit: superfluous-actions detects usage of actions that perform operations already provided by GitHub's own runner images (#1618)
Enhancements 🌱🔗
zizmor's LSP mode is now configuration-aware, and will load configuration files relative to workspace roots (#1555)
zizmor now reads the GITHUB_TOKEN environment variable as an alias/equivalent for GH_TOKEN (#1566)
zizmor now supports inputs that contain duplicated anchor names (#1575)
zizmor now flags missing cooldowns on opentofu ecosystem definitions in Dependabot (again) (#1586)
zizmor now reads the ZIZMOR_GITHUB_TOKEN environment variable as an alias/equivalent for GH_TOKEN and GITHUB_TOKEN (#1641)
The SARIF output format now adds zizmor/confidence, zizmor/persona and zizmor/severity to the properties of findings (#1656)
Added awalsh128/cache-apt-pkgs-action as a cache-aware action to the cache-poisoning audit (#1708)
Changes⚠️ 🔗
SARIF categories have been regraded. zizmor's "medium" is changed from SARIF's "warning" to "low" (#1635)
Bug Fixes 🐛🔗
Fixed a bug where zizmor would crash on uses: clauses containing non-significant whitespace while performing the unpinned-uses audit (#1544)
Fixed a bug in yamlpath where sequences containing anchors were splatted instead of being properly nested (#1557)
Many thanks to @DarkaMaul for implementing this fix!
Fixed a bug in yamlpath where anchor prefixes in sequences and mapping were not stripped during path queries (#1562)
Fixed a bug where "merge into" autofixes would produce incorrect patches in the presence of multi-byte Unicode characters (#1581)
Many thanks to @ManuelLerchnerQC for implementing this fix!
Fixed a bug where the template-injection audit would produce duplicated pedantic-only findings (#1589)
Fixed a bug where the obfuscation audit would produce incorrect autofixes for a subset of constant-reducible expressions (#1597)
Fixed a bug where the obfuscation audit would fail to apply fixes to a subset of inputs with leading whitespace (#1597)
Fixed a bug where the concurrency-limits audit would incorrectly flag reusable-only workflows as needing a concurrency: key (#1620)
Fixed a bug where the known-vulnerable-actions audit would fail when applying some fixes (#1640)
Many thanks to @reubenwong97 for implementing this fix!
Fixed a bug where the pre-commit ecosystem was not recognized in Dependabot configuration files (#1637)
Fixed a bug where the template-injection audit would incorrectly flag github.triggering_actor as an injection risk in the default persona (#1645)
Fixed a bug where zizmor's expression parser did not correctly handle number literals in GitHub Actions expressions (#1625)
Fixed a bug where the template-injection audit would crash on some forms of multi-line expressions (#1669)
Fixed a bug where deserialization of a workflow containing fractional minutes would fail (#1675)
Fixed a bug where deserialization of a workflow where a workflow_run with a scalar types would fail (#1676)
Fixed a bug where zizmor would crash on workflows containing bare numeric values in if: conditions (#1683)
Fixed a bug where GitHub Actions expression string comparisons were not case-insensitive (#1687)
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.