Repository navigation
ci: add an optional npm dependency report - #1426
Open
PresentJay wants to merge 1 commit into
Open
PresentJay wants to merge 1 commit into
PresentJay wants to merge 1 commit into
Conversation
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. |
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.
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 runsnpm audit --package-lock-only --ignore-scripts, renders with pinnedzero-shelter@0.0.10, requestscontents: read, and retains an HTML artifact for seven days. The job installs no project dependencies, applies no upgrades and accepts no baseline findings. Findings exit1; judgement errors exit2; both remain failures.On 2026-11-02 UTC, local validation against base
1de5329ea3ferecorded 241 raw / 195 merged / 195 outstanding / 0 accepted findings. npm audit and the JSON/HTML commands exited1. 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
npxdownloads 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-reportafter a run.Screenshots (if appropriate)
None; no application UI change is proposed.