Repository navigation
fix(paths): reject Windows console device names - #14972
vincentkoc merged 3 commits into
Conversation
[Low impact] This PR appears safe to merge. SummaryRejects exact
Reviews (4) · Last reviewed commit: "Merge main into console-name validation ..." · Reviewed by Greptile |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0f0f524947
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
* commit '7f7d34ad7c30a5fe015b642118dd40e8e9ac093d': (167 commits) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) fix(nds): report unreachable file name directories (morluto#15192) refactor(firmware): share admitted-file decoder buffering (morluto#15198) fix(binary): carry the runtime refusal's repair instruction in remediation (morluto#14123) fix(agentenv): reject COM0 and LPT0 bundle names (morluto#14971) test(environment): share the loopback capture fixture (morluto#15196) perf(png): reconstruct scanlines with one filter dispatch (morluto#11818) feat(iso9660): stream files across separated extents (morluto#15190) perf(apple): build only the requested asset catalog page (morluto#14032) perf(artifacts): isolate offline session composition from deep providers (morluto#15194) perf(evidence): bound investigation closure worklist by depth (morluto#15193) perf(audit): avoid copying complete log lines (morluto#15184) test(mcp): share server result readers (morluto#15174) fix(android): declare Android mapping and JNI fixed allowances (morluto#15183) fix(artifacts): retain deep comparison source chains (morluto#15191) perf(evidence): bound link inspection frontier by records (morluto#15189) perf(evidence): retain snapshots across duplicate imports (morluto#15186) fix(nro): exclude ASET header bytes from asset ranges (morluto#15185) ...
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Thanks @WoWHellgarve-HolyDeeW for the bare-name fix and ordinary-filename controls, now landed in 4ca43e2. The remaining dotted-name portability correction is in #15220. That follow-up includes the native Windows build 26100 observations and compiled Nintendo DS extraction results. |
|
thanks! merged with exact alias matching and the shared device-name rules preserved. 65 selected tests and current-head CI passed. |
* commit '4ca43e2cb20f0edd86cdbf315a9c99c7b9b87468': (173 commits) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) fix(nds): report unreachable file name directories (morluto#15192) refactor(firmware): share admitted-file decoder buffering (morluto#15198) fix(binary): carry the runtime refusal's repair instruction in remediation (morluto#14123) fix(agentenv): reject COM0 and LPT0 bundle names (morluto#14971) test(environment): share the loopback capture fixture (morluto#15196) perf(png): reconstruct scanlines with one filter dispatch (morluto#11818) feat(iso9660): stream files across separated extents (morluto#15190) perf(apple): build only the requested asset catalog page (morluto#14032) perf(artifacts): isolate offline session composition from deep providers (morluto#15194) perf(evidence): bound investigation closure worklist by depth (morluto#15193) perf(audit): avoid copying complete log lines (morluto#15184) test(mcp): share server result readers (morluto#15174) fix(android): declare Android mapping and JNI fixed allowances (morluto#15183) fix(artifacts): retain deep comparison source chains (morluto#15191) perf(evidence): bound link inspection frontier by records (morluto#15189) perf(evidence): retain snapshots across duplicate imports (morluto#15186) ...
* commit '4ca43e2cb20f0edd86cdbf315a9c99c7b9b87468': (34 commits) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) fix(nds): report unreachable file name directories (morluto#15192) refactor(firmware): share admitted-file decoder buffering (morluto#15198) fix(binary): carry the runtime refusal's repair instruction in remediation (morluto#14123) fix(agentenv): reject COM0 and LPT0 bundle names (morluto#14971) test(environment): share the loopback capture fixture (morluto#15196) perf(png): reconstruct scanlines with one filter dispatch (morluto#11818) feat(iso9660): stream files across separated extents (morluto#15190) perf(apple): build only the requested asset catalog page (morluto#14032) perf(artifacts): isolate offline session composition from deep providers (morluto#15194) perf(evidence): bound investigation closure worklist by depth (morluto#15193) perf(audit): avoid copying complete log lines (morluto#15184) test(mcp): share server result readers (morluto#15174) fix(android): declare Android mapping and JNI fixed allowances (morluto#15183) fix(artifacts): retain deep comparison source chains (morluto#15191) perf(evidence): bound link inspection frontier by records (morluto#15189) perf(evidence): retain snapshots across duplicate imports (morluto#15186) ...
|
Thanks Vincent! Appreciate the merge and the follow-up on the dotted names. |
* commit '81657ccedea257a7138c11908a4681dc5986eca3': fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195)
…5210-evidence-completion * commit 'acce96912d7bf048f9a5499ecd960c370062306f': fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972)
…180-warc-archive * commit '5f15fdf457a890a149cbe574cce96e32422c1904': (206 commits) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) ...
…186-evtx-archive * commit '5f15fdf457a890a149cbe574cce96e32422c1904': (89 commits) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) ...
…4075-env-argv0 * commit 'aeea7c25ede5c5e6b16198e60c0eb0475ff6f5d8': (738 commits) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) ...
…0374-skill-guidance * commit 'aeea7c25ede5c5e6b16198e60c0eb0475ff6f5d8': (3508 commits) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) ...
…063-native-alias-cancellation * commit 'aeea7c25ede5c5e6b16198e60c0eb0475ff6f5d8': (881 commits) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) ...
…279-mcp-config-validation * commit 'aeea7c25ede5c5e6b16198e60c0eb0475ff6f5d8': (2392 commits) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) ...
Problem
isPortablePathSegmentacceptsCONIN$andCONOUT$as filenames, but Windows reserves these names for console input/output devices. A path intended for an ordinary file should not select a console device.Change
Reject the two exact names, case-insensitively. Keep the existing checks for other device names and filename characters. Add regression cases for
CONIN$andConOut$.Validation
Scope
Only the portable path-segment validation changes. No provider, CLI/MCP or Evidence contract changes.
Reference: Microsoft CreateFileW console device names.
Maintainer verification
Integrated with main while retaining the shared COM/LPT device-name definitions. All 65 selected path/bundle tests, 20 direct Node 24 controls, and current-head CI passed. Canonical review found no P2 findings. NDS execution and native Windows filesystem behavior were not tested.
Author readiness
Human owner: @WoWHellgarve-HolyDeeW