This repository was archived by the owner on Jun 2, 2026. It is now read-only.
Fix frontend npm audit vulnerability#56
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
Author
|
Backend OWASP Dependency-Check findings 目前建議先不處理,也不安排在近期 follow-up PR。 原因是這批 findings 主要來自 Spring Boot 管理的 framework dependency graph,例如 Spring Framework、Spring Security、embedded Tomcat、Jackson、PostgreSQL JDBC driver、Log4j API 等。要真正清掉這些 findings,通常不是改一兩行業務程式碼,而是升級 Spring Boot / Spring Security / embedded Tomcat 等整組 framework stack。 這類升級影響範圍較大,可能牽動:
以目前期末專案階段來看,專案的主要品質指標是 tests、coverage、SonarQube Quality Gate,以及功能穩定性。若為了清 OWASP 報告臨時升級 backend framework stack,回歸風險會高於收益。 因此這次只處理低風險的 frontend npm audit finding。Backend OWASP findings 暫時記錄為已知 dependency scan result,不在目前專案交付範圍內處理。未來如果專案要長期維護或上線,再規劃獨立的 dependency upgrade cycle,並搭配完整 regression testing。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes the frontend npm audit finding by updating the transitive
wsdependency inpackage-lock.json.Changes
wsfrom8.20.0to8.21.0Verification
cd frontend && npm audit --audit-level=moderatefound 0 vulnerabilitiescd frontend && npm run testcd frontend && npm run build