Closed RafaelGSS closed 11 months ago
Actually, there's already a PR for pinned actions https://github.com/nodejs/node/pull/46820
Hey @RafaelGSS, I would love to deep into this. Just a couple of questions:
The workflow should be set only in the main branch at push or we want to include also other stable branches ?
main
branch
There's a specific scheduled time to run the workflow?
You can use the same as the one we use for this repo.
I created this PR to increase the scorecard score by adding the missing dependencies: https://github.com/nodejs/node/pull/47346
I'm sure that by merging this we can get very close to score 10 on the topic "Pinned-Dependencies".
UPDATE from #945
Node.js score: 7.6 - 2023-04-08
UPDATE from https://github.com/nodejs/security-wg/issues/961
Repository | Commit | Score | Date | Difference | Report Link | StepSecurity Link |
---|---|---|---|---|---|---|
nodejs/node | 2ac5e98 | 7.3 | 2023-04-26T08:57:49Z | -0.3 | Full Report | Fix it |
UPDATE from #981
Repository | Commit | Score | Date | Difference | Report Link | StepSecurity Link |
---|---|---|---|---|---|---|
nodejs/node | 12a93ce | 7.3 | 2023-05-10T08:02:33Z | 0 | Full Report | Fix it |
As discussed in https://github.com/nodejs/security-wg/issues/1042, we can pin the node-core-utils in a package.json to run the command: https://github.com/nodejs/node/blob/main/tools/actions/start-ci.sh.
See: https://kooltheba.github.io/openssf-scorecard-api-visualizer/#/projects/github.com/nodejs/node/compare/2ac5e9889aba461f5a54d320973d2574980d206b/b5e16adb1d155759e7db405eead5a43cd425785d (pinned dependencies)
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
I'm closing it since we've achieved our goal of improving the scorecard and now, we're monitoring the score on each meeting.
Reference: https://github.com/nodejs/security-wg/blob/main/tools/ossf_scorecard/report.md
We need to:
[x] Pin npm dependencies in our actions (https://github.com/nodejs/security-wg/issues/929#issuecomment-1623764056)
...
Note: we can use the StepSecurity for an automated PR.