Skip to content

fix(deps): resolve audit check failures#661

Open
ywnaing wants to merge 1 commit into
mojaloop:mainfrom
ywnaing:fix/audit-errors
Open

fix(deps): resolve audit check failures#661
ywnaing wants to merge 1 commit into
mojaloop:mainfrom
ywnaing:fix/audit-errors

Conversation

@ywnaing

@ywnaing ywnaing commented Apr 24, 2026

Copy link
Copy Markdown

Summary

Resolve the current audit check failures in ml-api-adapter using local dependency overrides.

Changes

  • bump overridden fast-xml-parser from 5.5.7 to 5.7.0
  • add an override for uuid to 14.0.0

Why

This clears the current failing audit paths:

  • openapi-sampler > fast-xml-parser
  • nyc > istanbul-lib-processinfo > uuid

For uuid, this change is based on GitHub advisory GHSA-w5hq-g745-h8pq, which marks all versions below 14.0.0 as affected and 14.0.0 as the patched version. That means a smaller version bump would not satisfy the advisory.

uuid was added as an override instead of updating nyc because ml-api-adapter is already on the latest published nyc release, and the latest published istanbul-lib-processinfo still depends on uuid@^8.3.2. There is currently no newer upstream nyc release available that resolves this advisory path.

Verification

  • npm install
  • npm test
  • npm run audit:check

Notes

  • fast-xml-parser is in the application dependency tree through OpenAPI tooling
  • uuid is pulled in transitively through coverage tooling: nyc -> istanbul-lib-processinfo
  • the uuid override is a cross-major override, but the full unit suite passed with it in place

References

@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.

1 participant