News for hackers. Stuff that matters.
Re:git-landmine – create local malicious Git repo by TeMPOraL on Sunday July 02, 2023 @02:47PM (#36564402)
Excluding curl ... | sh, neither bash nor cron tend to run random code from the Internet on their own. A git repo, on the other hand, is almost always some random code you got from the Internet. You also don't expect using git itself to inspect a random repo to execute arbitrary code from that repo.
Re:git-landmine – create local malicious Git repo by upon_drumhead on Sunday July 02, 2023 @02:53PM (#36564462)
This example given in the link also does not execute arbitrary code from just cloning the repo, nor does any other repos you directly clone. You would be required to run commands to setup the exploit.

There is an issue around embedded bare repos in archives, however, that is not the given exploit in the linked repo at all.