fix(security): require patched Go and Node.js runtimes (#566)

This commit is contained in:
sagit
2026-10-22 11:15:28 +08:00
committed by GitHub
parent d9303032ca
commit c794586cc7
15 changed files with 68 additions and 14 deletions
+2 -1
View File
@@ -1 +1,2 @@
package-lock=true
package-lock=true
engine-strict=true
+2 -1
View File
@@ -1,5 +1,6 @@
# 多阶段构建 - 构建阶段
FROM --platform=$BUILDPLATFORM node:22-alpine AS builder
# CVE-2026-111497: use the patched Node.js Brotli decoder during builds.
FROM --platform=$BUILDPLATFORM node:22.23.4-alpine AS builder
WORKDIR /app
+3
View File
@@ -3,6 +3,9 @@
"private": true,
"version": "0.0.0",
"packageManager": "pnpm@10.28.1",
"engines": {
"node": "^22.23.4 || ^24.22.1 || ^26.12.1"
},
"type": "module",
"scripts": {
"dev": "vite",