| ▲ | tom_alexander 4 hours ago | |||||||
> any competently set up shell PS1 will tell you that I certainly hope your shell is not running `git` commands automatically for you. If so, that is a RCE vulnerability since you could extract a tarball/zip that you don't expect to be a git repository but it contains a `.git` folder with a `fsmonitor` configured to execute a malicious script: https://github.com/califio/publications/blob/main/MADBugs/vi... | ||||||||
| ▲ | fragmede 3 hours ago | parent [-] | |||||||
Might want to let git know. It's been a part of the git source code since 2006. If there were an RCE vulnerability from using __git_ps1, one would hope it would have been found by now! https://github.com/git/git/blob/master/contrib/completion/gi... | ||||||||
| ||||||||