Summary
inflight@1.0.6 is present in the lockfiles for the API Catalog UI and Node.js onboarding enabler through obsolete build and test tooling.
The npm package is deprecated because it retains entries for unique in-flight-operation keys and can leak memory in a long-lived Node.js process:
This module is not supported, and leaks memory. Do not use it.
This is not currently exploitable through a deployed API Layer endpoint. The affected dependency is not directly imported by application code and is reached through local/CI build and test tooling. However, it should be removed as dependency hygiene and to eliminate the unsupported package from SBOM and scanner findings.
Affected workspaces
API Catalog UI
Current dependency chain:
Jest 29.x
-> test-exclude 6.x
-> glob 7.x
-> inflight 1.0.6
inflight is not used by the browser application bundle or API request processing. It is pulled in by Jest-related test and coverage tooling.
The durable remediation requires upgrading Jest and its companion packages to a version that resolves test-exclude with a modern glob release.
Current constraint:
- Jest cannot yet be upgraded to v30 because the UI test suite still depends on Enzyme, which is incompatible with the intended Jest migration.
Node.js onboarding enabler
Current dependency paths include:
eslint 2.x
-> glob 7.x
-> inflight 1.0.6
gulp-istanbul
-> istanbul 0.4.x
-> glob 5.x
-> inflight 1.0.6
gulp-mocha
-> mocha
-> glob 8.x
-> inflight 1.0.6
These are development-only dependencies, used for linting, test execution, and coverage generation. The published Node.js enabler does not directly import or execute inflight.
Proposed remediation
API Catalog UI
- Migrate Enzyme-based tests to React Testing Library.
- Remove Enzyme-specific dependencies and configuration.
- Upgrade Jest and related packages together to a supported current version.
- Regenerate
package-lock.json with the repository-pinned npm version.
- Verify that the resolved dependency tree no longer contains
inflight.
Node.js onboarding enabler
- Replace the obsolete ESLint 2 /
gulp-eslint stack with a supported ESLint configuration.
- Replace
gulp-istanbul / Istanbul 0.x with a maintained coverage solution such as c8 or modern Istanbul tooling.
- Review whether Gulp-based Mocha execution can be simplified or replaced while preserving the current test and coverage behavior.
- Regenerate
package-lock.json.
- Verify that the resolved dependency tree no longer contains
inflight.
Acceptance criteria
Notes
Do not use an npm overrides entry to force a replacement for inflight. There is no compatible patched inflight release, and forcing a modern glob version beneath consumers that require glob@5 or glob@7 can cause breaking runtime/tooling behavior. The correct fix is to upgrade or replace the parent tooling that introduces the old glob dependency.
Summary
inflight@1.0.6is present in the lockfiles for the API Catalog UI and Node.js onboarding enabler through obsolete build and test tooling.The npm package is deprecated because it retains entries for unique in-flight-operation keys and can leak memory in a long-lived Node.js process:
This is not currently exploitable through a deployed API Layer endpoint. The affected dependency is not directly imported by application code and is reached through local/CI build and test tooling. However, it should be removed as dependency hygiene and to eliminate the unsupported package from SBOM and scanner findings.
Affected workspaces
API Catalog UI
Current dependency chain:
inflightis not used by the browser application bundle or API request processing. It is pulled in by Jest-related test and coverage tooling.The durable remediation requires upgrading Jest and its companion packages to a version that resolves
test-excludewith a modernglobrelease.Current constraint:
Node.js onboarding enabler
Current dependency paths include:
These are development-only dependencies, used for linting, test execution, and coverage generation. The published Node.js enabler does not directly import or execute
inflight.Proposed remediation
API Catalog UI
package-lock.jsonwith the repository-pinned npm version.inflight.Node.js onboarding enabler
gulp-eslintstack with a supported ESLint configuration.gulp-istanbul/ Istanbul 0.x with a maintained coverage solution such asc8or modern Istanbul tooling.package-lock.json.inflight.Acceptance criteria
inflightis absent fromapi-catalog-ui/frontend/package-lock.json.inflightis absent fromonboarding-enabler-nodejs/package-lock.json.inflight.npm ci --ignore-scripts --no-audit --no-fundsucceeds in both workspaces.npm ls inflight --allreports no installedinflightdependency in both workspaces.Notes
Do not use an npm
overridesentry to force a replacement forinflight. There is no compatible patchedinflightrelease, and forcing a modernglobversion beneath consumers that requireglob@5orglob@7can cause breaking runtime/tooling behavior. The correct fix is to upgrade or replace the parent tooling that introduces the oldglobdependency.