Hacker GitHub

← All repos

agentify-sh/safeexec

View on GitHub ↗ ★ 170 Shell

gates destructive commands like rm -rf, npm audit fix --force, git reset/revert, from losing uncommited work

4 mentions on Hacker News by 2 people: 1 story, 3 comments · first 2025-12-14 · latest 2026-06-08

Mentions per year 4 mentions · busiest year 2025 (3)
20082026
  1. …agent cannot run destructive rm -rf or git reset --hard commands, it has saved me many many times https://github.com/agentify-sh/safeexec 3) For mac users, summarizes and speaks out loud after codex finishes a turn…
  2. not really projects but productivity tools for codex/claude code etc https://github.com/agentify-sh/safeexec/ - this will prevent rm -rf or git reset --hard being run by off chance when used with --dangerously-bypass-permissions flag…
  3. Someone in the Reddit thread linked to https://github.com/agentify-sh/safeexec/ for mitigation.