It should be included whenever regulated data still resides in file shares or databases that AI-connected workflows may reach. Hybrid estates often hide the riskiest data because it never moved to cloud tools, so security planning must cover those repositories before agents or copilots are allowed to use them.
Why This Matters for Security Teams
On-prem data is often the most overlooked input to AI security planning because it sits outside the SaaS and cloud governance tools that teams already monitor. That creates a false sense of coverage: model risk discussions focus on prompts, APIs, and hosted platforms while sensitive records in file shares, legacy databases, and internal applications remain reachable by AI-connected workflows. Guidance from NIST AI Risk Management Framework supports looking at the full lifecycle of an AI system, including data provenance, access, and downstream use.
The security issue is not just confidentiality. On-prem repositories may contain regulated customer data, operational records, source code, or internal controls evidence that can be exposed through retrieval, indexing, summarisation, or agent actions. Once an AI tool can search or act across those stores, the risk shifts from a storage problem to an access governance problem. That makes data classification, entitlement review, logging, and retention decisions part of AI planning rather than separate hygiene tasks.
In practice, many security teams encounter this only after a pilot has already connected a copilot or agent to an old file share that nobody expected to be in scope.
How It Works in Practice
AI security planning should start with a data discovery pass across both cloud and on-prem estates, then trace which repositories are reachable by retrieval systems, orchestration layers, or autonomous agents. If a model can only answer questions from approved datasets, the control boundary is the dataset, not the model alone. That is why AI threat modeling needs to include storage location, identity context, network path, and the permissions used to reach each repository. The CSA MAESTRO agentic AI threat modeling framework is useful here because it treats agent behaviour, tools, and data access as part of one operational system.
- Classify on-prem data by sensitivity, residency, and permitted AI use before any connection is approved.
- Map each AI workflow to the exact source systems it can query, write to, or summarise.
- Use least privilege for service accounts, connectors, and agent identities, with strong monitoring on any elevated access.
- Decide whether retrieval should be read-only, filtered, masked, or blocked for specific data classes.
- Log prompts, retrieval hits, and tool actions where privacy and policy allow, so incidents can be reconstructed.
For agentic use cases, the identity of the connector matters as much as the model. A poorly scoped service account can turn a harmless search feature into a bulk exfiltration path, especially when AI tools can chain actions across systems. This is where NHI governance becomes relevant: machine identities, API keys, and tokens should be inventoried and governed with the same discipline as human administrative access. These controls tend to break down when legacy repositories have weak metadata, inconsistent permissions, and no clear owner because AI teams cannot determine what the system is allowed to see.
Common Variations and Edge Cases
Tighter data controls often increase integration effort and reduce model convenience, requiring organisations to balance speed of adoption against exposure of regulated or business-critical content. Best practice is evolving, but current guidance suggests that not every on-prem system needs immediate AI enablement; some repositories should be excluded until classification, remediation, or compensating controls are in place.
There is also no universal standard for when legacy data becomes acceptable for AI use. In highly regulated environments, the safer approach is to assume inclusion by default for any repository that contains personal data, financial records, incident evidence, or confidential operational material. In less sensitive environments, teams may allow AI access to older content, provided that retention rules, purpose limitation, and audit requirements are still met. The practical question is not whether the data is on-prem, but whether the AI workflow can reach it without a documented risk decision.
Special care is needed when on-prem data feeds RAG systems or agent tools that can take actions beyond summarisation. Model outputs may be accurate while still creating governance failure if the source data was never approved for that use. For that reason, AI planning should include data owners, security, legal, and system operators from the start, rather than treating on-prem coverage as a later hardening step. Where machine identities are used to reach internal data, identity-bound access and regular review are the minimum baseline.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and MITRE ATLAS address the attack and risk surface, while NIST AI RMF, NIST AI 600-1 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST AI RMF | Covers AI risk across data, access, and downstream use. | |
| OWASP Agentic AI Top 10 | Agentic AI threats include unsafe tool use against internal data. | |
| MITRE ATLAS | Useful for modelling prompt and data-driven abuse of AI workflows. | |
| NIST AI 600-1 | GenAI profiles address data governance and output risks. | |
| NIST CSF 2.0 | PR.AC-4 | Least privilege is central when AI reaches on-prem repositories. |
Treat connectors and tools as attack surfaces and restrict agent actions to approved data sources.
Related resources from NHI Mgmt Group
- How should security teams govern on-prem data that is also accessed by automation and AI systems?
- How should security teams govern AI and automation access to on-prem data?
- How should security teams govern AI assistants that can access audit data?
- How should security teams govern AI tools that connect to SaaS data?