chore: weekly dependency security refresh (nanoid 3.3.17 -> 3.3.18, GHSA-2v37-7h3g-55p8) - #1461
Jayanth Reddy Bujula (jbujula) wants to merge 1 commit into
Conversation
|
Re-verified today (Aug 17) — this PR is still current and still the right one to merge. A fair question was whether this had gone stale, since the weekly job has run again since. It has not, in any way that matters. Still applies cleanly
The newer branch adds nothing security-relevantToday's scheduled run produced a third lock. Diffing it against this PR, only 5 packages differ, all unrelated patch bumps: Critically, the security fix is identical in both:
Why merge this one rather than the newer branchThis PR has green CI. The Once this merges, |
Opened by hand from the branch that the first run of the new weekly automation (#1441) pushed. The workflow itself could not open it - see "Why this was opened manually" below.
Run: https://github.com/microsoft/powerplatform-build-tools/actions/runs/31760462499
What this changes
package-lock.jsononly. Nopackage.jsonchange, so no dependency range moved - this is purely a lock refresh within ranges that were already declared.Why it matters
It resolves GHSA-2v37-7h3g-55p8 (
nanoid < 3.3.18, HIGH):nanoidThis is the advisory I previously documented on #1433, #1440 and #506 as not currently fixable: the
nanoidoverride was already^3.3.17, so the caret always admitted the fix, but3.3.18had not been mirrored topackagefeedproxy.microsoft.ioeven though upstream had tagged it. The mirror has since synced, and the workflow picked it up on its very first run with no human involvement.That is exactly the gap this automation was built to close: Dependabot cannot see npm
overrides, so an advisory whose fix is already admitted by an existing range would otherwise sit unnoticed until S360 re-raised it.Verification
All workflow steps passed before the PR step:
npm cinpm updatescripts/audit-overrides.js --write- no range needed raisingWhy this was opened manually
The final step failed with:
This is an org/repo Actions policy, not a workflow bug - Settings -> Actions -> General -> "Allow GitHub Actions to create and approve pull requests" is disabled. The branch push succeeded; only PR creation was refused.
I am sending a separate PR to make the workflow degrade gracefully when that policy is in force, so a future weekly run surfaces an actionable link instead of a red X. If an admin enables the setting, no further action is needed and subsequent runs will open their own PRs.