Skip to content

chore(deps): pin shell-quote to >=1.8.4 to clear critical advisory#1120

Open
TaprootFreak wants to merge 1 commit into
developfrom
chore/pin-shell-quote-cve
Open

chore(deps): pin shell-quote to >=1.8.4 to clear critical advisory#1120
TaprootFreak wants to merge 1 commit into
developfrom
chore/pin-shell-quote-cve

Conversation

@TaprootFreak

Copy link
Copy Markdown
Collaborator

Was

Hebt shell-quote per overrides auf ^1.8.4 (gepatcht). Der PR-Review-Bot meldet auf jedem PR 1 critical vulnerability — das ist shell-quote@1.8.1 (quote() escaped keine Newlines, GHSA critical).

Kontext

shell-quote ist eine transitive Dev-Only-Dependency:

  • react-scripts → webpack-dev-server / react-dev-utils / launch-editor
  • @trezor/connect-web → react-native → react-devtools-core

Nichts davon landet im Production-Bundle des Widgets — die Lücke ist nicht in der Runtime-Angriffsfläche. Der Bot zählt aber den repo-weiten npm audit-Critical-Count, unabhängig vom Diff. Vorbestehend auf develop, nicht von einem Feature-PR eingeführt.

Änderung

Chirurgisch: nur shell-quote 1.8.1 → 1.8.4 im Lockfile + ein overrides-Eintrag. npm audit critical: 1 → 0 (die 62 high bleiben bewusst unangetastet — separater Scope). Production-Build lokal grün.

Klärt die kritische Bot-Meldung für diesen und alle künftigen PRs.

npm audit flags shell-quote@1.8.1 (quote() does not escape newlines,
GHSA critical) as the repo's single critical. It is a transitive
dev-only dependency (react-scripts build tooling + @trezor devtools via
react-native), not in the production bundle, but the PR review bot
counts it on every PR. Add a top-level override to 1.8.4 (patched);
surgical lockfile change, shell-quote 1.8.1 -> 1.8.4 only. Critical
count: 1 -> 0.
@TaprootFreak TaprootFreak marked this pull request as ready for review June 11, 2026 21:15
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