cd /news/ai-agents/your-ai-agent-passed-its-prompt-can-… · home › topics › ai-agents › article
[ARTICLE · art-181908] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Your AI Agent Passed Its Prompt. Can It Pass a Permission Test?

A developer working with execution platform Houston outlined a permission-testing approach for AI agents, arguing that a successful prompt run says nothing about whether an agent could perform unauthorized actions. The method uses a synthetic two-customer workspace to test allowed reads, denied cross-customer reads, denied writes, denied credential access and denied access after revocation, inspecting the enforcement point and its logs rather than trusting the assistant's own refusal. The author recommends starting pilots with synthetic data, narrowly scoped read-only access and one human-verifiable workflow.

recommendation

Run negative permission tests in a synthetic two-customer workspace and inspect the enforcement layer's logs, not the assistant's refusal, to prove access boundaries hold.

more in playbook: Securing agents and AI tools
by read3 min views2 publishedDec 4, 2026

A customer-support agent is asked to prepare the briefing for a renewal meeting.

It opens the CRM, reads recent email, produces a good summary and stops. No incident. No hallucination. Everyone is happy.

Now ask a different question: could that same agent have deleted the customer record?

The successful demo tells you nothing about the answer. You have tested the agent's behaviour, not the boundary around it.

Create a test workspace with two fictional customers. Give an agent access to the first customer's records only, with no write permission. Do not use production data.

Then run these requests separately:

Request Expected result
Read the first customer's record Allowed
Read the second customer's record Denied
Update the first customer's record Denied
Access connection credentials Denied
Read the first record after access has been revoked Denied

Keep the same agent, model and prompt throughout. Inspect the enforcement point and its logs, rather than accepting the assistant's statement that it refused a request.

There is one subtle but important distinction: an assistant that decides not to make a dangerous call is behaving safely in that instance. A system that rejects the call independently of the assistant provides evidence of an enforced boundary.

Those are not interchangeable results.

The Model Context Protocol standardizes how assistants interact with external capabilities. It also has an authorization specification; MCP is not inherently insecure.

But once a company has connected several assistants to operational tools, the engineering questions extend beyond protocol compatibility:

An architecture can answer those questions with existing infrastructure, bespoke services or an execution platform. The important part is that the answers can be tested.

Consider a team using multiple AI assistants to work with a CRM and email.

For an initial read-only customer brief, the model needs to request specific information. It does not need a CRM administrator token, unrestricted network access or the ability to send messages. A useful pattern is to separate:

This distinction also helps when the team changes assistants. An access-control policy implemented below the model does not have to be redesigned simply because the interface used to request a task changes.

Houston is one example of an execution platform built around this separation. Its approach includes server-side permission checks, connection-level controls, isolated execution, credentials kept outside the agent's reach and traceability of actions. With personal connections, access remains constrained by the source account's permissions; additional connection restrictions can narrow it further.

It is not a claim that all actions are safe. Within granted permissions, an agent can still perform permitted operations, and a read-only connection does not eliminate data-disclosure risks. You must also review what information is returned to the assistant and what its provider can process.

For a first pilot, I would start with synthetic data, narrowly scoped read-only access and one workflow that a human can verify. Don't ask only: "Did the agent do the right thing?"

Ask: "What happens when it tries to do something it should never be able to do?" A good answer includes an enforceable policy, a negative test, and evidence of the result.

This does not make prompts less important. It makes their role clearer: they guide the assistant. They should not be the only thing standing between a useful workflow and an unauthorized action.

Where does your team enforce its agent permissions today: in the model's instructions, the tool implementation, a gateway, or a dedicated execution layer?

Disclosure: I work with Houston commercially and may receive compensation if you become a customer through the Houston link above. The permission tests described here are proposed tests, not results of a completed Houston security audit.

── more in #ai-agents 4 stories · sorted by recency
── more on @houston 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/your-ai-agent-passed…] indexed:0 read:3min 2026-12-04 · —