Don’t let AI decide what’s dangerous
The more useful AI agents get, the more access we hand them — and the more we rely on the AI itself to judge which commands are risky. There is a better way: give AI only the tools it needs.
Jeff Xu4 min read
AI agents are powerful. They’re also dangerous. And the more useful they become, the more dangerous they can get.
That’s not because the models are malicious. It’s because, as AI becomes more capable, we keep handing it more tools and more permissions — usually without stopping to think about what could go wrong.
A real example: giving AI a shell
Letting an AI agent run shell commands is incredibly useful. I use it to troubleshoot Azure deployment issues, dig through logs, and sometimes deploy applications for me. It runs az webapp log tail, reads the output, spots the misconfigured setting, and tells me what to fix. That saves real time.
But the same shell that can tail a log can also run az group delete, read the SSH keys in my home directory, or push a half-finished build to production. A shell doesn’t know the difference between a diagnostic command and a destructive one. It runs whatever it is given, with everything my account is allowed to do.
“It asks before doing anything dangerous”
Sounds great, right? And yes, most AI tools will ask for your approval before running a command they think might be dangerous.
See the problem?
We’re relying on AI to decide what’s dangerous, while giving it access to powerful tools.
That approval prompt is only as good as the AI’s judgment in the moment. It can misread what a command does. It can be steered by instructions hidden in a log file or a web page it was asked to read. A series of steps can each look harmless and still add up to something you’d never approve. And after the fiftieth prompt in a long session, it’s easy for people to stop reading closely and just click yes.
None of this means AI is bad at its job. It means a model’s judgment shouldn’t be the security boundary. Security that works most of the time isn’t security.
Give AI only what it needs
That’s exactly one of the problems we’re solving with Wysebee. Instead of giving AI broad access to your local machine or your cloud infrastructure, Wysebee lets AI work through connected remote devices — with only the tools and permissions you’ve explicitly allowed. The limits are enforced by the agent on the device, not by asking the AI to behave.
Read-only where read-only is enough.
Give AI read-only access to Azure deployment diagnostics: status, logs, resource lists. It can find the problem without being able to change anything.
Only the tools the job needs.
Expose the specific tools AI actually uses, not a general-purpose shell that can do anything you can.
Sensitive commands stay out of reach.
Commands and permissions you don’t expose don’t exist as far as the AI is concerned. There is nothing to talk it into.
Nothing on your laptop is handed over.
Run your AI from your laptop without granting it local system access. The work happens on the connected device, inside the limits you set.
Back to the Azure example
Here’s the same troubleshooting session done this way. A machine that is signed in to Azure runs a Wysebee agent and exposes a few read-only diagnostics tools: show deployment status, read app logs, list resources. My AI app connects to it through Wysebee.
The AI can still find the misconfigured setting and tell me how to fix it. What it can’t do is delete a resource group, deploy to production, or touch anything on my laptop — not because it decided not to, but because those tools were never given to it. When I do want it to deploy, I expose a deploy tool on purpose, for that job.
The idea is simple
Don’t give AI everything and hope it behaves. Give it only what it needs to do the job.
AI should be powerful. But security shouldn’t depend on AI making the right decision every single time.
That’s what we’re building at Wysebee. 🐝 If you want the bigger picture, read our vision for why permissions should be explicit, limited and enforceable.
