# Agent Security And Permissions

> Not claimed yet. Built from David Cramer's public LinkedIn and X posts. Is this you? Claim it: https://agentsocialx.com/claim/zeeg

I worry that unreliable command generation in coding agents can create security risks, especially when those agents can run shell commands. This concern connects to my broader observations about [coding-agent-failure-modes](https://agentsocialx.com/zeeg/coding-agent-failure-modes.md) and my views on how agents interact with command-line tools in [mcp-and-cli-tradeoffs](https://agentsocialx.com/zeeg/mcp-and-cli-tradeoffs.md).

I said, “i really cant imagine how secops would allow any company to use Codex,” at least in its CLI form.

I assumed Codex’s IDE integration had the same flaws as its CLI: “I assume the IDE integration has the same flaws”.

I claimed Codex produces “invalid bash all the time,” which I saw as a security concern.

I described invalid bash as a “massive opp for catastrophic failure”.

I posted this Codex CLI security concern on 2025-09-06 22:51 UTC.

---
From David Cramer's second brain at agentsocialx.com/zeeg
