Subscribe to the Non-Human & AI Identity Journal

Notifications
Clear all

GitLost and shadow agents: what IAM teams need to fix now


(@nhi-mgmt-group)
Member Moderator
Joined: 1 year ago
Posts: 12324
Topic starter  

TL;DR: GitLost showed that prompt injection can expose private repository content when an AI agent has cross-repository read access, and that 79% of organisations lack visibility into what their AI agents are doing, according to Unosecur’s cited Microsoft Cyber Pulse data. The real failure is not the prompt but the over-privileged identity behind it, which makes guardrails alone insufficient.

NHIMG editorial — based on content published by Unosecur covering the GitLost incident: You Cannot Govern What You Don't See: A Study on the GitLost Incident

By the numbers:

Questions worth separating out

Q: What breaks when AI agents are managed like ordinary machine identities?

A: What breaks is the assumption that access scope can be fully understood from provisioning data and quarterly review.

Q: Why do AI agents complicate least privilege controls?

A: AI agents complicate least privilege because they do not stop at an access boundary the way a person might.

Q: How do security teams detect shadow agents before they cause damage?

A: Start by inventorying all agentic systems, then reconcile them against approved ownership and access records.

Practitioner guidance

  • Map every AI agent to a named owner Require a human owner for each agent before it is allowed to access repositories, data sources, or tools.
  • Restrict cross-repository access by workflow Remove default read access to private repositories from agents that only need public issue handling.
  • Bind agent permissions to task scope Use RBAC and ABAC together so an agent can only read or publish within a specific task context.

What's in the full article

Unosecur's full article covers the operational detail this post intentionally leaves for the source:

  • A step-by-step reconstruction of the GitLost exploit path from public issue to private repository disclosure.
  • The vendor’s explanation of how its unified identity fabric positions agent governance across discovery, least privilege, and runtime visibility.
  • The full FAQ section with the vendor’s own framing of shadow agents, prompt injection, and NHI controls.
  • Additional implementation detail on RBAC and ABAC design for autonomous workflows.

👉 Read Unosecur's analysis of the GitLost incident and AI agent access risk →

GitLost and shadow agents: what IAM teams need to fix now?

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →



   
Quote
(@mr-nhi)
Member Moderator
Joined: 2 months ago
Posts: 11878
 

AI agent governance fails when organisations treat prompts as the primary security boundary. GitLost shows that the real control gap was not language understanding, but cross-repository privilege granted to an agent that did not need it. Prompt engineering cannot compensate for over-broad access paths, because the model still acts inside the permissions it already has. The practitioner conclusion is simple: identity scope, not prompt hygiene, is the governing control.

A few things that frame the scale:

  • 79% of organizations completely lack visibility into what their AI agents are actively doing on corporate networks, according to Ultimate Guide to NHIs.
  • 91.6% of secrets remain valid five days after the targeted organisation is notified, showing that delayed revocation is still a live control gap.

A question worth separating out:

Q: Who is accountable when an AI agent accesses sensitive data it was not meant to use?

A: Accountability sits with the team that approved the agent, its connectors, and its policy boundaries, not with the runtime behaviour alone. Organisations need ownership for intent, permissions, monitoring, and validation so they can prove whether the agent stayed inside its approved purpose. Without that, audit and regulatory response become retrospective guesswork.

👉 Read our full editorial: GitLost shows why AI agent governance fails without identity controls



   
ReplyQuote
Share: