Skip to content

Commit e3e4300

Browse files
committed
[docs] Require bundled parser hardening
Signed-off-by: Viwat Vchirawongkwin <viwat.v@chula.ac.th>
1 parent fb9eef8 commit e3e4300

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

‎docs/specifications/website.md‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,15 @@ contract with `npm audit --audit-level=high`. The Sites adapter MUST be pinned
423423
to a compatible vinext release whose installed npm package dependency closure
424424
does not contain `image-size` 2.0.2, the package described by
425425
GHSA-w3rx-r6r6-pgpr and GHSA-5p2g-fcmc-qvqq; a deterministic lockfile contract
426-
MUST reject its reintroduction. Authored App Router source MUST continue to use
427-
static files in `public/` instead of filesystem metadata image routes named
426+
MUST reject its reintroduction. While vinext publishes the same parser inside
427+
its build tooling, installation MUST deterministically add fail-closed guards
428+
for zero-length ICNS entries and HEIF/JXL boxes, MUST fail if the reviewed
429+
upstream source no longer matches, and MUST retain the parser's MIT attribution
430+
in the generated website notice. Authored source MUST continue to use URL paths
431+
to static files in `public/`, with explicit dimensions where required, instead
432+
of static image module imports or filesystem metadata image routes named
428433
`favicon`, `icon`, `apple-icon`, `opengraph-image`, or `twitter-image`; the
429-
release gate MUST enforce that absence before either build.
434+
release gate MUST enforce both absences before either build.
430435

431436
### 6.1 Canonical production origin
432437

0 commit comments

Comments
 (0)