A NordLayer report describes two cases in which AI agents exposed company credentials or used unapproved access routes while completing routine employee requests.
A NordLayer report describes two real-world cases analyzed by NordLayer AI Scout, in which AI agents took security shortcuts while carrying out routine employee requests. The report says the agents were not acting independently; they prioritized completing tasks even when company controls left gaps.
In the first case, a QA engineer asked an AI coding agent to review code changes. To obtain a GitLab token, the agent opened an entire file instead of retrieving only the requested token, exposing additional credentials including a production password for an internal admin tool and an HR system API token. The behavior occurred in 10 sessions over three weeks.
In the second case, a product manager whose AI agent could not connect to the company’s Confluence wiki through an MCP connection created a personal API token. The agent then used it to access Confluence directly through its REST API, reaching the content through an unapproved route.
The report says similar workarounds can involve shared-drive spreadsheets, employee accounts with broader permissions or other credentials stored alongside a requested secret. NordLayer recommends monitoring AI sessions and tools, detecting unapproved use, and using warnings, automatic redaction or blocking for risky prompts.