//Question
What Are the Security Risks of Employee-Built AI Agents?
Posted on 25th November, 2026

Harry
//Answer
Employee-built AI agents, created in low-code tools such as Microsoft Copilot Studio, Salesforce Agentforce and n8n, carry six main risks: oversharing, inherited maker credentials, data exfiltration through prompt injection, unvetted tools and MCP connections, missing instructions, and dormant or ownerless agents. Reduce them with inventory, tiered governance, continuous testing and runtime protection.
Main security risks
Oversharing and no sign-in: broad or anonymous access to the agent and its data.
Inherited maker credentials: every user acts with the creator's access.
Prompt-injection exfiltration: a hidden instruction makes the agent send data out.
Unvetted tools and MCP servers: undocumented paths into internal systems.
Missing instructions: the agent drifts or follows hostile prompts.
Dormant, shadow and orphaned agents: stale access with no owner.
Risk and mitigation matrix
Risk | Mitigation | Detection signal (Copilot Studio) |
|---|---|---|
Oversharing, no sign-in | Require authentication, set sharing limits per environment, share to role-based groups | Organization-shared and unauthenticated agents |
Maker credentials, hard-coded secrets | Use end-user authentication, restrict maker credentials, keep secrets in a vault | Author-authenticated agents, hard-coded credentials |
Prompt-injection exfiltration | Avoid AI-controlled recipients and endpoints, limit email and HTTP actions, require approval for risky actions | Email to external or AI-controlled recipients |
Unvetted tools and MCP | Onboard MCP servers as approved connectors, enforce data policies per environment | Agents with MCP tools configured |
Missing instructions | Write clear instructions, add runtime protection, test for injection | Generative agents without instructions |
Dormant, shadow, orphaned | Review inventory, assign owners, quarantine ownerless agents before reassigning or deleting | Dormant agents, disabled owners |
Low-code platform examples
Platform | Example risk | Controls |
|---|---|---|
Microsoft Copilot Studio | Maker authentication lets every user inherit the creator's permissions | Sharing limits, enforced authentication, restricted maker credentials, Defender hunting queries |
Salesforce Agentforce | ForcedLeak (disclosed September 2025, CVSS 9.4): a Web-to-Lead form carried hidden instructions that exfiltrated CRM data | Trusted URL enforcement, lead data audits, input validation |
n8n | Critical 2026 flaws such as CVE-2026-25049 let anyone who can edit workflows run code on the server and reach stored API keys and OAuth tokens | Patch quickly, limit workflow editors, harden hosting, rotate stored credentials |
Enterprise governance framework
Step | What to do |
|---|---|
1. Inventory | Discover every agent continuously, including unregistered ones |
2. Assign owners | Name an owner or sponsor and a successor for each agent |
3. Tier by risk | Rate data sensitivity, audience, authority to act, credential type and connections |
4. Apply controls | Low: self-attestation. Medium: owner approval and testing. High: security review and human approval |
5. Review and retire | Re-certify owners on a schedule; quarantine dormant or ownerless agents |
Continuous security testing
A passing result expires when the prompt, model, tools or permissions change. Test before release and after each change, schedule broader scans, and rescan fixes. Cover prompt injection, tool misuse and data leakage, and run platform posture queries for unauthenticated or maker-authenticated agents. In Akto, scans can run daily, weekly or at custom intervals, in bulk across agent groups, and individual fixes can be rescanned.
Runtime protection
Testing cannot catch everything, so evaluate prompts and tool calls before they execute. Copilot Studio supports Microsoft Defender runtime protection and external threat detection that allows or blocks each tool call, for agents using generative orchestration. Route high-risk actions to human approval.
Where Akto fits
Akto's agentic security platform discovers employee-built agents through connectors for Copilot Studio and Agentforce, n8n workflow traffic and other builders, and scores risk from issue severity, recent discovery, sensitive data exposure and public accessibility. Akto can red team published Copilot Studio agents through a Microsoft Entra app and delegated sign-in. Runtime enforcement depends on the connector: Copilot Studio async mode detects only, block mode checks requests inline, and Agentforce guardrails run asynchronously with blocking configurable. Human Approval applies where Akto sits in the request path. Identity for AI Agents is in early access.
Answers