Skip to content
The Dragon's Web

News Portal

The Dragon's Web

News Portal

  • Home
  • Local Weather
  • Home
  • Local Weather
Close

Search

‘I leaked secrets’: An AI agent confessed to its own data leak – but others got around corporate protections
ProSecurityTech News

‘I leaked secrets’: An AI agent confessed to its own data leak – but others got around corporate protections

By TechRadar
November 21, 2026 3 Min Read
Comments Off on ‘I leaked secrets’: An AI agent confessed to its own data leak – but others got around corporate protections
  • An AI assistant exposed company passwords across 10 sessions spanning three weeks
  • Another AI agent bypassed corporate restrictions using an alternative API connection
  • AI coding assistants can expose confidential credentials while completing routine software development tasks

Artificial intelligence agents are gaining access to company systems, internal documents, and sensitive credentials to complete tasks assigned by employees.

However, two incidents uncovered by NordLayer AI Scout reveal how ordinary instructions can expose confidential information or circumvent organizational security restrictions.

In one incident, an AI coding assistant even acknowledged that it had exposed sensitive credentials after repeatedly accessing company files.

AI assistant exposed company passwords

In this incident, a quality assurance engineer instructed an AI coding assistant to examine proposed software changes.

The project’s instructions directed the assistant toward a GitLab access token stored inside an environment configuration file.

However, that file also contained production passwords, an authentication token for an internal human resources system, and credentials belonging to a business intelligence service.

The assistant repeatedly accessed the entire file across 10 separate sessions over three weeks, transmitting its contents to an external AI service each time.

The situation became worse when the assistant encountered a fresh project copy without the expected configuration file.

Rather than stopping its search, it retrieved the computer’s entire collection of environment variables, exposing additional passwords and authentication credentials.

After recognizing what happened, the assistant acknowledged its mistake and recommended replacing the exposed credentials.

“I leaked secrets into this session’s tool output… I’d rotate them,” the AI coding agent confessed in a session observed by NordLayer AI Scout.

Vakaris Noreika, a cybersecurity expert at NordLayer, said engineers frequently instruct AI assistants to retrieve credentials directly, creating unnecessary exposure.

He explained that assistants can repeat such behavior across subsequent tasks, allowing security problems to continue unnoticed.

AI agent bypassed company restrictions through an alternative connection

A separate incident involved an employee attempting to use an AI assistant to retrieve information from the company’s Confluence documentation platform.

The organization’s Model Context Protocol (MCP) connection appeared to prevent the assistant from accessing those internal pages.

Instead of treating the restriction as final, the employee asked whether creating an API token could provide another route into the documentation.

The assistant confirmed that this alternative approach worked, effectively circumventing the restriction imposed on its official connection.

The employee might have been seeking convenience rather than deliberately compromising company security.

However, using an alternative connection without authorization can undermine restrictions established by an organization’s security team.

“Security controls only ever cover the cases someone foresaw. Every company has rules, but agents simply don’t know them, because they are not employees who were trained at the company,” says Noreika.

“This is a current technology limitation: Agents don’t retain rules between sessions, and sometimes even after getting specific instructions not to do something, they still do it.”

The incidents raise concerns about organizations granting automated assistants access to sensitive systems without adequate monitoring.

Organizations should separate sensitive credentials, store valuable passwords in secure vaults, track which resources AI agents can access, and monitor their activities.

Companies should also provide approved access routes rather than relying exclusively on restrictions that employees might circumvent.

Such measures could help security teams identify unusual access and prevent confidential information from reaching unauthorized destinations.

Google logo on a black background next to text reading 'Click to follow TechRadar'

Go to story

Tags:

10AagentagentsAIai agentAI agentsAI assistantAI assistantsAssistantAuthenticationBusinesscodingCorporatecybersecuritydataemployeesEnvironmentProSearchSecuritysoftwaresystemTechnologytimewhat happened
Author

TechRadar

Follow Me
Other Articles
Trump touts Asia trip, meeting with Putin and Xi at news conference
Previous

Trump touts Asia trip, meeting with Putin and Xi at news conference

‘Yellowjackets’ leans hard into ’90s music nostalgia, and we’re here for it
Next

‘Yellowjackets’ leans hard into ’90s music nostalgia, and we’re here for it

About This Site

This is my personal site I use to test code, practice techniques, and show off my skills.

Recent Posts

  • Erectile dysfunction drug could hold promise for Alzheimer’s disease
  • Essential Apps for Google Pixel 11 Enhance Tensor G6 and HiLight Features
  • The Union’s Game 1 playoff loss to New England went exactly as was feared
  • Air alert sounds in Kaliningrad as Finland tries to extinguish fire aboard Russian cargo ship
  • Tessa Majors case: Man convicted in Barnard student’s killing released on parole

Archives

  • November 2026 (761)

Find Us

Address
1460 Grand Oak Way
Oakdale, CA 95361

Copyright 2026 — The Dragon's Web. All rights reserved. Blogsy WordPress Theme

Powered by CookieAdmin
Necessary cookies enable essential site features like secure log-ins and consent preference adjustments. They do not store personal data.
None
Functional cookies support features like content sharing on social media, collecting feedback, and enabling third-party tools.
None
Analytical cookies track visitor interactions, providing insights on metrics like visitor count, bounce rate, and traffic sources.
None
Advertisement cookies deliver personalized ads based on your previous visits and analyze the effectiveness of ad campaigns.
None
Unclassified cookies are cookies that we are in the process of classifying, together with the providers of individual cookies.
None
Powered by CookieAdmin