Generative Artificial Intelligence (GenAI) is a class of AI models that generate new content, such as text, images, code or audio, from patterns learned in training data. Security risks include prompt injection, leakage of sensitive data in prompts and outputs, and over-privileged integrations. Defenders control which data and tools models can reach, and log and review model interactions.
What GenAI Is Used for in Security Contexts
Generative AI systems are used to draft content, summarize information, generate code, answer questions, and automate parts of analysis or support workflows. In security programmes, that utility matters because the model is not just producing text, it is often acting on prompts, retrieved context, and connected tools that can influence business decisions or operational actions.
The security relevance comes from the way GenAI changes the trust boundary. A model can absorb sensitive instructions, surface data it should not expose, or produce output that is plausible but incorrect. The same qualities that make it useful, scale, speed, and fluent synthesis, also make it easy to over-trust.
How GenAI Creates Security Exposure
The main exposure points are prompt content, output handling, and tool access. If users paste confidential material into prompts, that data may be retained, logged, or echoed back in ways they did not intend. If the model can reach files, tickets, code repositories, or business applications, the blast radius depends on those permissions rather than the model alone.
GenAI also introduces a new class of trust problem: the model may follow malicious or conflicting instructions embedded in user input or retrieved content. That makes prompt injection, data leakage, and over-privileged integrations especially important failure modes. How to Read LLM Benchmarks is useful here because evaluation quality affects how much confidence teams should place in model behaviour before production use.
Operational Controls for Safe GenAI Use
Security teams should treat GenAI like a governed system rather than a standalone application feature. The practical question is not whether the model is “safe” in the abstract, but what data it can see, what actions it can trigger, and what is recorded for review. That is why logging, access scoping, and human review of sensitive interactions are part of the control surface.
Controls should also extend to model selection and deployment hygiene. Independent evaluation, content filtering where appropriate, and tight integration design reduce the chance that a generative system becomes an unmonitored data conduit. LLM Leaderboard Snapshot helps readers distinguish between marketing claims and dated performance snapshots, which matters when comparing models for security-sensitive use.
Why GenAI Needs Governance as Well as Technical Guardrails
GenAI is not just a model class, it is also a governance problem because output can affect policy, code, customer communication, and regulated workflows. Organisations need clear rules on approved use cases, data handling, escalation, and ownership, especially where the system is embedded into employee workflows or customer-facing channels.
Where GenAI is used in public-sector or regulated settings, policy obligations can become part of the security design. Utah AI Policy Act Guide is relevant because disclosure, high-risk use, and chatbot oversight show how legal requirements can shape deployment controls and user transparency. More broadly, NIST AI 600-1 GenAI Profile gives a useful reference point for governance, provenance, and incident handling around generative systems.
Risk and Threat Considerations
GenAI becomes risky when organisations treat fluent output as evidence and broad integration as convenience. The biggest exposure is usually not the model architecture itself, but the combination of untrusted input, sensitive context, and downstream actions that happen too easily.
Failure mechanism: Prompt injection, sensitive-data leakage, and excessive tool or data access can cause the model to reveal confidential material, follow attacker-controlled instructions, or amplify a low-grade content issue into a real operational incident.
Impact: The result can include data exposure, unauthorised actions, business process corruption, and loss of trust in AI-assisted workflows, especially where model output is consumed without verification.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 addresses the attack and risk surface, while NIST AI 600-1 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST AI 600-1 | Generative AI Profile | Defines GenAI governance, provenance, testing and incident handling |
| Recommendation — Apply the GenAI profile to govern content provenance, pre-deployment testing, and incident response. | ||
| NIST SP 800-53 Rev 5 | AU-6 — Audit Review, Analysis, and Reporting | GenAI interactions need logging and review to detect misuse and exposure |
| AC-6 — Least Privilege | GenAI risk rises when models and connectors have excessive access | |
| IA-5 — Authenticator Management | GenAI integrations rely on secrets, tokens, and credential lifecycle control | |
| Recommendation — Review GenAI logs for anomalous prompts, leakage, and unsafe tool use. Limit GenAI connectors and service roles to the minimum required permissions. Rotate and protect credentials used by GenAI integrations and automation. | ||
| OWASP API Security Top 10 | API5 — Broken Function Level Authorization | GenAI tool and API calls can fail if runtime permissions are not enforced |
| Recommendation — Enforce function-level authorization on every AI-triggered API action. | ||
Practitioner Guidance
Why practitioners should care: GenAI security is mostly about controlling the environment around the model, not merely tuning the model itself. Set explicit boundaries for what data may be prompted, what tools may be called, and which outputs require review before they drive action.
Common misunderstanding: Teams often assume that a model is “read only” unless it is given write access. In practice, retrieval, plugin calls, and automated handoffs can still create material security exposure even when the model never directly edits a system.
Practitioner takeaway: If a GenAI workflow can see sensitive data or touch production systems, it needs the same scrutiny you would apply to any other privileged integration.
Related resources from NHI Mgmt Group
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 November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org