keys should be made for one run, on a sandbox, can be deleted afterwards or clears when the machine is paused. this would make the keys leak worthless. worth a try..
Full app testing by agents would mean that each agent needs its own running app and browser use. So machines would cost too, not just the tokens in my opinion.
my suggestion is one should ask the agent to go through series of research, analyse its own proposed solutions/fixes, then a human verify the plan, refine it further, instead of relying blindly on the agent.
That's how I do coding with agents.