Open and answer this issue on GitHub.
blocked, safety · opened 2026-11-21 · updated 2026-11-21 · 1 comment
Part of #1253 Needs #120
ADR-raw-sinks-1 D2 and D15 name http::File as a path sink of the read operation (untrusted-paths-read): a path from outside under fs::Root::Anywhere or Dir("/") at it is NK1308 unless proved or allowed. http::File is not built yet: no http::File exists in crates/nikaia-std/src/runtime/http1.nika or crates/nikaia-std/src/http1.rs; it is built by “Response bodies: Bytes, a mapping, http::File, and the kept mappings” (#120). Part of step 5 of the original list.
http::File(path, root) joins the read sinks of the raw path check (prover_walk.nika, where fs::read_to_string is judged), with one refused test (a path from outside under fs::Root::Anywhere, NK1308) and one admitted test (a path::is_component guard, or untrusted-paths-read in the manifest), as .nika programs in tests/compiler/tests/ with their .stdout / .stderr.A path read from outside handed to http::File under fs::Root::Anywhere is reported NK1308, and the guarded and the allowed versions build, each shown by a test; the commit carries Fixes #THIS.
Split from #1253 by Claude Code
Driver: not queued, this issue waits for #120, which is still open (#1819). Set ready again when it is closed.
Generated by Claude Code