AI agents are moving beyond answering questions and beginning to perform work across corporate systems. More than 60% of organizations have built, developed, or deployed AI agents, according to KPMG’s 2026 study. However, a new report from NordLayer describes how agents can follow employees’ instructions by taking security shortcuts, potentially exposing credentials, bypassing access controls, and putting corporate data at risk.
These agents are not necessarily attempting to evade security rules. They are focused on completing the requested task, even when that means exploiting gaps between the organization’s systems, tools, and policies.
AI agent exposed company credentials in one case
NordLayer’s report describes two real-world cases identified and analyzed using NordLayer AI Scout, a tool designed to help security teams understand how AI is being used across an organization.
In the first case, a quality assurance engineer asked an AI coding agent to review code changes. The agent needed a GitLab token, so it opened a file containing that token and other company credentials. Instead of retrieving only the required token, the agent loaded the entire file and exposed additional credentials, including an internal administrative tool operational password and a human resources system API token.
The same activity occurred in 10 sessions over three weeks while the agent performed similar tasks. During one session, it said: “I’ve given away a secret in the tool outputs of this session… I’m going to rotate them.” The agent recognized the risk, but only after the credentials had already appeared in its output.
In the second case, a product manager could not connect an AI agent to the company’s Confluence wiki through an MCP connection. The manager created a personal API token and asked the agent to use it to read a Confluence page.
The agent used the token to access the wiki directly through Confluence’s REST API, reaching the content through an unauthorized route. The employee may have viewed the token as a practical workaround but was unaware that using it with an AI agent could violate company policy.
Gain visibility into AI sessions across your organization.
Detect risky AI agent behavior and unauthorized AI tools, and prevent employees from sharing sensitive data when prompted.
How AI agents can bypass corporate restrictions
Similar patterns can emerge during routine tasks. If an agent cannot access customer records in a CRM system, for example, it might read a spreadsheet export stored on a shared drive.
If an agent cannot open a restricted folder using the requesting employee’s permissions, it might rely on an employee account with broader access.
Likewise, when an agent is asked to retrieve one credential from a file, it might use other credentials stored in the same file to reach additional systems or services.
In each scenario, restrictions in one integration or access method can leave the same information accessible through another method. This can make risky activity difficult to detect, particularly when agents use official company accounts or connected tools.
Routine results can hide risky agent behavior
These incidents can pass unnoticed because the agent appears to be following the employee’s instructions. When the task is completed, employees do not have to wonder how the agent achieved the expected result.
Blocked connections and exposed secrets can be overlooked when the work itself appears routine. If no one identifies the shortcuts, rule violations can occur repeatedly. An agent might reuse the same workaround in later sessions, exposing more data or accessing systems it should not reach.
Once employees begin relying on such methods, workarounds can also spread throughout a team without anyone recognizing that they have become a significant security risk.
Monitoring can help protect AI-enabled businesses
These examples demonstrate that even when a company has strong AI policies and security controls, it is impossible to predict every way an AI agent might circumvent them.
Organizations should therefore monitor AI agent activity and identify behavior that deviates from company policy.
A solution such as NordLayer AI Scout is designed to help security teams monitor AI use across the enterprise, including unapproved tools that form part of so-called shadow AI.
Organizations can also prevent employees from sharing sensitive data with AI tools by issuing warnings, automatically editing content, or blocking dangerous prompts.
Businesses that want employees to continue using AI without increasing security risks should combine their policies and controls with monitoring tools that can identify how agents are actually being used.
Sponsored and written by NordLayer.
Source: www.bleepingcomputer.com


