Skip to content

fix: resolve vulnerabilities using overrides#190

Draft
veerendrarevu wants to merge 4 commits into
mainfrom
fix/security-vulnerabilities
Draft

fix: resolve vulnerabilities using overrides#190
veerendrarevu wants to merge 4 commits into
mainfrom
fix/security-vulnerabilities

Conversation

@veerendrarevu
Copy link
Copy Markdown

Summary

Fixed security vulnerabilities and updated dependencies to safer versions.


Issues

  • Vulnerabilities in transitive dependencies:

    • undici (high)
    • immutable (high)
    • ajv (moderate)

Security Fixes

  • Added overrides in package.json to fix vulnerable packages:

    • undici^6.23.1
    • immutable^5.1.5
    • ajv^8.17.2
  • Updated fast-xml-parser to a safer version


Dependency Updates

  • mysql2: ^3.17.2^3.20.0
  • jest: ^30.2.0^30.3.0
  • nyc: 17.1.018.0.0
  • sinon: 21.0.121.0.3
  • @mojaloop/sdk-standard-components: 19.18.719.18.8
  • npm-check-updates: 19.3.219.6.5

Result

  • Vulnerabilities fixed
  • Dependencies updated to latest stable versions
  • No breaking changes observed

Testing

  • Ran npm install successfully
  • Verified using npm audit

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 20, 2026

CLA assistant check
All committers have signed the CLA.

@sonarqubecloud
Copy link
Copy Markdown

@gibaros
Copy link
Copy Markdown
Contributor

gibaros commented Mar 27, 2026

Hi @veerendrarevu thank you for the PR I see you fixed several vulnerabilities. Here is some feedback, please update:

  1. Overrides should use exact versions (no ^), not ranges.
  2. CircleCI orb: Still at mojaloop/build@1.1.10 — latest is 1.1.19
  3. .nvmrc: Still at 22.15.1 — latest LTS is 22.22.2
  4. axios override: set to 1.13.5 — can bump to latest which is 1.13.6

@sonarqubecloud
Copy link
Copy Markdown

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.

3 participants