Security teams lose the ability to inventory where models sit, what data they touch, and which tools they can call. Without that map, testing becomes incomplete and policy enforcement lands on the wrong layer. The result is unmanaged exposure, because the organisation secures the visible application while the model quietly expands the attack surface behind it.
Why deployment without discovery breaks the control plane
LLM deployment without discovery fails first at the control plane, not the model. If you cannot map where models are running, which applications embed them, and which data paths they can reach, you cannot separate intended use from accidental exposure. The organisation may think it is securing a visible product layer while the model is actually extending trust into hidden workflows, connectors, and prompts.
That missing inventory also makes ownership unclear. Teams cannot tell whether a model is a sanctioned platform service, a proof-of-concept, or a shadow deployment, so the wrong group ends up responsible for review, logging, and approval. The Ultimate Guide to NHIs — Key Challenges and Risks is useful here because visibility gaps and sprawl are usually the first symptoms of this control failure.
Discovery is therefore not a paperwork step. It is the prerequisite for knowing the actual attack surface, the actual data exposure, and the actual enforcement points. Without it, the deployment may be live, but governance is operating blind.
What becomes incomplete when testing starts too late
Testing only after deployment tends to focus on the part the team can already see, which is usually the front-end application or chat interface. That misses the model’s surrounding behaviours: tool invocation, retrieval paths, stored context, and any back-end services the model can reach. When the team does not know those connections in advance, validation is partial by design.
This is why discovery changes the quality of the assurance process. It lets security teams test the model, its integrations, and its data touchpoints as one system rather than as a single endpoint. The Permission-Aware RAG Guide is relevant because retrieval-time authorization is one of the places where undiscovered data exposure often appears first.
Without that map, policy enforcement also lands on the wrong layer. A control aimed only at the application shell will not constrain a model that can call tools, retrieve documents, or surface sensitive content through an indirect path. Discovery is what tells you which layer must actually carry the control.
Why unmanaged exposure grows behind a visible application
The main failure is hidden expansion. Once an LLM is embedded in a workflow, it can quietly inherit access to data, tools, and services that were never reviewed as part of the original application boundary. That creates unmanaged exposure because the surface area grows through integration, not through obvious product change.
This pattern is especially dangerous when teams add connectors, retrieval sources, or automation features after the initial launch. Each new path can widen reach without triggering the usual review process, because the deployment already looks approved on the outside. The AI Infrastructure Workload Identity Guide helps explain why platform, pipeline, and runtime identities must be visible before those connections are allowed to accumulate.
The practical consequence is blast-radius growth. If the model, its tools, or its backing services are compromised, the attacker does not just get the chat interface, they may inherit whatever the undiscovered integration path can touch.
Risk and Threat Considerations
When discovery is skipped, the risk is not just poor inventory hygiene, it is invisible privilege accumulation. A model that is already connected to data stores, internal tools, or external APIs can become an untracked access path, and that makes both misconfiguration and abuse harder to detect.
Failure mechanism: Hidden deployments and undocumented integrations prevent teams from scoping testing, enforcing policy at the right layer, or recognising when a model has become a new trust boundary.
Impact: Attackers and internal users alike can exploit the gap to reach data or tools that were never intended to be part of the reviewed system, which raises exposure, weakens containment, and delays response.
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 and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST AI RMF and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST AI RMF | Govern Map Measure Manage | Discovery and boundary mapping are core to governing GenAI risk. |
| Recommendation — Map LLM deployments, data flows, and tool paths before applying controls. | ||
| OWASP Non-Human Identity Top 10 | NHI-06 — Insecure Cloud Deployment Configurations | Undiscovered deployments often hide insecure model hosting and access paths. |
| NHI-05 — Overprivileged NHI | Unknown model integrations can carry excessive tool and data access. | |
| NHI-01 — Improper Offboarding | Discovery is required to find dormant or shadow model instances that should be retired. | |
| Recommendation — Inventory model deployments and harden each runtime configuration. Review model-linked access and remove excess privileges before rollout. Find and decommission orphaned model instances and credentials promptly. | ||
| NIST SP 800-53 Rev 5 | CM-8 — System Component Inventory | An inventory of model instances and integrations is required to know what is deployed. |
| AC-6 — Least Privilege | Discovery is needed before least privilege can be enforced on model tools and data paths. | |
| Recommendation — Maintain an accurate inventory of LLM components, dependencies, and connections. Limit model-linked access to the minimum set of approved tools and data. | ||
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | Undiscovered agents and models can quietly accumulate reachable privileges and tool access. |
| Recommendation — Constrain agent and model privileges to the smallest approved scope. | ||
Practitioner Guidance
What to prioritise: Start with an inventory of every model instance, embedding point, retrieval source, and tool connection before you attempt deeper policy work. If you cannot name the runtime path, you cannot judge the control boundary.
What to verify: Confirm that each LLM has an owner, an approved purpose, and a documented list of data sources and callable tools. If any of those are missing, treat the deployment as incomplete, even if the interface is already in production.
Decision rule: If discovery cannot prove where the model sits and what it can reach, stop treating the environment as “secured” and treat it as an expanding exposure problem instead.
Practitioner takeaway: Discovery is the control that turns LLMs from opaque integration risk into something you can actually test, govern, and contain.
Related resources from NHI Mgmt Group
- What breaks when on-premise LLMs are deployed without strong MLOps and monitoring?
- What breaks when WAF mitigation is deployed without validating the confirmed attack path first?
- What breaks when AI agents can move sensitive data through MCP without strong controls?
- What breaks when end-of-life applications still expose admin actions without authorization?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 12, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org