Record accepted production defect remediation decisions
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Audit Remediation Discussion
|
# Audit Remediation Discussion
|
||||||
|
|
||||||
Created 2026-11-24. Status: recommendations for discussion; no remediation
|
Created 2026-11-24; updated 2026-11-25. Status: topic 1 accepted; remaining
|
||||||
decisions or implementation completion are recorded yet.
|
topics pending discussion. No remediation implementation is recorded yet.
|
||||||
|
|
||||||
This document gives maintainers an ordered agenda for working through the
|
This document gives maintainers an ordered agenda for working through the
|
||||||
[audit catalog](catalog.md). The catalog and its source reports own the findings
|
[audit catalog](catalog.md). The catalog and its source reports own the findings
|
||||||
@@ -33,7 +33,7 @@ are proposals, not authorization to introduce new behavior.
|
|||||||
|
|
||||||
| Topic | Catalog entries | Decision |
|
| Topic | Catalog entries | Decision |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| 1. Correct the production defects | 1–3 | Pending |
|
| 1. Correct the production defects | 1–3 | Accepted 2026-11-25: lossless numbers, pathname identity, regular-file acquisition with cooperative cancellation; upstream reader reuse is separate follow-up. |
|
||||||
| 2. Strengthen existing behavioral protection | 4, 7, 9–13 | Pending |
|
| 2. Strengthen existing behavioral protection | 4, 7, 9–13 | Pending |
|
||||||
| 3. Improve startup diagnostics at the owning boundary | 8 | Pending |
|
| 3. Improve startup diagnostics at the owning boundary | 8 | Pending |
|
||||||
| 4. Select HTTP connection-lifetime policy | 5 | Pending |
|
| 4. Select HTTP connection-lifetime policy | 5 | Pending |
|
||||||
@@ -43,7 +43,7 @@ are proposals, not authorization to introduce new behavior.
|
|||||||
|
|
||||||
## 1. Correct The Production Defects
|
## 1. Correct The Production Defects
|
||||||
|
|
||||||
**Recommendation:** Proceed with narrow fixes and associated regression
|
**Decision — accepted 2026-11-25:** Make narrow fixes with focused regression
|
||||||
coverage for [catalog entries 1–3](catalog.md#1-restricted-file-acquisition-can-ignore-cancellation-and-stall).
|
coverage for [catalog entries 1–3](catalog.md#1-restricted-file-acquisition-can-ignore-cancellation-and-stall).
|
||||||
|
|
||||||
- Preserve large and nested provider numbers through the existing decoder's
|
- Preserve large and nested provider numbers through the existing decoder's
|
||||||
@@ -56,19 +56,22 @@ coverage for [catalog entries 1–3](catalog.md#1-restricted-file-acquisition-ca
|
|||||||
existing FIFO cannot block opening. Context checks after `os.Open` alone do
|
existing FIFO cannot block opening. Context checks after `os.Open` alone do
|
||||||
not resolve that case.
|
not resolve that case.
|
||||||
|
|
||||||
**Technical question before implementing the reader fix:** Confirm that ordinary
|
**Reader scope:** Adopt upstream's ordinary regular-file acquisition and
|
||||||
regular-file acquisition is the intended scope. Recommendation: follow upstream
|
cooperative cancellation semantics. Reject unsupported non-regular inputs
|
||||||
and do not add streaming/non-regular input support. Keep cooperative cancellation,
|
before opening; streaming input support is outside this remediation. Retain
|
||||||
lexical containment, and byte limits; do not introduce abandoned-read goroutines,
|
lexical containment and enforce byte limits during acquisition. The existing
|
||||||
a symlink sandbox, or an immediate-interruption guarantee.
|
symlink policy remains unchanged: the OS may follow symlinks to regular files.
|
||||||
|
Do not introduce abandoned-read goroutines, a symlink sandbox, or an
|
||||||
|
immediate-interruption guarantee.
|
||||||
|
|
||||||
**Separate upstream opportunity:** The restricted reader mixes legitimate HTTP
|
**Separate upstream follow-up:** The restricted reader mixes legitimate HTTP
|
||||||
access policy with ordinary reading and metadata mechanics. The inspected
|
access policy with ordinary reading and metadata mechanics. The inspected
|
||||||
PromptKit implementation already handles relevant cancellation behavior, but
|
PromptKit implementation already handles relevant cancellation behavior, but
|
||||||
that reader implementation is internal. Consider whether a supported reusable
|
that reader implementation is internal. Investigate whether a supported reusable
|
||||||
reader would reduce duplication. Any proposal must retain Scriptorium's access
|
reader would reduce duplication. Any proposal must retain Scriptorium's access
|
||||||
and byte-limit policy; do not import or copy upstream internals, and do not make
|
policy and enforce byte limits during acquisition, not only after reading.
|
||||||
this investigation a prerequisite for correcting the local defect.
|
Do not import or copy upstream internals. This investigation and any upstream
|
||||||
|
release are not prerequisites for correcting the local defect.
|
||||||
|
|
||||||
## 2. Strengthen Existing Behavioral Protection
|
## 2. Strengthen Existing Behavioral Protection
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user