AI threat catalogue Agentic and Autonomous AI Production
Shadow and Orphaned Agents and MCP Servers without Inventory and Owners
AI agents or MCP servers run outside inventory, approval and monitoring because they were introduced without coordination or never switched off after a project. They keep their access rights with no one responsible for them.
Description
Business units and developers often set up agents and MCP servers (Model Context Protocol, a standard through which AI assistants connect to tools and data sources) themselves, with a few clicks and their own credentials. This creates shadow agents that no central function knows about. Others keep running or remain reachable after pilot projects, staff changes or migrations, together with their permissions, tokens and registered domains: orphaned agents. What they all have in common is that nobody inventories, monitors or owns them. If, by contrast, a known agent acts against its mandate, that is misalignment or goal hijacking. Employees using unapproved AI services is a separate threat.
Possible impact
Unknown agents are an open door: their credentials are not rotated, their vulnerabilities are not fixed, and attackers can take over orphaned endpoints or lapsed domains. Data flows to places that appear in no record of processing activities. In an incident the damage cannot be contained because it is unclear which agents hold which rights; obligations under the GDPR and the AI Act cannot be demonstrated.
Example
A sales team sets up an agent for a campaign that enriches leads from the CRM and drafts emails. After the campaign the team is disbanded, but the agent keeps running with its non-expiring CRM token. Months later an attacker exploits a known vulnerability in the never-updated agent platform and reads customer data through the agent.
- Main lifecycle phase
- Operation and monitoring
- Arises in
- Planning and design, Operation and monitoring, Retirement
- Takes effect in
- Operation and monitoring
Recommended mitigations (7)
Compare effects and implementation levels. Expand each entry for the additional classification and rationale.
-
Central inventory of all agents and MCP servers with owner, purpose, permissions and planned end date
Governance & compliance- Effect
- Preventive
- Implementation level
- Organization, Application, API & agents
Classification and rationale
Complementary control typeOrganizational & process-based
Primarily a governance and compliance control: Binding rules, control objectives, or oversight define permitted use and accountability; complemented by binding workflows.
Meaning, implementation and evidence
- What it means
- A central register records every agent and MCP server with owner, purpose, connected tools and data, granted permissions, credentials and planned end date.
- Effect on the threat
- Anything in the inventory has an owner and an end date, so agents neither appear unnoticed nor keep running with permissions after a project ends.
- When it helps
- Useful where business units or developers can set up agents and MCP servers themselves or where agents from pilot projects keep running.
- Suggested implementation
- Define mandatory fields for owner, purpose, permissions, credentials and end date.
- Make the inventory a prerequisite for granting permissions and network access.
- Update entries on changes and before the end date.
- Useful evidence examples
- Inventory excerpt, field schema, link to permission provisioning or update record.
-
Approval process before new agents and MCP servers go live, including those built within business units
Organizational & process-based- Effect
- Preventive
- Implementation level
- Organization, Supply chain
Classification and rationale
Complementary control typeGovernance & compliance
Primarily organizational and process-based: A binding workflow requires an accountable human decision before use or execution; complemented by rules and oversight.
Meaning, implementation and evidence
- What it means
- New agents and MCP servers, including those built by business units or obtained from public sources, may only go live after a review of purpose, origin, permissions and security. A simple, fast route reduces the incentive to bypass it.
- Effect on the threat
- Approval prevents shadow agents with unvetted permissions or components and ensures an inventory entry.
- When it helps
- Useful where business units or developers can set up agents and MCP servers themselves or where agents from pilot projects keep running.
- Suggested implementation
- Define a lightweight request route with review criteria and deadlines.
- Check origin and integrity of MCP servers obtained externally.
- Tie permission provisioning and network access technically to approval.
- Inform business units about the route and its reasons.
- Useful evidence examples
- Approval policy, approval records, review checklist or communication record.
-
Controlled decommissioning: revoke permissions and tokens, deregister endpoints, keep domains or release them in a controlled way
Organizational & process-based- Effect
- Preventive
- Implementation level
- Infrastructure, Organization
Classification and rationale
Complementary control typeTechnical
Primarily organizational and process-based: Defined selection, operating, or lifecycle procedures make the control binding and repeatable; complemented by technical implementation.
Meaning, implementation and evidence
- What it means
- A defined procedure fully shuts down agents and MCP servers: credentials and tokens are revoked, permissions removed, endpoints and registrations deregistered, and domains in use are retained or released only after review.
- Effect on the threat
- Orphaned access and released domains are a typical entry point for misuse, and complete decommissioning closes these gaps.
- When it helps
- Useful where business units or developers can set up agents and MCP servers themselves or where agents from pilot projects keep running.
- Suggested implementation
- Create a decommissioning checklist covering all access, endpoints and domains.
- Tie decommissioning to project end and the inventory end date.
- Verify revocation and deregistration technically and record them in the inventory.
- Useful evidence examples
- Decommissioning checklist, revocation log, inventory note or domain list.
-
Credentials with an expiry date that lapse unless the owner actively renews them
Technical- Effect
- Preventive, Impact-limiting
- Implementation level
- Infrastructure, Application, API & agents
Classification and rationale
Complementary control typeOrganizational & process-based
Primarily technical: Machine-enforced identity, permission, or scope rules constrain unauthorized access and actions; complemented by binding workflows.
Meaning, implementation and evidence
- What it means
- Tokens, keys and service accounts of agents and MCP servers are issued with short validity and renewed only when the owner actively confirms it.
- Effect on the threat
- A forgotten or orphaned agent loses its permissions automatically instead of keeping them indefinitely.
- When it helps
- Useful where business units or developers can set up agents and MCP servers themselves or where agents from pilot projects keep running.
- Suggested implementation
- Set a maximum validity per type of credential.
- Tie renewal to the owner's confirmation in the inventory.
- Technically prevent credentials without an expiry date.
- Useful evidence examples
- Validity configuration, renewal log, credential analysis or policy.
-
Regular search for uninventoried agents, MCP servers and agent accounts across network, cloud and identity management
Technical- Effect
- Detective
- Implementation level
- Infrastructure, Organization
Classification and rationale
Complementary control typeOrganizational & process-based
Primarily technical: Software or analytical tools systematically produce and evaluate measurements, deviations, or attack indicators; complemented by binding workflows.
Meaning, implementation and evidence
- What it means
- Network, cloud accounts, identity management and spending on AI services are searched at fixed intervals for agents, MCP endpoints and service accounts and compared with the inventory.
- Effect on the threat
- Shadow agents and orphaned MCP servers are found that bypassed the approval process or were forgotten after a project ended.
- When it helps
- Useful where business units or developers can set up agents and MCP servers themselves or where agents from pilot projects keep running.
- Suggested implementation
- Define search sources such as network traffic, cloud resources, service accounts and billing.
- Run the comparison with the inventory automatically.
- Assign findings to an owner or shut them down.
- Useful evidence examples
- Search report, comparison result, findings list with status or detection configuration.
-
Regular recertification of every agent by its owner
Organizational & process-based- Effect
- Detective, Corrective
- Implementation level
- Organization
Classification and rationale
Complementary control typeGovernance & compliance
Primarily organizational and process-based: A planned, repeatable assessment with ownership and documented follow-up creates the protective effect; complemented by rules and oversight.
Meaning, implementation and evidence
- What it means
- At fixed intervals, the owner confirms that the agent is still needed, its purpose is unchanged and its permissions are appropriate. Without confirmation, the agent is restricted or decommissioned.
- Effect on the threat
- Recertification uncovers agents whose owners have changed or whose purpose has lapsed before they keep running orphaned with permissions.
- When it helps
- Useful where business units or developers can set up agents and MCP servers themselves or where agents from pilot projects keep running.
- Suggested implementation
- Set the recertification interval by criticality.
- Automate reminders and confirmation in the inventory.
- Define and enforce the consequences of missing confirmation.
- Useful evidence examples
- Recertification log, interval rule, list of restricted agents or inventory note.
-
Kill switch that immediately stops individual agents and revokes their permissions
Technical- Effect
- Impact-limiting
- Implementation level
- Application, API & agents, Infrastructure, Use & operations
Classification and rationale
Complementary control typeOrganizational & process-based
Primarily technical: Architectural and runtime boundaries separate data, execution, or tenants and limit the spread of failures; complemented by binding workflows.
Meaning, implementation and evidence
- What it means
- A centrally triggered mechanism immediately stops a single agent or MCP server, revokes its credentials and blocks its network connections without halting other systems.
- Effect on the threat
- When a rogue or compromised agent is discovered, its activity can be ended immediately before it uses further permissions.
- When it helps
- Useful where business units or developers can set up agents and MCP servers themselves or where agents from pilot projects keep running.
- Suggested implementation
- Implement a per-agent kill switch via identity management, gateway and runtime.
- Regulate triggering authority and round-the-clock availability.
- Test the kill switch regularly on test agents.
- Useful evidence examples
- Kill switch runbook, test log, trigger log or authority rule.
Framework mappings
Verified locations in OWASP, NIST AI RMF, MITRE ATLAS, the EU AI Act and further frameworks. The mappings are taxonomic, not evidence of compliance.
Verified references (10)
Every reference states the framework, the exact location and the publishing organisation.
- NIST AI RMF GOVERN 1.6 Mechanisms are in place to inventory AI systems and are resourced according to organizational risk priorities.GOVERN 1.6, p. 23National Institute of Standards and Technology (NIST)Original
- NIST AI RMF GOVERN 1.7 Processes and procedures are in place for decommissioning and phasing out AI systems safely and in a manner that does not increase risks or decrease the organization's trustworthiness.GOVERN 1.7, p. 23National Institute of Standards and Technology (NIST)Original
- EU AI Act Article 26(5) Obligations of deployers of high-risk AI systemsArticle 26(5)European Union (EUR-Lex)Original
- GDPR Article 30(1) Records of processing activitiesArticle 30(1) (OJ L 119, 04.05.2016)European Union (EUR-Lex)Original
- GDPR Article 32(1)(b) Security of processingArticle 32(1)(b), read with Article 32(1) and 32(2)European Union (EUR-Lex)Original
- CoSAI Shadow and Unknown Agents Shadow and Unknown AgentsRisk Map, risk entryCoalition for Secure AI (CoSAI, OASIS Open Project)Original
- CoSAI Zombie / Shadow MCP Servers Zombie / Shadow MCP ServersRisk Map, risk entryCoalition for Secure AI (CoSAI, OASIS Open Project)Original
- MIT AI Risk Repository 6.5 Governance failureDomain Taxonomy, subdomain 6.5MIT FutureTech (MIT AI Risk Initiative)Original
- ETSI EN 304 223 5.2.1 (Principle 5) Identify, track and protect the assetsClause 5.2.1, p. 12European Telecommunications Standards Institute (ETSI), TC SAIOriginal
- DORA / BaFin Article 8 IdentificationArticle 8, Regulation (EU) 2022/2554European Union (EUR-Lex)Original
Related threats (6)
How the catalogue relates this threat to others, with the reason.
-
Specialization of
Shadow AI (Unsanctioned AI Service Use)
Shadow agents and orphaned MCP servers are shadow AI with their own permissions and ability to act.
-
Enables
Abuse of Agent Identities and Machine Credentials
Agents never decommissioned keep valid credentials without an accountable owner.
-
Overlaps with
Insecure Decommissioning and Transfer of Models and Data
Both concern AI components that are not decommissioned in an orderly way once their use ends.
-
Overlaps with
Unclear Responsibilities for AI Systems across the Lifecycle
Agents without an owner are a case of unclear responsibility across the lifecycle.
-
See also
Misalignment, Deception and Evasion of Oversight
If an inventoried agent acts against its mandate, that is misalignment; agents outside the inventory make such behaviour invisible.
-
See also
Lack of Traceability and Accountability for Agent Actions
Agents outside the inventory necessarily act without attributable logging.
EU AI Act obligations related to this threat
The obligations from the obligations compass whose articles the catalogue maps to this threat. Each leads to its entry with core, action step and evidence; whether it applies to you depends on role and risk class.
-
Monitor operation and suspend on risk
Art. 26(5), applies from Annex III: 2 December 2027; Annex I: 2 August 2028
Statutory roles: Deployer. Classes: High-risk under Annex III, High-risk as a product or safety component.
This reference is a review prompt. A threat match alone does not establish applicability.
All 62 obligations by role, risk class and deadline in the obligations compass
Terms on this page
Glossary terms that occur in this entry. Every link leads to the full explanation.
- Agentic system (agentic AI) A system that uses a language model to carry out multi-step tasks on its own.
- MCP (Model Context Protocol) Open standard through which applications connect tools and data sources.
- Shadow AI AI tools used without the organisation knowing or approving.
- Agent goal hijack An agent pursues someone else’s goal instead of its task.
Matching use cases
This list shows where to review this threat, rather than how high the risk is.
Typical for:
For 5 further use cases, relevance depends on the system design, for example whether it is connected through the Model Context Protocol (MCP) or determines its own work steps. Show these use cases
Frequently asked questions
- What is Shadow and Orphaned Agents and MCP Servers without Inventory and Owners?
- AI agents or MCP servers run outside inventory, approval and monitoring because they were introduced without coordination or never switched off after a project. They keep their access rights with no one responsible for them.
- Which mitigations help against Shadow and Orphaned Agents and MCP Servers without Inventory and Owners?
- The catalogue lists 7 mitigations, each with control type, effect and implementation level. First among them are “Central inventory of all agents and MCP servers with owner, purpose, permissions and planned end date”; “Approval process before new agents and MCP servers go live, including those built within business units”; and “Controlled decommissioning: revoke permissions and tokens, deregister endpoints, keep domains or release them in a controlled way”.
- Which EU AI Act obligations does Shadow and Orphaned Agents and MCP Servers without Inventory and Owners touch?
- The catalogue maps this threat to Art. 26(5) of the EU AI Act. In the obligations compass this leads to: Monitor operation and suspend on risk. Whether an obligation applies depends on role, risk class and deadline.
Assess this threat in your own system
The live demo contains all 79 threats of this catalogue, including the EU AI Act and GDPR assessment. The free single modules cover AI risk, the EU AI Act and GDPR. No sign-up; the assessment runs locally in your browser.
Cite this entry
For reports, policies or internal documents; the link leads directly to this entry.
“Shadow and Orphaned Agents and MCP Servers without Inventory and Owners”. Versatile AI Risk Assessment, AI threat catalogue, as of November 2026. https://www.versatile-ai-risk-assessment.com/en/wissensbasis/threats/shadow-agents-and-mcp-servers/