News for hackers. Stuff that matters.
Re:Git security vulnerability announced by dhzhzjsbevs on Tuesday April 12, 2022 @11:19PM (#31010854)
Tbh I thought this was pretty obvious.

Git hooks have always been sketchy as hell.

Can't stand the Mac specific shit my co-workers keep dumping in there.

Re:Git security vulnerability announced by hda2 on Tuesday April 12, 2022 @11:28PM (#31010909)
Wait, I thought git hooks aren't pulled from remote.

Wouldn't untrusted git hooks mean that git verify-* are useless since you're already running untrusted code?

Re:Git security vulnerability announced by Groxx on Wednesday April 13, 2022 @03:02AM (#31011927)
Just to react to:

>Wait, I thought git hooks aren't pulled from remote.

You are correct. They are not. Other tools may auto-install them (I hate it), but git does not ever.

Re:Git security vulnerability announced by edgyquant on Tuesday April 12, 2022 @11:52PM (#31011048)
On my current app we use husky which installs hooks when you do a yarn install
Re:Git security vulnerability announced by eru on Wednesday April 13, 2022 @12:01AM (#31011100)
You are in luck, it seems: https://blog.typicode.com/husky-git-hooks-autoinstall/

(Though not completely sure.)