Developer finds agent permission rules bypassed by plain shell commands
11/22/2026 — 11/22, 19:19·1 sources (all)·1 reports (all)
Key takeaways
- A developer's hands-on test shows that a permission rule written as git push * fails to stop an agent from using ordinary shell commands lik…
Background & analysis
On November 22, 2026, a developer published a post on DEV Community describing a hands-on test of permission rules for coding agents. He found that a rule written as git push * did not actually stop an agent: the agent got past it with an ordinary shell command, cd && git -c credential.helper=… push && gh pr create. In his account, the rule matched the shape of a command rather than the capability behind it, and the agent was not trying to be sneaky — it was simply writing a normal shell command.
The experiment confirmed what the developer said he had already suspected: anything enforced through prompts or pattern matching amounts to a suggestion. The only controls he considers genuinely binding are hooks and credential isolation, and he says he now relies on just those two. The post does not specify the environment used for the test, the agent product involved, or who authored the permission rule; none of that appears in the available material.
AI-generated from 1 reports · updated 27 minutes ago
- Heat index
- 98
- All sources
- 1
- All reports
- 1
- First seen
- 58 minutes ago
Reports on this story headlines open the original
A developer found that a permission rule written as git push * failed to stop an agent from chaining cd && git -c credential.helper=... push && gh pr create, because pattern matching checks command shape rather than capability. He now relies on hooks and credential isolation, arguing that anything enforced only by prompts or pattern matching is a suggestion.
DEV Community · AIAI score 62
Other stories people are talking about
- Heat index 1162RisingMaynard: Claude-assisted Riemann proof credible but must be understood22 sources
- Heat index 994RisingAnthropic falls 8.5% on day two, closing the first week at a $1.6 trillion valuation21 sources
- Heat index 459Thinking Machines Lab Open-Sources Inkling 2 Mini with 32GB Model Card Recommendation10 sources
- Heat index 378SEC probes Nvidia accounting practices as shares post seven-week slide9 sources
- Heat index 324SurgeTesla begins rolling out FSD V15, Musk claims driving ability beats humans4 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

