fix(security): patch 2 critical npm CVEs via overrides (shell-quote, websocket-driver) - #223
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
…tical CVEs Co-Authored-By: Mason <masonbatchelor81@gmail.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Runtime smoke test: PASSEDVerified the app end-to-end with the new The risk area — dev-server websocket / HMR — works. With the page open and untouched, I edited the header string in Golden path — trade placed and pushed live over socket.io: selected account Dev server compile outputOnly pre-existing noise: Browserslist "caniuse-lite is 6 months old" and the webpack-dev-server Notes
Tested by Devin — session |
Summary
npm auditinweb-front-end/reactreported 2 critical advisories, both in transitive dev dependencies ofreact-scripts@5.0.1with no direct upgrade path (a directnpm audit fixon the tree wantsreact-scripts@0.0.0). Pinned them with npmoverridesinstead — no direct dependency versions change, no source changes.Chains:
react-scripts → react-dev-utils / webpack-dev-server → launch-editor → shell-quote, andreact-scripts → webpack-dev-server → sockjs → faye-websocket → websocket-driver.Result: critical count 2 → 0 (total 54 → 52; remaining 28 high / 14 moderate / 10 low are unchanged and mostly require the
react-scriptsmajor bump or anag-grid-communitymajor bump — out of scope here).npm lsconfirms both overrides resolve;tsc --noEmitandnpm run lintpass.Python backend (
traderx-monolith/requirements.txt):pip-auditreports no known vulnerabilities. Note that file is fully unpinned, so pip-audit resolves the latest release of each package — it does not tell you whether a deployed/installed environment is vulnerable.Link to Devin session: https://app.devin.ai/sessions/5e03233949124c82a8be932c88e6a2e1
Open in Devin Desktop: https://app.devin.ai/desktop/session/5e03233949124c82a8be932c88e6a2e1?variant=devin
Requested by: @mbatchelor81