Skip to content

ci: add an optional npm dependency report - #1426

Open
PresentJay wants to merge 1 commit into
bigcommerce:masterfrom
PresentJay:ci/zero-shelter-dependency-report
Open

PresentJay wants to merge 1 commit into
bigcommerce:masterfrom
PresentJay:ci/zero-shelter-dependency-report

Conversation

@PresentJay

@PresentJay PresentJay commented Nov 2, 2026 •

Copy link
Copy Markdown

What?

This proposes an optional npm advisory snapshot for Stencil CLI’s locked dependency tree, available without starting the theme-development emulator. I work on zero-shelter and am testing where its manual HTML view is useful in other projects.

The only changed file adds Dependency triage report, triggered by workflow_dispatch. It runs npm audit --package-lock-only --ignore-scripts, renders with pinned zero-shelter@0.0.10, requests contents: read, and retains an HTML artifact for seven days. The job installs no project dependencies, applies no upgrades and accepts no baseline findings. Findings exit 1; judgement errors exit 2; both remain failures.

On 2026-11-02 UTC, local validation against base 1de5329ea3fe recorded 241 raw / 195 merged / 195 outstanding / 0 accepted findings. npm audit and the JSON/HTML commands exited 1. This used npm audit input only. YAML, shell syntax and whitespace checks passed; manifest and lockfile hashes stayed unchanged. This is a dated capture. I did not run the application tests or the new hosted manual workflow.

npm audit queries the configured registry, and npx downloads and executes third-party code in CI. Version pinning and read-only permissions do not remove that trust boundary. Reachability and exploitability were not assessed. I prepared this PR with AI assistance.

I’d appreciate your view on whether this report fits Stencil’s current dependency review process. I’m happy to withdraw the proposal if it adds work without a useful view.

Tickets / Documentation

No existing ticket is claimed. The report is available through Actions → Dependency triage report; download dependency-triage-report after a run.

Screenshots (if appropriate)

None; no application UI change is proposed.

@PresentJay

Copy link
Copy Markdown
Author

I’m developing zero-shelter and wanted to try a manual advisory report on Stencil’s npm lockfile without starting the emulator. Could you share whether that report format would fit your dependency review process? If it would just add another workflow without helping, I’m happy to withdraw it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant