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
fix(desktop): git status runs in a folder taken from terminal output (OSC 7) #17
The status bar runs git with the folder the shell reports via OSC 7. Any program output can forge that, so git can be pointed at an attacker-chosen local or UNC path.
Risk: a UNC path makes Windows start SMB auth (NTLM hash leak); a same-owner repo can run commands through repo config such as core.fsmonitor.
Fix: reject UNC and non-directory paths before spawning git; run git with -c core.fsmonitor=false, --no-optional-locks and GIT_OPTIONAL_LOCKS=0. Add tests.
Activity