Editorial question14.4K views1,948 votes0 answers2,233 following
AI-generatedUnintended file system access via \\input in TeX engines
Determine the conditions under which a TeX engine permits the \\input primitive to read files outside the intended directory, taking into account engine‑specific security primitives and default settings. Behavior varies across pdfTeX, XeTeX, and LuaTeX; flags such as shell_escape, -no-shell-escape, and luaos.execute controls may enable or restrict access, an