← All projects
Project record1 mention
Originally shared on Hacker News

safeexec

A safety tool for AI coding agents like Codex and Claude Code that prevents destructive commands such as rm -rf or git reset --hard from being run by accident when using the --dangerously-bypass-permissions flag.

Last shared
01 / The problem

What it addresses

AI coding agents running with bypassed permissions can accidentally execute destructive commands like rm -rf or git reset --hard.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. safeexec

    A safety tool for AI coding agents like Codex and Claude Code that prevents destructive commands such as rm -rf or git reset --hard from being run by accident when using the --dangerously-bypass-permissions flag.

    Problem: AI coding agents running with bypassed permissions can accidentally execute destructive commands like rm -rf or git reset --hard.

    Posted by @agentifysh · Original source ↗

    Source text · @agentifysh · · Source ↗

    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