Every time you tell an agent “don’t ask again,” you write a rule. That rule outlives the moment, it usually lands in a file, and almost nobody reviews it. If you’re an engineer who clicks always allow to get an agent unstuck, or the manager whose team does, here’s my ask: treat every standing approval as configuration, and review it like code.
Last weekend, itWire reported on research by Apiiro, a company that sells application security, which found secrets in public copies of one coding agent’s local settings file on GitHub. itWire reports that the researchers examined 104,185 public copies of that settings file and classed 1,122 of them, about 1.1%, as containing secrets. The tool in that report is Claude Code. I’m naming it because the report does, but the habit is the story, and any agent tool that saves allow rules can carry it. A quick yes turns into configuration nobody reviews.
Here’s how the yes becomes a file. As itWire explains it, picking “Yes, and don’t ask again” for a shell command saves an allow rule in the project’s local settings file. If that file gets committed to a public repository, every rule in it goes public too.
I want to be careful with this one, because the sources are. itWire is reporting a security vendor’s research. The article itself says the findings “establish an exposure risk,” not “an actual demonstrated breach.” And the tool’s own docs say that the first time it writes that file in a git repository that doesn’t already ignore it, it adds the file to your global git excludes. So the likely gaps are files someone made by hand, files committed before the exclude was added, or machines that never got it. The exclude only protects the machine it was added on. The Cloud Security Alliance republished the same figures. It notes that Apiiro didn’t test whether the secrets still worked, and says it did not rerun the search itself. So hold the size of this loosely.
I’ve played my own version of this game. In Issue 02 I wrote about a spec-driven build where the agents asked me questions at every stage. By the later specs I’d answered hundreds of them, and I was playing the approval game. That’s when it clicked for me that more approvals don’t automatically mean more control. A tired yes on a permission prompt is worse, because “don’t ask again” keeps saying yes after you’ve stopped reading.
So I ran this issue’s audit on my own personal projects. It came back clean on secrets: no secret in any saved approval, and no personal approvals file ever committed. I still found 80 standing yeses in one personal side project’s approvals file. They’d built up in about two weeks. Of the 80, 20 were exact one-off commands, saved whole.
Rishi put it bluntly in Issue 01: “The agent that fails most often in practice is the one with the best model and the worst permissions.” He was writing about agents across a whole operating model, and the line holds on one engineer’s laptop too.
In this issue
How a quick yes turns into a file nobody reviews
What this week’s finding shows, and what it doesn’t
Where published guidance says a standing yes should live
The case for approving less by hand, and where I land
A 15-minute standing-approval audit
The problem
Agents ask for permission so often that “don’t ask again” has become the easy answer. I get why. Every prompt breaks your flow, and the fastest way to make prompts stop is to say yes forever.
I’d treat approval fatigue as a supply chain problem, not a user-experience annoyance. A yes you give to make a prompt go away becomes a permanent rule, and nobody reviews rules nobody knows exist.
Thoughtworks put “human-in-the-loop theater” in the Caution ring of its Technology Radar this month. It describes keeping a human in an agent’s loop “as an empty approval step rather than a real check.” It also calls the approval step “an accountability sink: no one truly owns the decision.” A standing allow rule is that theater made permanent. Nobody owns the decision, and nobody sees it again.
The cost lands in two places. The researchers say the saved rule can keep the whole command, so a key typed into it can end up in the file. And once a file like that is pushed, cleanup gets slow, because as itWire puts it, “Deleting the current file does not remove earlier commits, forks or other people’s clones.”
The model
Every yes you give an agent is one of two kinds. A one-time yes ends with the moment. A standing yes becomes a rule, and a rule is configuration, so it needs a home and a reviewer like any other configuration.
Here’s where the published guidance agrees on where a standing yes should live:
The tool’s own docs draw the line. The shared project file holds “Team permissions, hooks, plugins, and the environment variables the project needs,” and the docs say “In a git repository, commit it so teammates get it.” The local file is for “Personal overrides for one project, and testing before you share,” and it stays out of git.
Security guidance sets the bar I’d hold the shared file to. OWASP's Top 10 for large language model (LLM) applications, in its 2025 entry LLM06 Excessive Agency, says to “Limit the extensions that LLM agents are allowed to call to only the minimum necessary.” It also says to “Avoid the use of open-ended extensions where possible (e.g., run a shell command, fetch a URL, etc.)”
No secret goes in a file that can reach the repository, and either file can. The twelve-factor method has an old test for this: whether “the codebase could be made open source at any moment, without compromising any credentials.” In plain terms, could this repository go public tomorrow without exposing a credential?
Put together: personal yeses stay in the local file and out of git, the shared file holds only the narrow rules the team needs, and no file holds a secret. Anything else, like a personal file that got committed by accident, is a rule with no owner. My own addition is the ask from the top of this issue: review the shared file like code.
Thoughtworks gives the same advice from the other end: “Reserve human review for changes a human can genuinely judge, using risk-tiered human oversight.” It’s the same instinct as the cost-and-rollback grid in Issue 02: spend your careful yeses where a wrong one costs the most and is slowest to undo. A shared allow rule is one of those places, because every teammate inherits it.
Isn’t approving less by hand safer?
The strongest pushback came in the Hacker News thread on the story. A commenter who introduced himself as being from the Claude Code team wrote that “Auto mode is significantly safer than manual approval in practice.” He’s speaking about his own product, so I’d read that as his view and weigh it that way. The argument underneath it is worth taking seriously, though. People stop reading prompts, so ask a person less often instead of asking them to review harder. My own Issue 02 story backs the idea of asking less often, and so does the Thoughtworks entry.
Where I land: approve less by hand wherever you safely can. But whatever does the approving, you, an automatic mode or a teammate’s old rule, the result is still a rule the agent follows. That rule still needs a home and a reviewer. Fewer prompts help with fatigue, and the standing rules still need someone to read them.
Try it this week
If you try one thing this week: run a 15-minute standing-approval audit on one repository you own.
Search the repository and its git history for personal agent settings files that were ever committed, and read the shared project file too, since a standing approval can land there.
If you find a secret, rotate it first, then remove the file. Deleting the file doesn’t clean history, forks or clones.
Keep the allow rules the team needs in the shared project file, as narrow as you can make them, and keep personal ones in the local file, out of git.
Stop typing secrets inline in commands the agent runs. Use the environment or a secret store.
Add a deny rule for credential files.
For the tool in this week’s report, the personal file is .claude/settings.local.json and the shared project file is .claude/settings.json. In one of its editor extensions, the approval card “lets you pick the destination file, including the project’s shared file,” so check both. The docs also say older versions kept the local file in the folder a session started from, so check subfolders too. Every agent tool with saved allow rules keeps its own files. Then hold every rule that’s left to the bar above: the minimum the agent needs, and no open-ended commands where you can avoid them.
What it means for you
If you’re an engineer, your standing approvals are configuration you wrote in a hurry. Read them like a diff.
If you manage a team, ask where your team’s standing approvals live and who last reviewed them. If nobody knows, start there.
If you’re a platform or security engineer, the shared file is where you can help most. Give teams a reviewed default and a deny rule for credential files they don’t have to write themselves.
The takeaway
A quick yes to an agent can outlive the moment it was given, so treat every standing approval as configuration. Keep personal rules in the local file and out of git, keep the shared file to the narrow rules the team needs and review it like code, and keep secrets out of both. Whoever or whatever does the approving, the rule that’s left needs an owner and a review.
What’s the one agent approval you gave this month that you’d want a teammate to review? Hit reply and tell me. The best answers will turn into future issues.
Rishi is back Tuesday.
Reading list
itWire on the Apiiro research, for the finding and its own caveat that it is an exposure risk, not a breach.
Claude Code settings docs, for how saved approvals work and the default git exclude.
The Hacker News thread, for the case that auto mode beats manual approval.
Thoughtworks on human-in-the-loop theater, for how an approval step becomes an empty check.
OWASP on excessive agency, for keeping what an agent can call to the minimum.
The twelve-factor method on config, for the test that keeps credentials out of a codebase.
Know someone this would help? Forward it to one colleague.
The opinions expressed here are our own and do not represent any employer, past or present. Nothing in this publication describes any specific company’s internal systems, data, vendors, teams, metrics, or plans. Sponsored placements and sponsored briefs are clearly labeled.
Till next time,
Ellis & Kherdekar






