Skip to content

fix: bump 7 deps to resolve Snyk vulnerabilities - #125

Merged
cs-raj merged 1 commit into
mainfrom
fix/snyk-patch-deps-20261012
Oct 13, 2026
Merged

cs-raj merged 1 commit into
mainfrom
fix/snyk-patch-deps-20261012

Conversation

@cs-raj

@cs-raj cs-raj commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Problem

Snyk reports 21 open vulnerabilities on development, among them axios, dompurify, qs and the Angular 21.2.19 framework packages.

Fix

  • This is an app, so the lock file is the deliverable. Regenerating it clears 17 of the 21 Snyk findings, including axios, dompurify and qs.
  • Angular framework packages bumped within 21.2.x: @angular/common, compiler, compiler-cli, core, platform-browser, router to 21.2.25, and @angular/cli to 21.2.26.
  • No overrides. The 14 npm audit findings left are build tooling only (@angular-devkit/build-angular, webpack-dev-server, piscina and others). They need Angular 22 or have no fixed release yet.
  • Still open: the MPL-2.0 licence findings on lightningcss-linux-x64-gnu and -musl, optional native binaries of the build toolchain.

Snyk 21 → 0, npm audit 37 → 14; npm run build passes.

Copilot AI lite review requested due to automatic review settings October 12, 2026 15:54
@cs-raj cs-raj self-assigned this Oct 12, 2026
@snyk-io

snyk-io Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 2 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 0
  • Medium without fixes: 2
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Align @angular-devkit/build-angular with the CLI patch version and regenerate the lockfile.

1 open finding
What changed in this PR

Updates Angular dependencies and the lockfile to address reported security vulnerabilities.

Changes:

  • Bumps Angular framework and CLI/compiler packages.
  • Refreshes transitive dependencies, including axios, DOMPurify, and qs.
  • Updates lockfile versions and integrity data.
File Description
package.json Updates Angular dependency versions.
package-lock.json Records the refreshed dependency graph.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.json
Lock file regenerated (fixed 17 Snyk findings on its own).
Direct upgrades: @angular/common, @angular/compiler, @angular/compiler-cli,
@angular/core, @angular/platform-browser, @angular/router 21.2.19 -> 21.2.25;
@angular/cli 21.2.20 -> 21.2.26.
Overrides: none
Vuln count: snyk 21 -> 0, npm audit 37 -> 14. Build verified passing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings October 12, 2026 17:09
@cs-raj
cs-raj force-pushed the fix/snyk-patch-deps-20261012 branch from 3784f95 to a35b9be Compare October 12, 2026 17:09
@cs-raj
cs-raj changed the base branch from development to main October 12, 2026 17:09
@cs-raj
cs-raj requested a review from a team as a code owner October 12, 2026 17:09
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 2 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 0
  • Medium without fixes: 2
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Align the Angular CLI and build tooling to the same patch release.

0 open findings

1 resolved since last review

🧠 Review effort: Lite

@cs-raj
cs-raj merged commit 4c19781 into main Oct 13, 2026
8 checks passed
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.

4 participants