Skip to content

security(frontend): force node-forge to ^1.4.0 via overrides - #196

Merged
Vhivi merged 1 commit into
mainfrom
chore/frontend-security-node-forge-20260508
May 9, 2026
Merged

Vhivi merged 1 commit into
mainfrom
chore/frontend-security-node-forge-20260508

Conversation

@Vhivi

@Vhivi Vhivi commented May 9, 2026

Copy link
Copy Markdown
Owner

Objective

Apply a frontend security dependency remediation for node-forge without changing runtime feature behavior.

Breaking Change Notice

No API/runtime breaking change is intended.
This PR enforces a patched transitive dependency version via overrides.

Scope

  • Frontend dependency hygiene/security only.
  • Add overrides.node-forge to force ^1.4.0.
  • Refresh lockfile accordingly.
  • No backend changes.

Validation

  • npm audit
  • npm audit --omit=dev
  • npm test -- --runInBand

Results

  • node-forge vulnerability (transitive) is remediated.
  • Frontend tests remain green (2/2 suites, 7/7 tests).
  • Remaining audit findings are out of scope for this lot (next security batches).

Risks and Mitigations

  • Risk: dependency resolution side effects.
  • Mitigation: isolated branch/PR, explicit override, lockfile update, and test/audit validation.

mitigate node-forge transitive vulnerability from @vue/cli-service dependency chain

use npm overrides instead of direct devDependency for cleaner maintenance

refresh lockfile and validate with npm audit + frontend tests
@Vhivi Vhivi added frontend test dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 9, 2026
@Vhivi Vhivi self-assigned this May 9, 2026
@Vhivi Vhivi added this to the 4 - Tests et optimisation milestone May 9, 2026
@Vhivi
Vhivi merged commit 352d786 into main May 9, 2026
2 checks passed
@Vhivi
Vhivi deleted the chore/frontend-security-node-forge-20260508 branch May 9, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file frontend javascript Pull requests that update javascript code test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant