AIWiki
Malaysia
Back to all articles
Ethics & Policysecurityprompt-injectionowasp

AI Agent Security

4 min readUpdated November 2026
AI Agent Security
Type
Security discipline (application security + identity + governance)
Chief threats
Injected instructions, tool misuse, privilege abuse, memory poisoning, supply-chain attacks, data exfiltration
Standards
OWASP Top 10 for Agentic Applications (ASI01–ASI10), OWASP LLM Top 10 2026, OWASP MCP Top 10, MITRE ATLAS, NIST AI 600-1
Emerged
2024–2026, as models moved from answering to acting
Related
Prompt Injection, AI Guardrails, AI Safety, Model Context Protocol
AI agent security is the set of practices used to defend AI systems that do things — read a mailbox, query a database, call APIs, spend money, write files — rather than only produce text. Because an agent's damage is bounded by the permissions it holds, the field sits at the intersection of application security, identity and access management, and AI governance.[1][3]

Background

Early LLM security focused on jailbreaks and harmful output. That changed as models were wrapped in tool loops: an instruction smuggled into content the agent reads (an email, a web page, a tool result) can redirect the whole system — a class of attack known as indirect prompt injection. Researchers and vendors responded with dedicated taxonomies: OWASP released its Top 10 for Agentic Applications in December 2025, listing agent goal hijacking (ASI01), tool misuse (ASI02), identity and privilege abuse (ASI03), agentic supply-chain vulnerabilities, unexpected code execution, memory and context poisoning, insecure inter-agent communication, cascading failures, human-agent trust exploitation and rogue agents.[1]

The companion OWASP Top 10 for LLM Applications 2026 re-weighted its list with incident data: prompt injection stayed at number one, but excessive agency jumped from sixth to third, and the narrow "system prompt leakage" category was retired in favour of broader hidden context exposure covering retrieved documents, memory and tool responses.[2] In September 2026 OWASP published an Agent Control Standard for runtime enforcement, and MCP-specific risks (tool poisoning, shadow servers, context injection) were catalogued separately.[1]

Key Concepts

  • Excessive agency — granting an agent more autonomy or reach than its task requires; harm is mediated by whatever permissions the compromised agent holds.[2]
  • Credential and privilege abuse — agents authenticate as service accounts; documented cases include a deployed agent inheriting broad default permissions that attackers reused to extract credentials and reach restricted resources.[3]
  • Memory and context poisoning — writing malicious instructions into an agent's long-term memory or retrieval index so the payload fires in later sessions.[1]
  • Supply chain — unvetted MCP servers, plugins, packages and tools that exfiltrate context on first call; conventional software CVEs in agent SDKs and harnesses are patched like any dependency.[3]
  • Insecure inter-agent communication and cascading failures — one agent's output becomes another's trusted instruction, letting a single injected message propagate through a multi-agent system.[1]
  • Common controls — scoped, short-lived tokens; allow-listed tools and outbound destinations; approval gates for irreversible actions; sandboxed code and browser execution; per-agent identity that can be disabled quickly; detection at the tool-call layer; audit logging.[1][2]

Applications and Impact

Security teams increasingly inventory agents the way they inventory servers: prompts report that large organisations cannot answer "which agents exist and what can they reach?" without a machine-readable agent bill of materials. Reported exploit round-ups from 2026 document indirect prompt injection used for enterprise data leakage, an internal AI agent leaking data, and privilege escalation through over-permissioned agent platforms — most resulting not from model flaws but from permissions and design.[3] MITRE ATLAS is the commonly used matrix for adversarial techniques against AI systems, and prompt injection is now mapped across six of the ten agentic risk categories, functioning as the near-universal delivery mechanism.[2]

>See Also

🇲🇾Malaysian Context

🇲🇾 Relevance to Malaysia: agentic deployments in Malaysian banks, telcos, government agencies and contact centres inherit these risks directly. Bank Negara Malaysia's risk-management expectations for AI in financial services, the Personal Data Protection Act's limits on disclosure, and the Malaysian AI Governance Framework's accountability requirements all push organisations toward agent inventories, scoped permissions and audit trails.[4] The National Cyber Security Agency (NACSA), CyberSecurity Malaysia and MDEC have flagged prompt injection as an emerging vector for systems handling citizen data, while agencies under the Ministry of Digital have been advised to treat retrieved documents and external links as untrusted input. For local developers, the practical implication is cheap to state and hard to skip: before shipping an agent, decide what it may touch, require approval for what it may not undo, and keep an off switch for its identity.[4]

References

  1. ↑OWASP Gen AI Security Project. Top 10 for Agentic Applications (ASI01–ASI10) and Agent Control Standard. https://genai.owasp.org/
  2. ↑Cloud Security Alliance. (2026). OWASP's 2026 LLM Top 10 and New Agent Control Standard. https://labs.cloudsecurityalliance.org/research/csa-research-note-owasp-genai-top10-2026-agent-control-stand/
  3. ↑QueryNow. (2026). Security Threats to AI Agents: OWASP, Incidents, Controls; OWASP GenAI Exploit Round-up Report Q1 2026. https://www.querynow.com/ai-agents/security
  4. ↑MDEC. (2024). Malaysia AI Governance Framework; National Cyber Security Agency guidance on AI system risks. https://www.mdec.my/