Skip to content

fix: bump axios to ^1.20.0 to resolve 13 Snyk findings - #154

Open
cs-raj wants to merge 1 commit into
mainfrom
fix/snyk-patch-deps-20261014
Open

cs-raj wants to merge 1 commit into
mainfrom
fix/snyk-patch-deps-20261014

Conversation

@cs-raj

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

Copy link
Copy Markdown
Contributor

Problem

Snyk reports 13 findings (8 high, 5 medium) on axios@1.18.1: ReDoS, SSRF, prototype pollution, confused deputy, input validation. All are fixed in axios 1.20.0. This is a LIBRARY, so consumers resolve our ranges themselves and ^1.17.0 still allows the vulnerable versions.

Fix

  • axios ^1.17.0 -> ^1.20.0 (raises the floor consumers see); lock file regenerated, no overrides
  • Package version 1.5.4 -> 1.5.5

Remaining npm audit findings (46) are transitive under jest 28, babel 7, nyc 15 and mocha/mochawesome and need major bumps (no safe same-major fix).

Verification

Snyk 13 -> 0, npm audit 53 -> 46, npm run build passes.

🤖 Generated with Claude Code

Lock file regenerated (fixed 13 on its own).
Direct upgrades: axios ^1.17.0 -> ^1.20.0 (raises the floor for consumers)
Overrides: none
Vuln count: snyk 13 → 0, npm audit 53 → 46. Build verified passing.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings October 14, 2026 08:50
@cs-raj
cs-raj requested a review from a team as a code owner October 14, 2026 08:50
@cs-raj cs-raj self-assigned this Oct 14, 2026
@snyk-io

snyk-io Bot commented Oct 14, 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 0 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

✅ 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

Add the required CHANGELOG.md entry for version 1.5.5.

1 open finding
What changed in this PR

Raises the Axios security floor to ^1.20.0 and bumps the package version to 1.5.5.

Changes:

  • Updates Axios and regenerates the lockfile.
  • Refreshes transitive dependencies.
  • Bumps package metadata version.
File Description
package.json Updates Axios and package versions.
package-lock.json Locks Axios 1.20.0 and refreshed dependencies.

🧠 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
{
"name": "@contentstack/marketplace-sdk",
"version": "1.5.4",
"version": "1.5.5",
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.

2 participants