Tag
A write-up shows that trusting a Git pre-commit hook file doesn't make the code it launches trustworthy — hooks can invoke npm scripts from package.json that an agent may have modified, allowing code execution to escape the agent's environment. Demonstrated with plain Git for Windows, no agent sandbox was directly tested.
Frank Wiles describes being targeted by a sophisticated phishing scheme where attackers shared a fake Ed Tech project repo containing a malicious git post-checkout hook that would download OS-specific malware via a Vercel-hosted command-and-control endpoint.
A software engineer receives a suspicious take-home interview project that contains malicious Git hooks designed to execute malware, revealing a sophisticated job scam targeting developers.
Grepathy is a tool that reads AI coding agent session transcripts to extract decisions and commits a markdown file explaining why code was written a certain way, making agent-written code reviewable and preserving reasoning.
A practical approach to 'loop engineering' using a git hook script to automatically review code for leaked keys and critical bugs before committing.