Skip to content

fix: resolve Snyk vulnerabilities across all extension roots - #718

Merged
pritesh-jain-cstk merged 2 commits into
masterfrom
fix/snyk-patch-deps-20261015
Oct 16, 2026
Merged

pritesh-jain-cstk merged 2 commits into
masterfrom
fix/snyk-patch-deps-20261015

Conversation

@cs-raj

@cs-raj cs-raj commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does

Clears the security findings Snyk and npm audit report for this repo, and the SLA breaches the security-sca check was failing on. It mostly regenerates each app's package-lock.json (so dependencies move to their newest allowed patched versions) and makes a handful of small package.json changes.

Overall: Snyk issues 293 → 3 (0 critical, 2 high, 1 medium), npm audit 248 → 127. All 14 apps that have a build script build successfully. CI is green, including security-sca.

Per app

App (folder) Snyk before → after npm audit before → after Changed Build
Brightcove brightcove/brightcove 41 → 1 26 → 14 lock file pass
Brightcove popup brightcove/brightcove-popup 42 → 1 27 → 14 lock file pass
Brightcove proxy lambda brightcove/lambda 40 → 0 3 → 0 lock file no build script
Google Analytics dashboard widget dashboard-widget-google-analytics n/a (dev tooling only) 14 → 8 lock file pass
  its lambda .../lambda 10 → 0 2 → 0 lock file no build script
Google Analytics widget google-analytics n/a (dev tooling only) 14 → 8 lock file pass
  its lambda .../lambda 10 → 0 2 → 0 lock file no build script
External API lookup template external-api-lookup-template n/a (dev tooling only) 16 → 8 lock file pass
JSON editor json-editor n/a (dev tooling only) 7 → 3 lock file pass
Marketo forms marketo-forms n/a (dev tooling only) 20 → 14 lock file pass
Optimizely audiences field optimizely n/a (dev tooling only) 20 → 14 lock file pass
Optimizely experiments widget optimizely-experiments n/a (dev tooling only) 20 → 14 lock file pass
Text intelligence text-intelligence n/a (dev tooling only) 20 → 14 lock file pass
Variable app variable-app 70 → 1 20 → 0 lock file, package.json pass
YouTube extension youtube/youtube-extension 40 → 0 18 → 8 lock file, package.json pass
YouTube extension popup youtube/youtube-extension-popup 41 → 0 19 → 8 lock file, package.json pass

"n/a (dev tooling only)" means those apps only declare devDependencies (gulp, webpack and similar), which Snyk does not scan; npm audit does cover them.

The package.json changes (everything else is lock file only)

  • Variable app: @contentstack/venus-components 3.0.2 → 3.0.6, and react-router-dom ^6 → ^7.18.0. The app declares react-router-dom but never imports it, so the major bump has no runtime effect. It clears the open-redirect finding that breached its SLA.
  • YouTube extension and popup: vite is pinned to ^7.3.0 and @vitejs/plugin-react to ^5.1.2 (both were latest, and a fresh install pulled vite 8, which can't build these apps). terser is added as a dev dependency: both builds already failed on master because the config asks for terser and it wasn't installed. In the popup, moment goes 2.29.4 → 2.31.0. This also moves axios from 1.13.5 to 1.20.0, which was behind the critical SLA breaches.
  • .talismanrc now ignores the lock-file hashes so the secret scan doesn't flag them.

What is left, and why

  • Snyk (3): braces (high) in the two Brightcove apps and js-beautify (medium) in the variable app. There is no patched version yet.
  • npm audit (127): build-tool chains (gulp, eslint, svgo and similar). Fixing them needs a major version upgrade of the tool itself, so they are left for a separate change.

How it was checked

Fresh npm install and npm run build in every app that has a build script. Snyk and npm audit were re-run on the final lock files. Worth a quick click through the YouTube extension and the variable app, since their package.json changed.

🤖 Generated with Claude Code

Lock files regenerated in 14 roots (fixed most findings on their own).
Direct upgrades: @contentstack/venus-components 3.0.2 -> 3.0.6 (variable-app)
Overrides: none
Not touched: youtube/youtube-extension and youtube/youtube-extension-popup (build already fails on master: terser missing)
Vuln count: snyk 293 -> 86, npm audit 248 -> 150. Builds verified passing in the 12 roots that have one.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@cs-raj
cs-raj requested a review from a team as a code owner October 15, 2026 18:07
@cs-raj cs-raj self-assigned this Oct 15, 2026
@snyk-io

snyk-io Bot commented Oct 15, 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 6 0 10 ✅ Passed
🟠 High Severity 22 6 25 ✅ Passed
🟡 Medium Severity 51 3 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

⚠️ Warning: The following vulnerabilities have exceeded their SLA thresholds (days since publication).

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 6 0 15 / 30 days ❌ Failed
🟠 High 16 2 30 / 120 days ❌ Failed / ⚠️ Warning
🟡 Medium 24 0 90 / 365 days ❌ Failed
🔵 Low 0 0 180 / 365 days ✅ Passed

🔴 Critical Severity - SLA Breached Issues (with fixes)

Showing 6 issue(s) that have exceeded the 15-day SLA threshold:

  1. Prototype Pollution

    • ID: SNYK-JS-AXIOS-16299904
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 15 days)
    • CVSS Score: 9.1
    • CVE: CVE-2026-42033
  2. HTTP Response Splitting

    • ID: SNYK-JS-AXIOS-16298058
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 15 days)
    • CVSS Score: 9.1
    • CVE: CVE-2026-42035
  3. HTTP Response Splitting

    • ID: SNYK-JS-AXIOS-16298058
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 15 days)
    • CVSS Score: 9.1
    • CVE: CVE-2026-42035
  4. Prototype Pollution

    • ID: SNYK-JS-AXIOS-16299904
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 15 days)
    • CVSS Score: 9.1
    • CVE: CVE-2026-42033
  5. Prototype Pollution

    • ID: SNYK-JS-AXIOS-16417750
    • Package: axios@1.13.5
    • Published: 163 days ago (SLA: 15 days)
    • CVSS Score: 9.1
    • CVE: CVE-2026-42264
  6. Prototype Pollution

    • ID: SNYK-JS-AXIOS-16417750
    • Package: axios@1.13.5
    • Published: 163 days ago (SLA: 15 days)
    • CVSS Score: 9.1
    • CVE: CVE-2026-42264

🟠 High Severity - SLA Breached Issues (with fixes)

Showing 16 issue(s) that have exceeded the 30-day SLA threshold:

  1. HTTP Response Splitting

    • ID: SNYK-JS-AXIOS-15969258
    • Package: axios@1.13.5
    • Published: 187 days ago (SLA: 30 days)
    • CVSS Score: 7
    • CVE: CVE-2026-40175
  2. HTTP Response Splitting

    • ID: SNYK-JS-AXIOS-15969258
    • Package: axios@1.13.5
    • Published: 187 days ago (SLA: 30 days)
    • CVSS Score: 7
    • CVE: CVE-2026-40175
  3. Improperly Controlled Modification of Dynamically-Determined Object Attributes

    • ID: SNYK-JS-AXIOS-16299921
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 30 days)
    • CVSS Score: 8.3
    • CVE: CVE-2026-42044
  4. Uncontrolled Recursion

    • ID: SNYK-JS-AXIOS-16299923
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 30 days)
    • CVSS Score: 8.7
    • CVE: CVE-2026-42039
  5. Uncontrolled Recursion

    • ID: SNYK-JS-AXIOS-16299923
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 30 days)
    • CVSS Score: 8.7
    • CVE: CVE-2026-42039
  6. Improperly Controlled Modification of Dynamically-Determined Object Attributes

    • ID: SNYK-JS-AXIOS-16299921
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 30 days)
    • CVSS Score: 8.3
    • CVE: CVE-2026-42044
  7. Prototype Pollution

    • ID: SNYK-JS-AXIOS-17111079
    • Package: axios@1.13.5
    • Published: 137 days ago (SLA: 30 days)
    • CVSS Score: 7
    • CVE: CVE-2026-44494
  8. Prototype Pollution

    • ID: SNYK-JS-AXIOS-17111060
    • Package: axios@1.13.5
    • Published: 137 days ago (SLA: 30 days)
    • CVSS Score: 8.3
    • CVE: CVE-2026-44495
  9. Server-side Request Forgery (SSRF)

    • ID: SNYK-JS-AXIOS-17111062
    • Package: axios@1.13.5
    • Published: 137 days ago (SLA: 30 days)
    • CVSS Score: 7.7
    • CVE: CVE-2026-44492
  10. Prototype Pollution

  • ID: SNYK-JS-AXIOS-17111079
  • Package: axios@1.13.5
  • Published: 137 days ago (SLA: 30 days)
  • CVSS Score: 7
  • CVE: CVE-2026-44494
  1. Prototype Pollution
  • ID: SNYK-JS-AXIOS-17111060
  • Package: axios@1.13.5
  • Published: 137 days ago (SLA: 30 days)
  • CVSS Score: 8.3
  • CVE: CVE-2026-44495
  1. Server-side Request Forgery (SSRF)
  • ID: SNYK-JS-AXIOS-17111062
  • Package: axios@1.13.5
  • Published: 137 days ago (SLA: 30 days)
  • CVSS Score: 7.7
  • CVE: CVE-2026-44492
  1. Insertion of Sensitive Information Into Sent Data
  • ID: SNYK-JS-AXIOS-17172681
  • Package: axios@1.13.5
  • Published: 132 days ago (SLA: 30 days)
  • CVSS Score: 8.7
  • CVE: CVE-2026-44486
  1. Insertion of Sensitive Information Into Sent Data
  • ID: SNYK-JS-AXIOS-17172681
  • Package: axios@1.13.5
  • Published: 132 days ago (SLA: 30 days)
  • CVSS Score: 8.7
  • CVE: CVE-2026-44486
  1. Open Redirect
  • ID: SNYK-JS-REACTROUTER-18313144
  • Package: react-router@6.30.6
  • Published: 81 days ago (SLA: 30 days)
  • CVSS Score: 7.1
  • CVE: CVE-2026-53669
  1. Directory Traversal
  • ID: SNYK-JS-MOMENT-19821607
  • Package: moment@2.29.4
  • Published: 30 days ago (SLA: 30 days)
  • CVSS Score: 8.7
  • CVE: CVE-2026-17495

🟡 Medium Severity - SLA Breached Issues (with fixes)

Showing 20 issue(s) that have exceeded the 90-day SLA threshold:

  1. Unintended Proxy or Intermediary ('Confused Deputy')

    • ID: SNYK-JS-AXIOS-15965856
    • Package: axios@1.13.5
    • Published: 188 days ago (SLA: 90 days)
    • CVSS Score: 6.3
    • CVE: CVE-2025-62718
  2. Unintended Proxy or Intermediary ('Confused Deputy')

    • ID: SNYK-JS-AXIOS-15965856
    • Package: axios@1.13.5
    • Published: 188 days ago (SLA: 90 days)
    • CVSS Score: 6.3
    • CVE: CVE-2025-62718
  3. Allocation of Resources Without Limits or Throttling

    • ID: SNYK-JS-AXIOS-16298130
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 90 days)
    • CVSS Score: 6.9
    • CVE: CVE-2026-42034
  4. Insertion of Sensitive Information Into Sent Data

    • ID: SNYK-JS-AXIOS-16299478
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 90 days)
    • CVSS Score: 5.3
    • CVE: CVE-2026-42042
  5. Improper Encoding or Escaping of Output

    • ID: SNYK-JS-AXIOS-16298055
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 90 days)
    • CVSS Score: 6.3
    • CVE: CVE-2026-42040
  6. Allocation of Resources Without Limits or Throttling

    • ID: SNYK-JS-AXIOS-16298162
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 90 days)
    • CVSS Score: 6.9
    • CVE: CVE-2026-42036
  7. Prototype Pollution

    • ID: SNYK-JS-AXIOS-16299925
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 90 days)
    • CVSS Score: 6.3
    • CVE: CVE-2026-42041
  8. CRLF Injection

    • ID: SNYK-JS-AXIOS-16299819
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 90 days)
    • CVSS Score: 6.9
    • CVE: CVE-2026-42037
  9. Server-side Request Forgery (SSRF)

    • ID: SNYK-JS-AXIOS-16298095
    • Package: axios@1.13.5
    • Published: 172 days ago (SLA: 90 days)
    • CVSS Score: 6.9
    • CVE: CVE-2026-42038
  10. Server-side Request Forgery (SSRF)

  • ID: SNYK-JS-AXIOS-16298095
  • Package: axios@1.13.5
  • Published: 172 days ago (SLA: 90 days)
  • CVSS Score: 6.9
  • CVE: CVE-2026-42038
  1. Insertion of Sensitive Information Into Sent Data
  • ID: SNYK-JS-AXIOS-16299478
  • Package: axios@1.13.5
  • Published: 172 days ago (SLA: 90 days)
  • CVSS Score: 5.3
  • CVE: CVE-2026-42042
  1. Allocation of Resources Without Limits or Throttling
  • ID: SNYK-JS-AXIOS-16298130
  • Package: axios@1.13.5
  • Published: 172 days ago (SLA: 90 days)
  • CVSS Score: 6.9
  • CVE: CVE-2026-42034
  1. CRLF Injection
  • ID: SNYK-JS-AXIOS-16299819
  • Package: axios@1.13.5
  • Published: 172 days ago (SLA: 90 days)
  • CVSS Score: 6.9
  • CVE: CVE-2026-42037
  1. Prototype Pollution
  • ID: SNYK-JS-AXIOS-16299925
  • Package: axios@1.13.5
  • Published: 172 days ago (SLA: 90 days)
  • CVSS Score: 6.3
  • CVE: CVE-2026-42041
  1. Allocation of Resources Without Limits or Throttling
  • ID: SNYK-JS-AXIOS-16298162
  • Package: axios@1.13.5
  • Published: 172 days ago (SLA: 90 days)
  • CVSS Score: 6.9
  • CVE: CVE-2026-42036
  1. Improper Encoding or Escaping of Output
  • ID: SNYK-JS-AXIOS-16298055
  • Package: axios@1.13.5
  • Published: 172 days ago (SLA: 90 days)
  • CVSS Score: 6.3
  • CVE: CVE-2026-42040
  1. Prototype Pollution
  • ID: SNYK-JS-AXIOS-17111081
  • Package: axios@1.13.5
  • Published: 137 days ago (SLA: 90 days)
  • CVSS Score: 6.3
  • CVE: CVE-2026-44490
  1. Prototype Pollution
  • ID: SNYK-JS-AXIOS-17111081
  • Package: axios@1.13.5
  • Published: 137 days ago (SLA: 90 days)
  • CVSS Score: 6.3
  • CVE: CVE-2026-44490
  1. Insertion of Sensitive Information Into Sent Data
  • ID: SNYK-JS-AXIOS-17172930
  • Package: axios@1.13.5
  • Published: 132 days ago (SLA: 90 days)
  • CVSS Score: 6
  • CVE: CVE-2026-44487
  1. Regular Expression Denial of Service (ReDoS)
  • ID: SNYK-JS-AXIOS-17172532
  • Package: axios@1.13.5
  • Published: 132 days ago (SLA: 90 days)
  • CVSS Score: 6.9
  • CVE: CVE-2026-44496

ℹ️ 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: 6
  • Medium without fixes: 3
  • Low without fixes: 0

❌ BUILD FAILED - Security checks failed

Please review and fix the security vulnerabilities before merging.

…r SLA breaches

youtube/youtube-extension, youtube/youtube-extension-popup: vite ^7.3.0, @vitejs/plugin-react ^5.1.2,
terser ^5.51.2 (the build was already failing on master: terser missing), lock files regenerated
(axios 1.13.5 -> 1.20.0). youtube-extension-popup: moment 2.29.4 -> 2.31.0.
variable-app: react-router-dom ^6.3.0 -> ^7.18.0 (declared but not imported in src).
Vuln count: snyk 86 -> 3, npm audit 150 -> 127. Builds verified passing in all 14 roots with a build script.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@cs-raj cs-raj changed the title fix: resolve Snyk vulnerabilities in 14 extension roots fix: resolve Snyk vulnerabilities across all extension roots Oct 15, 2026
@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 4 25 ✅ Passed
🟡 Medium Severity 0 1 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: 4
  • Medium without fixes: 1
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

@pritesh-jain-cstk
pritesh-jain-cstk merged commit d220637 into master Oct 16, 2026
9 checks passed
@pritesh-jain-cstk
pritesh-jain-cstk deleted the fix/snyk-patch-deps-20261015 branch October 16, 2026 02:07
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