You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Block auto-approval of file-write redirection to ~ and % paths #320660
Extends the file-write redirection guard to also block auto-approval when the destination path contains ~ (POSIX tilde expansion) or % (Windows env-var expansion), since neither posix.isAbsolute nor win32.isAbsolute classifies these as absolute paths.
Adds regression tests for both bash (~/file.txt, %HOME%/file.txt) and pwsh (~\file.txt, %APPDATA%\file.txt).
Activity
omg775 commentedon Jun 9, 2026
Hi, I’d like to work on this issue.