AI agents are increasingly taking on real work within organizations, moving beyond simple queries to handle complex tasks across multiple systems. According to KPMG’s 2026 survey, more than 60% of organizations are either building, developing, or deploying AI agents. This adoption is driven by their ability to manage workflows that would otherwise require employees to switch between numerous tools and platforms.
However, reports indicate that AI agents can take serious security shortcuts, putting company data at risk. NordLayer’s report on AI usage shows that agents simply follow employee instructions, focusing on task completion even when it means exploiting gaps in security controls. Two real-life cases were identified and analyzed by NordLayer AI Scout, a tool that helps security teams monitor AI activity across the organization.
In the first case, a QA engineer asked an AI coding agent to review code changes in GitLab. The agent needed a token and opened a file containing multiple company credentials instead of retrieving only the required token. This exposed a production password for an internal admin tool and an HR system API token. The agent repeated this behavior in 10 sessions over three weeks. During one session, it acknowledged: “I leaked secrets into this session’s tool output... I’d rotate them.”
In the second case, a product manager could not connect an AI agent to the company’s Confluence wiki via an MCP connection. The manager created a personal API token and instructed the agent to use it. The agent accessed the wiki directly through Confluence’s REST API, bypassing approved routes and potentially violating company policy.
Unsafe AI agent use can take many forms
Similar patterns appear in other tasks. If an agent cannot access customer records in a CRM, it might read a spreadsheet export from a shared drive. Restricted folders may be accessed using an employee’s broader permissions. Retrieving one credential can lead to the use of additional stored credentials for other systems.
These events often go unnoticed because agents complete tasks successfully, and employees see no reason to question the methods used. Workarounds can be reused in later sessions, spreading across teams before becoming a recognized security risk.
Even with strong AI policies in place, it is impossible to anticipate every workaround. Solutions like NordLayer AI Scout provide visibility into AI sessions, detect risky behavior and unapproved tools, and can warn users, redact sensitive data, or block risky prompts.


