Uncontrolled usage breaks data protection, auditability, and policy enforcement at the same time. Sensitive text can be pasted into external systems, credentials can be exposed, and security teams lose a reliable record of what was sent, redacted, or returned. Once that happens, incident response becomes slower and compliance evidence is much harder to reconstruct.
Why This Matters for Security Teams
Allowing employees to use public AI tools outside a controlled gateway turns a simple productivity choice into a data handling and identity problem. Once prompts leave approved channels, security teams lose enforcement over redaction, logging, retention, and approved model paths. That creates direct exposure for secrets, customer data, source code, and regulated content, especially when users paste material into tools they do not fully understand. NIST SP 800-53 Rev. 5 makes clear that access control, audit logging, and data protection are core safeguards, but they only work when the organisation actually mediates the transaction through a controlled system. Public AI usage often bypasses that control point entirely.
The practical risk is not just leakage. It is also the loss of evidence. If a prompt contains an API key, a contract draft, or incident details, the organisation may never know what was sent, how the model handled it, or whether the output was reused elsewhere. NHIMG research has shown how quickly exposed secrets are acted on in the wild, and the same speed applies when employees place sensitive material into unsecured AI workflows, as seen in JetBrains GitHub plugin token exposure and the DeepSeek breach. In practice, many security teams discover the exposure only after the data has already left the organisation, not during any intended review.
How It Works in Practice
A controlled ai gateway changes the problem from “employees may use AI” to “the organisation can govern what reaches AI.” The gateway becomes the enforcement layer for policy, inspection, and observability. It can classify prompt content, redact secrets, block regulated data, record metadata for audit, and route requests only to approved models and tenants. It can also apply different rules for business units, sensitivity classes, and user roles without relying on end users to make the right judgment every time.
In a mature setup, the gateway typically does four things:
- Inspects prompts and attachments before transmission, with DLP-style detection for secrets, personal data, and proprietary code.
- Applies policy at request time so that allowed use depends on context, not just a one-time approval.
- Logs what was sent, what was blocked, and what model or connector was used, creating defensible evidence.
- Normalises access through sanctioned credentials so employees do not authenticate directly to public tools with unmanaged accounts.
This approach aligns with the intent of NIST controls for access enforcement and auditability, and it is consistent with current guidance from OWASP and CISA on reducing exposed secrets and shadow AI use. It also matters because public AI tools can retain, process, or reuse prompts in ways users may not expect, especially if the organisation has no contractual or technical visibility into retention settings. NHIMG’s reporting on The State of Secrets in AppSec underscores how fragile secrets handling already is, which is why gateway controls should be treated as mandatory infrastructure rather than an optional convenience. These controls tend to break down when teams allow direct browser access for high-risk roles or when prompt data is copied into personal accounts outside corporate identity controls.
Common Variations and Edge Cases
Tighter gateway control often increases friction for employees, requiring organisations to balance productivity against prevention. That tradeoff is real, especially in teams that use public AI for drafting, coding, or analysis at high volume. Best practice is evolving, but there is no universal standard for how much content inspection is enough, which means policy needs to be practical rather than absolute.
Edge cases usually appear in three places. First, contractors and offshore teams may use unmanaged devices, making browser-based enforcement incomplete. Second, highly sensitive teams may need local or private-model workflows because prompt inspection itself becomes a confidentiality issue. Third, browser plugins and desktop assistants can bypass sanctioned paths if organisations only control the web portal and ignore extensions, API clients, or personal accounts. Guidance from OWASP, the Ultimate Guide to NHIs, and NIST points toward layered control, not a single checkpoint. The strongest programs combine identity enforcement, content filtering, explicit user policy, and post-use monitoring. Where organisations rely on training alone, or assume that acceptable-use rules can replace technical controls, the gateway disappears and so does accountability.
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, OWASP Agentic AI Top 10 and CSA MAESTRO address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | Addresses unmanaged secrets and identity exposure through uncontrolled AI use. |
| OWASP Agentic AI Top 10 | AI-03 | Covers prompt leakage and unsafe tool use across autonomous AI-enabled workflows. |
| CSA MAESTRO | GOV-02 | Requires governance controls for sanctioned AI access and auditability. |
| NIST AI RMF | Govern and map AI risks arising from unsanctioned public tool use. | |
| NIST CSF 2.0 | PR.AC-3 | Supports access enforcement through approved channels and least privilege. |
Route employee AI usage through governed services with logging, policy checks, and approved model selection.
Related resources from NHI Mgmt Group
- How should security teams govern employee use of public AI tools in the browser?
- What breaks when employees use AI tools inside browser sessions without data controls?
- What breaks when employees use unapproved AI tools with company data?
- What breaks when employees use public LLM tools with confidential data?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on August 24, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org