File reads via `sed` vulnerable to shell interpolation.
Resolved 💬 1 comment Opened Sep 29, 2025 by miklschmidt Closed Jan 10, 2026
What version of Codex is running?
0.42.0
Which model were you using?
gpt-5-codex
What platform is your computer?
Linux 6.12.46 x86_64 unknown
What steps can reproduce the bug?
Add a file like routes/dynamic.$parameter.ts, ask codex to read the file.
What is the expected behavior?
File name should be properly quoted / escaped.
What do you see instead?
$parameter gets interpolated, sed command errors out.
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗