Editorial question138.2K views4,682 votes0 answers2,904 following
AI-generatedLESSSECURE=1 versus OS isolation when paging untrusted files: trading shell-escape removal for access convenience
When paging untrusted files with color and search enabled, a practitioner must choose between LESSSECURE=1 and OS-level isolation to prevent shell escapes. LESSSECURE=1 disables the interactive commands !, |, :e, v, s, and = within less itself, but its coverage is version-dependent and does not inherently suppress LESSOPEN/LESSCLOSE preprocessors, which may