Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 22 additions & 79 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2769,7 +2769,7 @@
"vscode-debugprotocol": "^1.41.0",
"vscode-languageclient": "^9.0.1",
"vscode-tas-client": "^0.1.84",
"ws": "^6.2.4",
"ws": "^7.0.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify ws versions and vulnerability status

# Check available ws versions and identify vulnerable ranges
npm view ws versions --json | jq -r '.[]' | grep -E '^(6\.|7\.|8\.)'

# Check for security advisories
gh api graphql -f query='
{
  securityVulnerabilities(first: 10, ecosystem: NPM, package: "ws") {
    nodes {
      advisory {
        summary
        severity
        identifiers { type value }
      }
      vulnerableVersionRange
      firstPatchedVersion { identifier }
    }
  }
}'

Repository: deepnote/vscode-deepnote

Length of output: 3667


Line 2772 uses vulnerable version range; lines 2947 & 2950 require patched ws version.

Setting ws to ^7.0.0 matches 7.0.0 through 7.5.10, all vulnerable to CVE-2026-48779. Use ^7.5.11 instead.

Additionally, lines 2947 and 2950 pin ws to 8.20.1, which is vulnerable to CVE-2026-48779 (fixed in 8.21.0). Update to 8.21.0 per PR objectives.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 2772, Update the ws package version specifications to
address CVE-2026-48779 vulnerabilities. Change the ws dependency version range
from ^7.0.0 to ^7.5.11 to ensure the vulnerable versions 7.0.0 through 7.5.10
are not installed. Additionally, locate the two pinned ws version specifications
set to 8.20.1 and update both to 8.21.0, which contains the necessary security
patch for this CVE.

"zeromq": "^6.5.0",
"zeromqold": "npm:zeromq@^6.0.0-beta.6",
"zod": "^4.1.12"
Expand Down
Loading