Because authentication does not control disclosure. Once a user is signed in, the prompt box becomes an unmanaged disclosure point unless policy and inspection are added around it. That makes GenAI use a governance issue across human identity, privacy, and data loss prevention programmes.
Why This Matters for Security Teams
GenAI chat tools do not just process text. They create a new disclosure channel that can ingest secrets, regulated data, internal strategy, and authentication artifacts after a user has already passed login controls. That is why this is not just a productivity concern. It sits at the intersection of IAM, data loss prevention, privacy, and NHI governance, as explored in Guide to the Secret Sprawl Challenge and 52 NHI Breaches Analysis.
The risk grows because a signed-in user can paste far more than they would into a conventional ticket or chat system, while the model may retain, route, or expose fragments of that content in ways the original sender does not expect. NIST’s Cybersecurity Framework 2.0 remains useful for governance structure, but it does not remove the need for prompt inspection and data-handling policy at the application layer. In practice, many security teams encounter prompt-based leakage only after a credential, customer record, or internal plan has already been shared with a model.
How It Works in Practice
The core issue is that authentication answers only who is allowed into the tool, not what that user is allowed to disclose once inside. A GenAI chat interface can become an unmanaged sink for source code, incident details, API keys, tokens, HR data, or customer information. Security teams should treat the prompt box like an outbound data channel and apply controls before content reaches the model. NIST’s AI 600-1 GenAI Profile is a useful baseline for governance, but operational controls still need to be implemented in the workflow.
In practice, effective handling usually combines:
- pre-prompt classification to detect sensitive data before submission
- inline redaction or blocking for secrets, tokens, and regulated fields
- logging and alerting for risky prompt patterns without storing unnecessary content
- policy-based access boundaries tied to business context, not only user identity
- clear retention rules for prompts, transcripts, and downstream model outputs
NHIMG’s Ultimate Guide to NHIs — Key Challenges and Risks and Ultimate Guide to NHIs — Key Research and Survey Results reinforce a practical point: once sensitive material enters a shared AI workflow, the downstream exposure problem often outlives the original session. This is especially urgent where external model providers, browser plugins, or copilots can retain content outside the organisation’s direct control. These controls tend to break down when users rely on copy-paste into unsanctioned tools because the organisation has no inspection point before disclosure occurs.
Common Variations and Edge Cases
Tighter prompt controls often increase friction, requiring organisations to balance data protection against user adoption and support overhead. That tradeoff is real, especially when teams need to preserve legitimate use cases such as code review, incident analysis, or executive drafting.
Best practice is still evolving for shared prompts, model memory, and enterprise chat retention, so security teams should label assumptions clearly rather than treating all AI usage as equally risky. Some environments can allow low-risk conversational use with lightweight inspection, while others need strict blocking because the data set includes regulated records, source code, or secrets. The strongest warning signs are unmanaged plugins, consumer-grade chat tools, and workflows where users can authenticate once and then upload sensitive context repeatedly without re-checking policy.
For a broader view of how exposed secrets and compromised NHIs accelerate attacker access, LLMjacking: How Attackers Hijack AI Using Compromised NHIs shows how quickly exposed credentials can be abused in the wild. In more mature programmes, the right control is not blanket prohibition but policy-driven segmentation, with higher-risk data excluded from public or third-party AI systems by default. The exception is any workflow that handles live credentials, because even a short prompt transcript can become a durable leakage record once it leaves the endpoint.
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 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-04 | Prompt leakage often exposes NHI secrets, tokens, and API keys. |
| OWASP Agentic AI Top 10 | LLM-02 | GenAI chat tools can disclose sensitive context through prompt handling. |
| NIST AI RMF | AI RMF governance applies to data leakage, retention, and accountability. |
Establish AI data-handling governance with monitoring, documentation, and oversight.
Related resources from NHI Mgmt Group
- How should security teams prepare data access governance before enabling GenAI tools?
- How can security teams prioritise sensitive data risk across file systems and SharePoint Online?
- Why does Copilot create data security risk even when the model is not compromised?
- How should security teams reduce open access risk in data governance programmes?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on June 9, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org