Repository navigation
ci: add an optional npm dependency report - #1007
PresentJay wants to merge 1 commit into
Conversation
|
|
I contribute to zero-shelter and proposed this as an optional snapshot of the committed npm advisories, alongside mountebank's CircleCI and CodeQL checks. Would a manually requested HTML artifact fit your dependency review process? If the current tooling already gives you this view, I am happy to withdraw the proposal. |
|
We already have the dependabot reporting available directly in Github and we scan separately with Snyk. I don't think the dependabot reporting is available to non-maintainers, but Snyk does provide a public link to the results. If I'm being honest, I'm not really interested in adding yet another tool to the project. I did add a badge to the README linking to that Snyk report though (#1013). I appreciate your interest in improving the project. Thank you! |



mountebank already has CodeQL and a CircleCI application pipeline. I contribute to zero-shelter and proposed this as an experiment with a manual advisory snapshot of the committed npm tree, without starting the test-double server.
Only
.github/workflows/dependency-report.ymlchanges. Theworkflow_dispatchjob usescontents: read, SHA-pinned official actions and pinnedzero-shelter@0.0.10. It readsnpm audit --package-lock-only --ignore-scriptsoutput and retains generated HTML for 7 days. Findings exit1; scanner/judgement errors exit2; both fail the job. The job installs no project dependencies, runs no project lifecycle scripts, accepts no baseline and changes no CircleCI or release setting.The saved local validation at
80a3525c531fproduced 35 raw / 29 merged / 29 outstanding findings, 0 accepted. npm audit and JSON/HTML exited1. This reduction occurred within one npm audit input; it is not evidence of cross-scanner reconciliation. YAML, Bash and whitespace checks passed; manifest and lockfile stayed unchanged. These are earlier results, not a new scan. The application/OS test matrix and new hosted manual workflow were not run locally.The report does not establish reachability. npm audit sends dependency metadata to the configured registry, and npx downloads and executes the third-party CLI in CI. I used AI assistance to prepare this proposal and description.
Would this report add a useful review step alongside CircleCI? I'm happy to withdraw it if it duplicates the existing process.