nextcloud / nextcloud/.github

Zizmor 1.25.0 brings a new error

Open
#723 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
24
Forks
11
Avg merge
13h 22m
Merged PRs (30d)
15

Description

error[cache-poisoning]: runtime artifacts potentially vulnerable to a cache poisoning attack
  --> workflow-templates/appstore-build-publish.yml:74:9
   |
11 | / on:
12 | |   release:
13 | |     types: [published]
   | |______________________- generally used when publishing artifacts generated at runtime
...
74 |           uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ enables caching by default
   |
   = note: audit confidence → Low

error[cache-poisoning]: runtime artifacts potentially vulnerable to a cache poisoning attack
  --> workflow-templates/documentation.yml:45:9
   |
11 | / on:
12 | |   pull_request:
13 | |   release:
14 | |     types: [published]
   | |______________________- generally used when publishing artifacts generated at runtime
...
45 |           uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ enables caching by default
   |
   = note: audit confidence → Low


Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting workflow-templates/appstore-build-publish.yml and workflow-templates/documentation.yml at the setup-node steps reported by Zizmor. Run Zizmor against these templates and confirm the cache-poisoning findings are resolved without introducing new workflow errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, node.js
Domain
ci-cd, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.