git-hooks

Tag

Cards List
#git-hooks

A trusted hook can still run the agent's code

Reddit r/AI_Agents ↗ · 2026-10-31

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.

0 favorites 0 likes
#git-hooks

I got targeted: Trying to get your credentials via a git post-checkout hook

Lobsters Hottest ↗ · 2026-10-02 Cached

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.

0 favorites 0 likes
#git-hooks

I Inspected My Take-Home Interview Project. It Was a Whole Operation

Hacker News Top ↗ · 2026-07-22 Cached

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.

0 favorites 0 likes
#git-hooks

Show HN: Grepathy – Claude made a decision nobody approved

Hacker News Top ↗ · 2026-07-15 Cached

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.

0 favorites 0 likes
#git-hooks

@cline: Here's a practical way to start "loop engineering" (fancy way to say something other than a human prompting an agent to…

X AI KOLs Following ↗ · 2026-06-17 Cached

A practical approach to 'loop engineering' using a git hook script to automatically review code for leaked keys and critical bugs before committing.

0 favorites 0 likes
← Back to home

Submit Feedback