Published by Codehyper | Managed IT, Cloud, AI and Cybersecurity for Australian businesses
A chatbot that gives a wrong answer is annoying. An AI agent that takes a wrong action can be expensive: a deleted record, an email sent to the wrong client, a payment detail changed, or sensitive files shared outside the business.
That is the heart of AI agent security risks. Agents don’t just talk. They read your data, use your tools and act on your behalf, often at machine speed and with limited human review. The upside is real, but so is the need for guardrails.
This guide explains why agents create a different kind of risk, walks through eight specific threats, summarises what the Australian Signals Directorate (ASD) now advises, and gives a practical control plan for Australian businesses.
Quick Answer: What Are the Main AI Agent Security Risks?
The biggest AI agent security risks are:
- Excessive permissions
- Prompt injection
- Unintended or over-eager actions
- Data leakage and oversharing
- Weak identity and credential management
- Risky third-party tools, plugins and shadow agents
- Poisoned memory and unreliable outputs
- Poor logging, monitoring and accountability
Most can be reduced with the same disciplines you already apply to staff and systems: least privilege, separate identities, approval for high-impact actions, monitoring and a way to switch things off.
Why Agents Change the Security Conversation
A traditional generative AI tool responds to a request. You ask, it answers. An AI agent goes further. Depending on how it is set up, it can read email, search files, update a CRM, call other systems, send messages and carry out multi-step tasks with little or no human sign-off. If you are new to the distinction, our guide to AI agent vs chatbot explains it in plain English.
The key shift is from what the AI says to what the AI can do.
The Model Is Only Part of the System
ASD describes the harness as the software layer that connects the language model to your data, tools, systems, memory and workflows. In simple terms, the model is the brain and the harness provides the hands. Many of the most important security decisions, such as what the agent can reach and what it is allowed to do, are made in the harness rather than in the model. ASD’s guidance on agentic AI harnesses makes the point that no harness is inherently secure and that controls need to be applied around it.
The 8 Biggest AI Agent Security Risks
# | Risk | Example | Key control |
|---|---|---|---|
1 | Excessive permissions | Agent that only needs to read invoices can also edit supplier bank details | Least privilege |
2 | Prompt injection | A document tells the agent to forward files externally | Restrict what it can do after reading untrusted content |
3 | Unintended actions | Agent works around a limit to finish its task | Approvals and hard limits |
4 | Data leakage | Agent surfaces confidential files to the wrong person | Fix permissions, labels and DLP |
5 | Weak identity | Agent runs on a shared admin account | Separate identity, MFA, short-lived access |
6 | Risky third-party tools | A plugin quietly sends data to an unknown service | Vendor review and approved list |
7 | Poisoned memory or bad output | Wrong information stored and reused | Validate outputs, review memory |
8 | No audit trail | Nobody knows what the agent changed | Logging and monitoring |
1. Excessive Permissions
The most common problem is also the simplest. To “make it work”, agents are often given broad access: all of a mailbox, an entire SharePoint site, administrator rights. If the agent is manipulated or simply makes a mistake, everything it can reach is at risk.
What to do: give the agent only the tools, data and permissions needed for one defined job. Read-only where read-only is enough. One system or folder rather than the whole tenant.
2. Prompt Injection
Agents read content such as emails, web pages, documents and support tickets. If that content contains hidden or crafted instructions, the agent may treat them as legitimate commands. ASD has said this weakness can’t be fully fixed inside the model itself, so the controls need to sit in the surrounding system by limiting what an agent can reach and do.
A manipulated chatbot gives a bad answer. A manipulated agent with the right permissions can take a bad action.
What to do: treat all external content as untrusted, limit actions available after reading it, block automatic external sending, and require approval for anything sensitive.
3. Unintended or Over-Eager Actions
Agents are given goals, not detailed instructions, and they work out their own route. Sometimes that route crosses a line the business never intended. For example (hypothetically), an agent asked to “clear overdue invoices” might approve payments, create a supplier or change records to hit its target. It isn’t being malicious. It is optimising for the goal without understanding the boundaries.
What to do: write a narrow job description, set hard limits in the system rather than in the prompt, and make high-impact actions require approval.
4. Data Leakage and Oversharing
Most business agents inherit the access of the user or account they run under. If your file permissions are messy, the agent will happily surface files that should never have been visible. Agents can also send data out through email, links, web requests or connected apps.
What to do: clean up permissions in places like SharePoint before connecting AI, apply sensitivity labels and data loss prevention, and restrict outbound channels.
5. Weak Identity and Credential Management
An agent is a non-human user, and non-human identities are often the least governed accounts in a business. Shared credentials, long-lived tokens and admin accounts “just for the integration” are common.
What to do: give each agent its own identity, enforce strong authentication, use short-lived access where possible and review it regularly. Microsoft Entra ID is where much of this is managed for Microsoft 365 businesses, and strong sign-in for the humans who administer agents matters just as much. See our guide to phishing-resistant MFA.
6. Risky Third-Party Tools, Plugins and Shadow Agents
Agents depend on connectors, plugins and external services. Each one expands the attack surface. A tool from an unvetted vendor could mishandle data or be compromised. Meanwhile, staff may be building or buying their own agents without IT knowing, which is shadow AI.
What to do: maintain an approved list, review vendors before connecting them, and ask staff to register any agent or automation they build.
7. Poisoned Memory and Unreliable Output
Many agents keep memory or context between tasks. If wrong or malicious information gets stored, it can influence later decisions. Language models can also state incorrect things with confidence, and when an agent acts on that, the error becomes an action.
What to do: verify important outputs before they trigger operational steps, restrict what can be written to memory, and review stored context periodically.
8. Poor Logging, Monitoring and Accountability
If an employee changes a record, you expect to know who did it. The same should be true of an agent. Without logs, you can’t investigate, can’t reverse changes confidently and can’t prove what happened to a client, insurer or regulator.
What to do: log prompts, tool calls, data accessed and actions taken. Link each action to a human owner and review the logs, ideally with monitoring such as a security operations centre.
What ASD Says: A Plain-English Summary
ASD’s Australian Cyber Security Centre, together with international partners, published guidance in May 2026 titled Careful adoption of agentic AI services. It was followed in September 2026 by guidance on agentic AI harnesses. The main themes are:
- Start with low-risk, non-sensitive tasks and expand autonomy only as controls mature.
- Embed security from the start, with least privilege and strong identity and access management for agents.
- Keep humans in the loop for high-impact actions.
- Log and monitor agent activity.
- Test and validate before wider deployment, including looking for weaknesses and unintended behaviour.
- Assume agents may behave unexpectedly, so prioritise resilience, reversibility and containment over speed or efficiency gains.
The guidance also groups agentic AI risks into categories including privilege, design and configuration, behavioural, structural and accountability risks, which map closely to the eight risks above. It is advisory rather than mandatory for most businesses, but it is a strong benchmark for what “reasonable” looks like.
How Risky Is Your Use Case?
Not every agent deserves the same level of control. A simple way to decide is to rate each use case by what it can touch and how reversible its actions are.
Use case | Typical risk | Suggested control level |
Summarising meeting notes from a single team | Low | Standard logging |
Drafting emails for a person to review | Low | Human sends |
Suggesting CRM updates | Low to medium | Human approves changes |
Updating CRM fields automatically within limits | Medium | Limits, logging, sampling review |
Sending external emails or quotes | High | Approval before sending |
Changing user permissions or deleting data | High | Approval, strong identity, rollback plan |
Approving payments or changing bank details | Very high | Human approval, dual control, strict limits |
Screening or ranking job applicants | High | Human decision, privacy review |
The more sensitive the data and the harder an action is to reverse, the more control you need.
A 10-Point Control Plan for AI Agents
- Keep an AI agent register. Record each agent’s purpose, owner, systems, data, permissions and approval rules. If you don’t know what exists, you can’t govern it.
- Write a narrow job description. “Suggest a priority ranking for open support tickets for an engineer to approve” beats “manage our support queue”.
- Apply least privilege. Read-only where possible, limited to the systems and data needed.
- Give each agent its own identity. No shared accounts, no inherited admin rights, and a named human owner.
- Separate recommendation from execution. Start with AI suggests, human approves, system acts, and move towards more autonomy only when proven safe.
- Require approval for high-impact actions, such as deleting data, changing permissions, payments and external communications.
- Set limits in the system, not just the prompt. Spending caps, rate limits and blocked actions are harder to talk around than instructions.
- Log everything and review it. Capture prompts, tool calls, data accessed and results.
- Build a kill switch. Be able to disable an agent and revoke its access immediately.
- Test before you trust. Try deliberately tricky inputs, such as emails containing hidden instructions, in a safe environment before going live.
The Microsoft 365 Angle
If you use Microsoft 365, agents and assistants such as Copilot work within the access your people and accounts already have. That means the quality of your existing security directly shapes your AI risk. Before rolling out agents:
- Review who can access what, and remove oversharing
- Apply sensitivity labels and data loss prevention to confidential content
- Enforce MFA and Conditional Access
- Use Microsoft Defender to monitor for suspicious activity
- Check your Microsoft Secure Score to find gaps
Our AI and cyber readiness review is designed to check exactly these foundations.
Rolling Out Agents Safely: A Phased Approach
- Define approved use cases. Pick low-risk, useful starters.
- Classify your data. Decide what agents may and may not see.
- Choose suitable tools. Match the platform to the task and the risk.
- Apply controls. Permissions, identity, approvals, limits and logging.
- Validate in a pilot. Run with a small group, review logs and test failure scenarios.
- Expand gradually. Add autonomy or systems only when the previous stage is stable.
There is no prize for giving an agent access to half the business on day one.
Questions to Ask an AI Vendor
- What data does the agent access, store and send, and where is it processed?
- Can we limit permissions to specific systems, folders or actions?
- Does each agent have its own identity?
- What actions can require human approval?
- What logs are available, and can we export them?
- How are prompt injection and untrusted content handled?
- Is our data used to train models?
- How do we disable the agent and revoke access quickly?
- What happens if the vendor has a breach?
If a product can’t support a sensible permission boundary, reduce the task or choose a different approach.
What to Do If an AI Agent Goes Wrong
Include agents in your incident plan. A basic sequence:
- Contain: disable the agent and revoke its tokens and access.
- Preserve: save logs, prompts and records of what it did.
- Assess: work out which systems, data and people were affected.
- Reverse: undo changes using backups and version history. This is why tested backups matter.
- Notify: if personal information may be involved, check your obligations under the Privacy Act and the Notifiable Data Breaches scheme. Serious cyber incidents can be reported through ASD’s ReportCyber.
- Learn: adjust permissions, limits and approvals before relaunching.
Questions for Directors and Leaders
- Which AI agents exist in our business, and who owns each one?
- What is the worst thing each agent could do if it were manipulated or misconfigured?
- Which controls would contain that damage?
- Which actions always require a human?
- How quickly can we switch an agent off?
- Are staff trained to spot suspicious content that could target an agent? Our security awareness training can help.
Common Mistakes
- Giving broad access to “just make it work”.
- Relying on the prompt to enforce rules. Prompts are guidance, not security controls.
- Using shared or admin accounts for agents.
- Skipping logging because the pilot is small.
- Ignoring shadow AI built by staff.
- No rollback plan.
- Connecting agents to messy, over-shared data.
- Assuming the vendor has handled security.
AI Agent Security Checklist
- Business problem and owner defined
- Agent recorded in the AI register
- Systems and data it can access listed
- Permissions limited to the minimum
- Separate identity with strong authentication
- High-impact actions require approval
- Limits set in the system
- Logging and monitoring in place
- Kill switch tested
- Vendor and connectors reviewed
- Incident plan updated
- Pilot completed before wider rollout
Frequently Asked Questions
What are AI agent security risks?
They are the ways an AI agent that can access data and take actions could cause harm, through excessive permissions, prompt injection, unintended actions, data leakage, weak identity controls, risky integrations or poor logging.
Are AI agents safe for business use?
They can be, if they are deployed with limited permissions, human approval for high-impact actions, logging, testing and a way to shut them off. Starting with low-risk tasks is the safest route.
What is prompt injection?
It is when malicious or untrusted content, such as an email, web page or document, contains instructions that an AI system follows as if they came from the user. ASD notes it can’t be fully solved inside the model, so controls must limit what the agent can do.
Is an AI agent riskier than a chatbot?
Generally yes, because it can act on systems and data, not just produce text. The risk grows with the level of access and autonomy.
Should AI agents have their own accounts?
Yes. Treat them like non-human users with a unique identity, limited permissions, an owner and monitoring.
Do we need human approval for everything?
No. Low-impact actions can be automatic within limits. Reserve human approval for high-impact actions such as payments, deletions, permission changes and external communications.
Does Copilot have the same risks?
Copilot works within the permissions of the signed-in user, so oversharing and weak access controls can expose data. Fixing permissions and applying labels before rollout reduces this.
What should we do first?
Create an AI register, review permissions on the data you plan to connect, and pilot one low-risk use case with logging and approvals.
Use AI Agents With Boundaries
AI agents can remove repetitive work, connect systems and speed up service. But the more access and autonomy they have, the more important the controls around them become. The goal isn’t to stop AI acting. It is to make sure it acts within clear, tested and reversible boundaries.
At Codehyper, we help Australian businesses adopt AI safely, from readiness reviews and Microsoft 365 hardening to monitoring and ongoing support. Book a cyber health check or contact our team to talk through the controls your agents need.