Repository navigation
chore(deps): patch high-severity advisories and fix cargo-audit install - #901
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
4 tasks
This was referenced Nov 5, 2026
Closed
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.
Overview
Security Gates fails on every PR. Two causes:
cargo install cargo-auditpulls 0.22.2+, which needs rustc 1.88 while the job pins 1.85.0; andnpm audit --audit-level=highfinds high-severity advisories in backend and frontend. This PR pins cargo-audit and patches the npm advisories.No linked issue.
Feature Summary
tomloverride bumped 4.3.0 to 5.0.1 in backend, frontend and scriptszod4.6.7 (@serwist9.5.13 pins vulnerable 4.6.5)npm audit fix --ignore-scripts(no--force)Technical Implementation
.github/workflows/security-gates.yml:cargo install cargo-audit --version 0.22.1 --locked, cache keycargo-audit-0.22.1-${{ runner.os }}so the old unpinned binary is not restored.npm audit fix:brace-expansion@1.1.18viaeslint-plugin-import>minimatch@3.npm update brace-expansionmoved it to 1.1.21, which satisfies minimatch's^1.1.7, so no override was needed.--force(breaking upgrades) and are left for a follow-up.Test Coverage
npm audit --audit-level=highexits 0 in backend, frontend and scripts./scripts/ci-local.sh supply scripts backend frontend: all areas passed (backend 1217 tests, frontend 293 tests, frontend build and bundle budget pass)Checklists
General
./scripts/ci-local.sh <area>and it passes.github/THREAT_MODEL.mdattached and maintainer review requested