Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Security issue in Zsh restricted mode (zsh -r) – escape via history built‑ins



On Tue, Feb 10, 2026 at 4:23 PM Oliver Kiddle <opk@xxxxxxx> wrote:
>
> On 1 Feb, I wrote:
> > On further deliberation, I think we should just drop the whole
> > restricted mode feature. The documentation has carried a warning that
> > "the feature may be removed in future" for the past six years.
>
> Nobody argued for a reprieve so a patch to get rid of it follows.

The only reason I could think of to keep it is for "accident
prevention" -- not real security, just a sort of universal "setopt
noclobber".




Messages sorted by: Reverse Date, Date, Thread, Author