Join our Newsletter — 33% off our NHI Course

What breaks when homegrown AI agents are not discovered before production?

Everything downstream becomes incomplete. If an agent is not in a live registry, security cannot reliably scope its access, validate its tool use, or revoke it later. Discovery is the prerequisite for governance because an unknown agent is effectively an unmanaged non-human identity with production reach.

Why discovery is the control that makes governance possible

Discovery is not a reporting nicety, it is the point where an agent becomes governable. If a homegrown agent is missing from inventory, no one can reliably say who owns it, what it can touch, which system issued its credentials, or whether its access should still exist. That gap turns policy into assumptions and makes every later control weaker.

A live registry gives security a stable target for scope, approval, and review. Without it, access reviews become partial, revocation is delayed or missed, and an agent can keep operating with production reach long after the team that built it has moved on. In practice, the absence of discovery is how shadow automation becomes durable access.

For Shadow AI and AI Agent Discovery Guide, the important point is that discovery closes the gap between a signal and a governable asset. For Agentic AI Identity Guide, the registry is what makes identity, ownership, and retirement operational instead of theoretical.

What breaks first when the agent is unknown

The first thing that breaks is boundary control. If security does not know an agent exists, it cannot confidently scope the agent’s tool access, separate test from production, or confirm whether the agent is acting on behalf of a person, a team, or itself. That creates a blind spot where delegated action and direct action are hard to distinguish.

Next, assurance breaks. Unknown agents are difficult to validate because there is no canonical record of their purpose, approval state, or intended permissions. That means reviewers cannot tell whether an overbroad token is justified, whether a tool connection is still needed, or whether the agent has drifted beyond its original use case. AI Agent Authorisation Guide is useful here because the control question is not just “can it run?” but “what is it allowed to do, and who can change that decision?”

A second useful lens comes from AI Agent Observability, Audit and Incident Response Guide: once the asset is unknown, logging and response become reactive instead of preventative. You can sometimes detect action after the fact, but you cannot cleanly attribute, contain, or revoke what you never registered.

Why homegrown agents become a governance and response problem

Homegrown agents tend to start as convenience tooling, then expand into systems that call APIs, read data, and take actions on behalf of users. That growth matters because the risk is not only the model or prompt, it is the authority attached to the agent at runtime. If discovery happens only after deployment, governance arrives after the privileges and tool paths have already been embedded.

This is where control failure compounds. An undiscovered agent may reuse human credentials, inherit broad service permissions, or connect to sensitive workflows without review. If there is no inventory, those relationships are hard to enumerate during incident response, and harder still to revoke cleanly. The result is a slow recovery path and a larger blast radius than the team expected.

Zero Trust for AI Agents is relevant because the practical answer is to verify the principal and the request continuously, not trust the original deployment story. Top 10 Agentic AI Identity Issues reinforces the same governance lesson: identity problems become operational incidents when access is not bounded, observable, and revocable.

Risk and Threat Considerations

An undiscovered agent creates a standing exposure because it can keep authenticating, calling tools, and touching production systems without being visible to the teams responsible for control. That makes the environment more vulnerable to overprivilege, misrouting of data, and delayed containment if the agent behaves badly or is abused.

Failure mechanism: The organisation cannot revoke, narrow, or attest the agent’s authority because the agent was never entered into the control plane that governs approvals, access reviews, and offboarding.

Impact: The agent can retain production reach after its purpose changed, after ownership changed, or after it was compromised, which increases the chance of unauthorised actions, data exposure, and slow incident recovery.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-01 — Improper Offboarding Undiscovered agents cannot be retired cleanly or removed from access paths.
NHI-05 — Overprivileged NHI Missing discovery prevents scoping and reviewing excessive agent privileges.
NHI-09 — NHI Reuse Unknown agents often inherit or reuse credentials and access paths without review.
Recommendation — Require inventory-backed offboarding so stale agent access is revoked promptly. Limit each agent to least-privilege access and review its permissions regularly. Eliminate shared or reused agent identities and bind access to unique registrations.
NIST SP 800-53 Rev 5 IA-5 — Authenticator Management Discovery is needed to govern issuance, rotation, and revocation of agent credentials.
AC-6 — Least Privilege Unknown agents cannot be reliably constrained to minimal production permissions.
Recommendation — Track, rotate, and revoke agent authenticators through an approved inventory. Assign only the minimum permissions each agent needs to complete its task.

Practitioner Guidance

What to prioritise: Treat discovery as a prerequisite control, not an administrative clean-up task. If an agent can reach production, it must have an owner, a purpose, and a revocation path before it is allowed to scale beyond a pilot.

What to verify: Confirm that every live agent has a registry entry, an accountable owner, an approved access scope, and a way to prove where its credentials and tool permissions came from. If any of those are missing, assume the control chain is incomplete.

Decision rule: If you cannot identify an agent in the registry, do not treat it as “low risk by default”. Treat it as ungoverned reach, then decide whether to quarantine, rotate its credentials, or remove its access until it is inventoried.

Practitioner takeaway: Discovery is what converts autonomous action into managed action; without it, every later control, from authorisation to revocation, is operating with blind spots.