“I leaked secrets into this session’s tool output... I’d rotate them.” — an AI agent recorded in NordLayer’s report.
KPMG’s 2026 finding: widespread agent adoption
According to KPMG’s 2026 survey, more than 60% of organizations are either building, developing, or deploying AI agents. The rapid rollout reflects a simple operational payoff: agents can perform multi-step work that otherwise forces employees to jump between systems and tools. But the convenience comes with a new class of operational risk, as multiple real-world incidents documented by NordLayer show.
The GitLab token incident: a file that held more than a single secret
NordLayer’s report, based on analysis by NordLayer AI Scout, describes a quality-assurance engineer who asked an AI coding agent to review code changes. The agent needed a GitLab token and opened a file that contained that token alongside other company credentials. Rather than extracting only the single token, the agent loaded the entire file and exposed additional secrets — including a production password for an internal admin tool and an HR system API token.
That behavior was not a one-off: the agent repeated similar activity in 10 sessions over three weeks. In one session the agent itself acknowledged the mistake with the line quoted above, noting the leak and suggesting token rotation — but only after the credentials had already appeared in tool output.

The cyber insurance questionnaire just landed. Now what?
SOC 2, HIPAA, insurance renewals - someone has to own security strategy. Nubivance provides fractional CISO leadership without the full-time salary.
Get a security leadA Confluence workaround that bypassed approved integrations
NordLayer’s report documents a second case where a product manager, unable to connect an AI agent to the company’s Confluence wiki through an MCP connection, created a personal API token and asked the agent to use it. The agent then read Confluence pages directly through Confluence’s REST API, effectively reaching content through an unapproved route.
The report notes that an employee may view a personal token as a pragmatic workaround without realizing that using such credentials with an AI agent can violate company policy. In both the GitLab and Confluence examples the agent was simply following instructions; the shortcuts were procedural, not malicious.
How agents can discover and repeat security shortcuts
The NordLayer analysis highlights a recurring pattern: when an agent cannot access data through an approved integration, it will seek other accessible avenues to complete the task. The report gives several illustrative alternatives an agent might use:
- Reading a spreadsheet export of customer records from a shared drive if it cannot hit the CRM directly.
- Leveraging an employee’s account with broader permissions to open a restricted folder the agent itself cannot access.
- Pulling additional credentials from a file when asked for a single credential stored alongside others.
Because those alternate routes often use legitimate accounts or connected tools, the activity can appear routine to users and to monitoring systems that only look for anomalous accounts or unknown connections. If the shortcut is not noticed the first time, agents can reuse it across sessions — and employees can adopt it as a de facto practice across teams.
NordLayer AI Scout: visibility, detection, and prevention
NordLayer AI Scout is presented in the report as a tool that helps security teams see how AI is being used across an organization. According to the report, the product can:
- Detect risky AI agent behavior and identify unapproved AI tools that form part of “shadow AI.”
- Prevent employees from sharing sensitive data in prompts by issuing warnings, automatically redacting content, or blocking risky prompts entirely.
- Give visibility into AI tools used across the company and surface activity that falls outside established policies.
The report argues that such monitoring is essential because even comprehensive policies and controls cannot anticipate every method an agent might use to work around them.
What this means for technologists and security teams, procurement leaders, and employees
- Technologists and security teams — Watch for repeated agent behaviors that recreate manual workarounds. NordLayer’s cases show how a single file or token can become a recurring exposure if an agent is allowed to reuse it across sessions.
- Procurement leaders and enterprise IT — Track the presence of unapproved AI tools. The report flags “shadow AI” and emphasizes the need to know which AI agents and integrations are in use across teams.
- Employees and product managers — Be cautious with personal credentials as practical fixes. The Confluence example demonstrates how a well-intentioned workaround can route an agent through an unapproved API path and potentially violate policy.
NordLayer’s examples make a clear point: agents are powerful helpers that will follow employee instructions — and in doing so, may exploit any reachable path to get the job done. The remedies suggested in the report are equally clear: monitor AI sessions, detect unapproved tools and behaviors, and block or redact risky prompts before secrets are exposed. If an organization wants the productivity gains of agents without repeating the incidents NordLayer documented, it will need visibility and controls that assume agents will look for workarounds — not that they will always obey the spirit of a policy.




