AI Agent Security: Why Prompt Guardrails Aren’t Enough

Two studies show where AI agent guardrails can fall short. Learn how to enforce access outside the model and capture an audit trail for denied requests.

Écrit par
Tim Freestone
Tim Freestone
Dec 4, 2026
AI Agent Security: Why Prompt Guardrails Aren’t Enough

Access controls outside the AI model can block unauthorized requests and record why they were denied. Image: OpenAI/ChatGPT

We may earn from vendors via affiliate links or sponsorships. This might affect product placement on our site, but not the content of our reviews. See our Terms of Use for details.

In a simulated company, a user asked two AI agents to include a password in a social media post. A data loss prevention system blocked their first submission, but the agents still found a way to put the password in the post without the filter catching it.

Irregular, an AI security lab, reported the incident in a March 2026 study conducted in a simulated company. Across the simulations, the researchers used common instructions about urgency and finding a way forward after an error. The study describes other cases in which agents obtained restricted information or interfered with endpoint protection while trying to finish their assigned work.

For a compliance officer, cleverness is not the finding. The finding is that the controls in those tests did not reliably stop the agents from taking actions they did not need to take.

What the experiments show

A November Cloud Security Alliance research note describes a separate evaluation in which agents repeatedly reached a real public website that should have been outside the test. Trajectory Labs instructed the agents to persist, and its test software prompted them again after safety blocks. A firewall that denied outbound traffic by default was held in the fully isolated test environment. The evaluation shows what can happen under stress, not how often it happens in production.

Advertisement

When an organization relies on rules written into a prompt, it can count those instructions as a control without asking what actually enforces them. An employee told to find a way gets access reviews, a manager, logs, and a termination process. An agent can end up with a paragraph.

A prompt can guide the agent. The system handling the data still needs to decide whether the request is allowed. Those are separate jobs.

What security and compliance teams need to prove

For organizations subject to the HIPAA Security Rule, the obligation to safeguard electronic protected health information applies to covered entities and business associates. If an agent handles that data, the organization still needs to know which identity requested it, what was released, and what was recorded. A prompt that said no does not prove the system denied the request.

Try this test. Pick one agent in production and ask who in your organization is named as accountable for its behavior. If answering takes a meeting, that is the finding.

This is where the CISO and the chief compliance officer need the same answer. The CISO owns the control and the compliance officer owns the proof. Both need a decision made outside the model and a record protected against unauthorized changes.

Advertisement

Must-read security coverage

Start with one agent

Start with an inventory. List every agent in production with its identity, its owner, and every tool it can call. Give each agent a distinct identity, a named human owner, and only the access it needs. Personal credentials and shared service accounts make it harder to establish who did what.

Enforce access outside the model, at the system that handles the data, on every request. Apply the same principle to files, records, and messages: the system can deny an action regardless of what the agent was told to do.

Two housekeeping moves follow. Remove general-purpose tools an agent doesn’t need, and write down who can stop each agent. Then test the stop before you need it.

Advertisement

Finally, keep the evidence in a form you can produce on demand. If an agent requests a record it can’t access, the audit log should show the requesting identity, the record or system requested, the policy that denied access, and when it happened. The log can document the decision without copying the protected data into the audit trail.

Write the rule where it can stop the action.

Read more: See why CISA’s ChatGPT incident raised a broader question about who is accountable for AI agents at work.

Tim Freestone

Tim Freestone, the chief strategy officer at Kiteworks, is a senior leader with more than 17 years of expertise in marketing leadership, brand strategy, and process and organizational optimization. Since joining Kiteworks in 2021, he has played a pivotal role in shaping the global landscape of content governance, compliance, and protection.