docs(fa02): source-vetted four-chain mitigation and full acceptance gates [skip ci]
This commit is contained in:
1 parent
6098076608
commit
a004e9520b
4 files changed
+56
No files matched your search
@@ -305,3 +305,17 @@ Candidate CLOSEOUT ACCEPTANCE at tested source SHA `36a1c5bf01cf240cac1493eb9561
|
||||
**Exact decision needed to resume (not implicitly authorized):** (A) independently verified publisher-authenticated, integrity-pinned older-major compatible security backports for all affected parent chains, with isolated API and full File Manager regression proof; if parent dependency or runtime source migration is necessary, obtain a new explicit **file-level scope exception and behavior-preservation criteria** before editing; OR (B) separate explicit package/advisory-specific residual-risk disposition with credible exposure and compensating-control evidence, authorized by the user. This approval does NOT automatically accept either. Keep FINAL-ACCEPTANCE-02 as the same consolidated phase; do not create another micro-phase. The only new candidate changes are three approved evidence notes, pending approval/merge; all other paths READ-ONLY.
|
||||
|
||||
FINAL-ACCEPTANCE-02 broader approved production-readiness scope attempted, but STOP rule remains active at SECURITY GATE. Publisher-source fix references now verified: got commit 861ccd9ac2237df762a9e2beed7edd88c60782dc (UNIX-socket redirect guard); minimatch commit 77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8 (bounded first/second-phase globparts processing); file-type commit 319abf871b50ba2fa221b4a7050059f1ae096f4f (prevent ASF tokenizer stagnation); glob GHSA-3g3m-2fjr-6pw4 official advisory documents four missing abort returns. These publisher patches target newer majors and have NOT been proven correct, integrity-pinned or API-compatible as older-major DataStack backports. No safe compatible dependency resolution was established and none applied. No runtime/lock/tests/workflow patch was justified. One evidence-only candidate update adds `docs/PRODUCTION-READINESS.md` with exact baseline, historical CI, operational prerequisites, backup/rollback gates, security STOP and **NO-GO**; only notes/002,003,006 and new docs path changed. No new full CI, PR merge, deployment or mirror publication while gate BLOCKED. Before release must separately establish vetted older-major backport compatibility OR explicit advisory-by-advisory residual-risk disposition. No risk silently accepted; FINAL-ACCEPTANCE-02 remains same consolidated phase.
|
||||
|
||||
## FINAL-ACCEPTANCE-02 — Compatibility backports and consolidated acceptance gate (2026-11-24)
|
||||
|
||||
**Frozen Gitea main is unchanged:** `ea3b3038fbd8851613a80098e540346d47c62079`, tree `d264526d9d9b989a208eb0b22f73ecd832e21021` (420 entries). Existing draft PR #13 is the single candidate; old PR #4 remains untouched. Historical CI #113 seven jobs, #119 Windows ESLint, #120 Windows Python SDK passed before this candidate; those runs are not new backport acceptance.
|
||||
|
||||
**Implemented four minimal older-major executable-source backports** under the exact approved paths: `patches/cloudcmd-got-security.patch`, `patches/cloudcmd-glob-security.patch`, `patches/cloudcmd-minimatch-security.patch`, `patches/cloudcmd-file-type-security.patch`. Original npm package dependencies and `package-lock.json` unchanged; the existing `package.json` scripts now include idempotent fail-closed `postinstall` (git apply or reverse-check; mismatch causes install failure). `docker/Dockerfile.server` and `docker/Dockerfile.web` copy these four patch files and install Git before the actual npm install in disposable build stages, without changing production entrypoint, ports, volumes, secrets, APIs, UI or disabled feature settings. Existing `tests/files-manager.test.ts` retains all four original checks and adds four security regression checks (UNIX socket redirect; abort stopping filesystem walk; bounded minimatch optimization and normal matching; malformed ASF terminates in both nested parsers). Only the approved Gitea CI workflow files are changed for isolated acceptance.
|
||||
|
||||
**Exact immutable publisher commit provenance:** `got` [861ccd9ac2237df762a9e2beed7edd88c60782dc](https://github.com/sindresorhus/got/commit/861ccd9ac2237df762a9e2beed7edd88c60782dc), `glob` [4682e8c9babee1b385202ede36389634e12076d7](https://github.com/isaacs/node-glob/commit/4682e8c9babee1b385202ede36389634e12076d7), `minimatch` [77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8](https://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8), `file-type` [319abf871b50ba2fa221b4a7050059f1ae096f4f](https://github.com/sindresorhus/file-type/commit/319abf871b50ba2fa221b4a7050059f1ae096f4f). Adaptation targets only the installed compiled distribution copies of the ancestor-constrained majors; no arbitrary new dependency or forced version upgrade. `glob@13.0.7` already contains the four abort-stop guards; it was verified and intentionally not patched. The patch `glob@10.5.0` changes both CommonJS and ESM, `minimatch@9.0.9/10.2.6` changes both CommonJS and ESM, `file-type@16.5.4` changes both installed nested copies.
|
||||
|
||||
**Isolated Gitea evidence:** Source inspection #127 terminal SUCCESS on dedicated Linux runner (sha `036a0feaaa5168130934cbc86c1bd6e34052c522`); manual applicability + security tests #128 terminal SUCCESS (sha `32cce8f6587f84a126a8be898022f9699af71a31`); true clean `npm ci` postinstall, seven installed-source integrity/version checks, four reverse patch checks, targeted security probes and File Manager live full suite `8/8 PASS, 0 FAIL` at focused CI #131, head `25650b95a7071ee554c9129d9bab2fea1a4428ea`. An obsolete first source probe #126 failed only due missing Alpine Git before checkout, then fixed; automatic old-sha PR runs #129 and #130 cancelled, neither counted as acceptance.
|
||||
|
||||
**Unresolved until final CI:** These patches are locally tested executable-source mitigations for the four known direct GHSA roots. `npm audit` is version-based, so it continues reporting older package versions as Moderate until the parent ecosystem publishes supported fixed packages; do **not** call the audit inventory zero, remove the audit checks or silently accept unrelated risk. Security audit #113 was runtime 20 Moderate / 0 High / 0 Critical, full 22 Moderate / 0 High / 0 Critical *before* these patches. The actual final candidate audit, full Node/Windows/Python SDK/Next.js/Compose/image build and run-owned five-service startup/fixture backup/restore/previous-image rollback are **NOT YET accepted** at this documentation checkpoint. Dedicated Docker runner must verify no named production-like workloads and no pre-existing project/volume collision; it must fail closed rather than touch any shared/live deployment. No live production data, secrets, migration, tag, release or deployment authorized.
|
||||
|
||||
**Gate:** No READY claim or PR merge until one terminal successful consolidated Gitea acceptance for the precise final code SHA, targeted Docker disposable startup/restore/rollback, exact allowed-path diff audit and a supported security disposition. Only after acceptance: squash PR #13 once into Gitea main; no-force synchronize GitHub/GitLab; compare complete tracked tree+mode parity. PRODUCTION GO independently needs authorized live operational verification. If runtime CI reveals an out-of-scope defect or unsafe Docker daemon conditions, STOP and document it—never self-approve residual risk.
|
||||
Reference in new issue
Block a user