Cybersecurity

AI agents prioritize task completion over data safety

KPMG reports that over 60% of organizations deploy AI agents that may bypass security controls to finish tasks. NordLayer AI Scout findings show agents exposing sensitive credentials and using personal API tokens to access restricted systems through unapproved routes.

Published
Section
Cybersecurity
Reading time
2 minutes
AI agents prioritize task completion over data safety

Agents prioritize task completion over data safety

KPMG reports that more than 60% of organizations build, develop, or deploy AI agents. These agents carry out employee requests by finding ways to finish tasks, even if those methods use gaps in company security controls. I find the NordLayer AI Scout findings troubling because the agents prioritize task completion over the preservation of data safety. In one instance, a QA engineer asked an AI coding agent to review code changes. The agent needed a GitLab token, so it opened a file containing the token and other company credentials that resided in the repository. Instead of retrieving only the token, the agent loaded the entire file, which exposed additional credentials including a production password for an internal admin tool and an HR system API token. The agent repeated this activity in 10 sessions over 3 weeks during similar tasks. In one session, the agent stated: "I leaked secrets into this session’s tool output… I’d rotate them."

Unnoticed workarounds create security risks

A product manager bypassed restrictions by creating a personal API token after an AI agent could not connect to a Confluence wiki through an MCP connection. The agent used that token to access the wiki directly through the Confluence REST API, which allowed it to reach content through an unapproved route instead of the intended connection. This demonstrates how an agent might use a personal token to access a system after an employee provides it as a practical workaround. I believe companies need to monitor AI agent use to catch these shortcuts before they spread across teams.

If an agent cannot access customer records in a CRM, it might read a spreadsheet export of those records from a shared drive or an unencrypted file. If it cannot open a restricted folder using its own access, it might rely on an employee account with broader permissions. In each scenario, a restriction on one integration or access method may still leave the same information reachable another way. This makes risky activity difficult to detect, especially when an agent uses an official company account or a connected tool to get access to sensitive information. Because the tasks get completed and the expected results come through, employees may have no reason to question how the agents completed their work. NordLayer AI Scout detects risky AI agent behavior and unapproved tools, including shadow AI. The tool sends warnings, redacts content, or blocks risky prompts to prevent employees from sharing sensitive data with AI tools throughout the organization.