TL;DR: AI-related vulnerabilities are now showing up across prompts, data, supply chains, code generation, and agent permissions, with Cycode citing a 56.4% rise in publicly reported AI security incidents from 2023 to 2024 and 81% of organisations lacking visibility into AI use. The governance gap is no longer theoretical: enterprises need controls for identity, output handling, provenance, and delegated access before AI systems become routine attack paths.
At a glance
What this is: This is an analysis of the main AI security failure modes in 2026, with a central finding that enterprise visibility and control boundaries are lagging behind AI adoption.
Why it matters: It matters because AI systems are becoming part of identity, access, and data workflows, which means IAM, PAM, and governance teams need to treat AI interactions as controlled security surfaces, not just productivity features.
By the numbers:
- Cycode says almost every organisation now confirms AI-generated code in its codebases, while 81% still lack visibility into how AI is actually used.
- According to Stanford's HAI AI Index Report, publicly reported AI security incidents increased by 56.4% from 2023 to 2024.
- Cycode highlights that 76% of organisations consider shadow AI a definite or probable challenge.
👉 Read Cycode's analysis of the top AI security vulnerabilities for 2026
Context
AI security vulnerabilities are now a governance problem as much as a technical one. The article describes a broad set of failure modes, from prompt injection and sensitive data exposure to AI supply chain compromise, excessive agency, shadow AI, and model theft. In identity terms, these risks show up wherever AI systems receive credentials, touch enterprise data, or act with delegated permissions.
The practical issue is that conventional controls were built for software and human users, not for AI systems that can ingest untrusted input, call tools, and generate downstream actions. That creates a boundary problem for IAM, PAM, and access governance, especially when AI agents are granted access to email, code repositories, CRM systems, or production workflows.
Cycode frames the topic as a 2026 security risk list, but the underlying pattern is more durable: enterprises are adding AI faster than they are defining trust, identity, and approval boundaries. That is now typical across organisations adopting AI at scale, not an edge case.
Key questions
Q: How should security teams govern AI agents that can access enterprise systems?
A: Security teams should govern AI agents as non-human identities with explicit ownership, scoped privileges, and continuous monitoring. The control set should include inventory, task-bound credentials, audit trails, and revocation paths. If an agent can call tools or touch production systems, it belongs in the same governance model as service accounts and other machine identities.
Q: Why do AI assistants create new access risks for IAM and PAM programmes?
A: AI assistants can combine multiple permissions into one response, which means a user may see sensitive context without directly opening the source asset. That creates an oversharing problem that classic IAM cannot detect on its own. IAM and PAM teams need controls that limit disclosure, not just authentication and privileged entry.
Q: What breaks when AI coding tools are trusted without strong verification?
A: What breaks first is consistency. Without strong verification, teams inherit hidden defects, uneven quality, and release decisions based on confidence rather than evidence. Over time, that creates verification debt, where more code is generated faster than the organisation can responsibly assess and approve it.
Q: Who is accountable when shadow AI uses corporate credentials to process sensitive data?
A: Accountability sits with the identity owners, the platform owners, and the governance function that approved the underlying access. If a service account or OAuth app can reach regulated data and an AI feature uses that path, the organisation is responsible for the resulting exposure and audit trail.
Technical breakdown
Prompt injection turns untrusted text into control input
Prompt injection works because many AI systems still treat system instructions, user prompts, retrieved content, and tool outputs as part of one conversational stream. An attacker can place malicious instructions in documents, emails, web pages, or pull requests, then let the model ingest them indirectly. When the model also has tool access, the injection can move from text manipulation to real action. The central technical problem is not just content filtering, but instruction hierarchy and boundary enforcement across model context, retrieval, and execution layers.
Practical implication: isolate system prompts, restrict tool scope, and validate retrieval inputs before they can influence model behaviour.
Excessive agency creates delegated privilege without equivalent governance
Excessive agency appears when an AI system is given permissions that exceed the task it needs to complete. In practice, this means a model or agent may hold read-write access to databases, messaging systems, or finance tools without the same lifecycle controls applied to human users or service accounts. That is an identity problem as much as an AI problem, because the agent becomes a standing principal with delegated authority. If the agent is compromised or behaves unexpectedly, the blast radius follows its entitlements, not its intent.
Practical implication: scope every agent to the minimum tool set, data set, and approval path needed for the specific task.
AI supply chains extend trust into models, MCP servers, and plugins
The AI supply chain includes model artefacts, datasets, retrievers, plugins, and protocol-connected services such as MCP servers. Each component can be poisoned, replaced, or granted unsafe access if provenance is weak. This matters because an AI integration can look like a feature update while actually introducing arbitrary code execution, data exposure, or policy bypass. The architectural risk is that trust is often inherited from the surrounding CI/CD or SaaS integration chain rather than proven for the AI component itself. That breaks the assumption that internal integration equals safe integration.
Practical implication: inventory every AI dependency, verify provenance, and apply integrity checks before promoting components into production.
Threat narrative
Attacker objective: The attacker aims to turn trusted AI assistance into an execution path for data theft, workflow manipulation, or unauthorised system action.
- Entry begins when attackers place malicious instructions in content that an AI system later ingests, such as documents, email, web pages, or repository text.
- Escalation occurs when the model follows those hidden directives and uses connected tools, credentials, or integrations beyond the intended context.
- Impact follows when the AI system leaks data, performs unauthorised actions, or propagates poisoned outputs into downstream workflows.
Breaches seen in the wild
- Shai Hulud npm malware campaign — Shai Hulud campaign: npm malware exposed secrets on GitHub.
- Reviewdog GitHub Action supply chain attack — reviewdog/action-setup GitHub Action supply chain attack exposed secrets.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
AI security is becoming an identity governance problem before it is a model-risk problem. The article repeatedly shows that the most serious failures occur when AI systems inherit access to data, tools, and workflows without lifecycle controls. That puts AI agents, copilots, and embedded assistants into the same governance conversation as service accounts and other non-human identities. Practitioners should treat delegated AI access as a principal that must be explicitly scoped, reviewed, and retired.
Excessive agency is the clearest named failure mode in this article. The governance assumption that breaks is simple: permissions granted for productivity stay safe because the system is only assisting. In reality, once a model can act across applications, it behaves like a high-risk identity with broad lateral reach. That makes PAM-style control, task scoping, and approval boundaries essential for any AI workflow that can write, send, or execute.
Shadow AI creates an identity blind spot that security programmes cannot absorb through policy alone. The article’s point about unapproved tools, personal accounts, and unsanctioned integrations shows that discovery is now a prerequisite for governance. AI use that sits outside inventory cannot be reviewed, constrained, or attributed. Practitioners should expect hidden AI to behave like unmanaged NHI sprawl, with the same lifecycle and accountability failures.
AI supply chain assurance now needs to cover provenance, not just vulnerability scanning. The article’s discussion of models, plugins, MCP servers, and datasets points to a trust chain that can fail without any obvious exploit in the core application. That means governance has to extend to what the AI can call, what it can retrieve, and which artefacts are considered trusted. The practical conclusion is that AI security control design must include identity, integrity, and delegation boundaries together.
From our research:
- The average organisation believes more than 1 in 5 of their non-human identities are insufficiently secured, according to The 2024 ESG Report: Managing Non-Human Identities.
- 72% of organisations have experienced or suspect they have experienced a breach of non-human identities, with 46% confirming incidents and 26% suspecting them.
- NHI Lifecycle Management Guide shows how provisioning, rotation, and offboarding controls reduce the unmanaged identity gap that AI systems often inherit.
What this signals
AI security programmes are moving toward identity-style governance because the highest-risk failures now involve delegated access, not just model behaviour. The operational question is whether teams can inventory every AI principal, bind it to ownership, and constrain tool use before those systems become persistent exceptions.
Delegated AI sprawl: when copilots, plugins, and agents accumulate access faster than lifecycle controls, the result is an unmanaged identity layer inside the enterprise. That pushes discovery, approval, and offboarding into the same control loop as access governance.
For identity teams, the next planning priority is to align AI access reviews with non-human identity review cycles, because one-off approvals will not keep pace with tool expansion. The governance model needs to include logging, entitlement scoping, and retirement criteria from the start.
For practitioners
- Inventory AI principals and delegated access Build a register of copilots, agents, plugins, and embedded assistants, then map each one to the data, APIs, and tools it can touch. Treat every AI principal like a governed identity with an owner, an approval path, and a review cadence. Use the NHI Lifecycle Management Guide to align onboarding, rotation, and offboarding controls.
- Separate instruction data from execution paths Enforce architectural boundaries between prompts, retrieved content, and action-bearing outputs. Validate inputs before they reach the model, and validate outputs before they reach downstream systems. This is especially important when the AI can submit tickets, send mail, or modify records.
- Limit tool access for every AI workflow Apply least privilege to AI systems, just as you would for service accounts or privileged users. Remove write access unless a task truly requires it, and require human approval for high-impact actions such as production changes, payments, or external communications.
- Treat shadow AI as an inventory problem first Use discovery across SaaS, IDE, and browser environments to identify unmanaged AI usage. Once discovered, classify each tool as approved, restricted, or prohibited, and tie that classification to data handling rules and access restrictions.
- Test AI systems for leakage and behavioural drift Red-team AI workflows for prompt injection, memorisation, and multi-turn manipulation. Monitor prompts, outputs, and tool calls for anomalies that indicate a model is being nudged into unsafe decisions over time.
Key takeaways
- AI security vulnerabilities are now a governance issue because models, copilots, and agents can inherit meaningful access to enterprise systems.
- The article’s most important evidence is that visibility is lagging adoption, leaving AI use, tool calls, and delegated permissions outside normal control paths.
- Practitioners should govern AI systems like non-human identities, with inventory, least privilege, lifecycle review, and verification before execution.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST AI RMF, NIST AI 600-1 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | The article centers on AI agent failure modes, including prompt injection and excessive agency. | |
| NIST AI RMF | GOVERN | AI governance and accountability are central themes throughout the article. |
| NIST AI 600-1 | The article covers generative AI risks, especially leakage, poisoning, and misuse. | |
| NIST CSF 2.0 | PR.AC-4 | Least privilege and access governance are recurring controls in the article. |
| MITRE ATT&CK | TA0006 , Credential Access; TA0008 , Lateral Movement | The article describes chained attack paths through AI tools and delegated access. |
Assign ownership for AI systems and define review, approval, and escalation rules for delegated actions.
Key terms
- Prompt Injection (Agentic): An attack where malicious instructions are embedded in content that an AI agent reads — causing the agent to execute unintended actions using its own legitimate credentials. A primary vector for agent goal hijacking and identity abuse.
- Excessive agency: A condition where an AI system is given more operational authority than its task requires. The risk is not just poor output. It is that mistakes, manipulation, or compromise can produce destructive actions at machine speed across the systems the agent can reach.
- Shadow AI: AI agents, copilots, or connected tools operating without full visibility or governance from security teams. Shadow AI becomes an identity problem when those systems authenticate with unmanaged tokens, service accounts, or OAuth apps that can reach production resources.
- AI supply chain: The AI supply chain is the full chain of models, datasets, prompts, tools, and vendors that influence a deployed AI system. It matters because trust cannot be assigned to the application alone. Practitioners need provenance, ownership, and dependency visibility to govern risk.
What's in the full article
Cycode's full analysis covers the operational detail this post intentionally leaves for the source:
- Step-by-step guidance on reducing prompt injection and output-handling risk across AI workflows
- The article's breakdown of each vulnerability category, including supply chain, poisoning, shadow AI, and model theft
- Cycode's operational examples for limiting tools, logging AI activity, and testing for behavioural drift
- The source's practical remediation patterns for teams implementing AI governance in production
Deepen your knowledge
NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It is designed for practitioners who need to bring delegated access under control across identity and security programmes.
Published by the NHIMG editorial team on August 19, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org