TL;DR: Security for AI and AI for Security should be run as separate programmes that share an evidence bus, with policy at the boundary, schema-first outputs, provenance for retrieval, and continuous evaluation in CI and on shadow traffic, according to LEVO. The core shift is from model-call experimentation to routed systems with auditable controls, because the highest risk now sits where model text turns into tool action.
At a glance
What this is: This is a practical framework for governing AI systems through gateways, schemas, provenance, and continuous evaluation, with the key finding that most risk appears at the boundary between model output and effectful tools.
Why it matters: It matters to IAM, PAM, and security teams because AI systems increasingly act like governed identities and can inherit access, approvals, and evidence requirements across human and non-human workflows.
By the numbers:
- Only 44% of developers are reported to follow security best practices for secrets management, exposing a significant developer behaviour gap.
- Lack of credential rotation is cited as the top cause of NHI-related attacks by 45% of organisations, followed by inadequate monitoring and logging and over-privileged accounts at 37% each.
👉 Read LEVO's framework for AI security gateways, provenance, and assurance
Context
AI security now has to cover the point where model text becomes a decision, an API call, or a tool invocation. That boundary is where prompt injection, malformed outputs, hidden instructions, and provenance gaps turn into operational risk. For IAM and NHI practitioners, the key question is not whether the model is accurate enough, but whether the surrounding controls can govern what the model is allowed to do.
The article also reflects a broader shift in enterprise AI architecture. Instead of isolated prompts, teams are moving toward routed systems with gateways, policy checks, typed outputs, approvals, and replayable evidence. In that model, the AI stack begins to resemble a governed access layer, which is why identity, privilege, and auditability become central rather than adjacent.
Key questions
Q: How should security teams set boundaries for AI-assisted decisions?
A: Security teams should separate tasks AI can accelerate from decisions that carry accountability, approval, or risk acceptance. Use written decision classes for access, exceptions, and customer-impacting actions. If the final call changes people, privileges, or policy, keep a human in the loop with recorded evidence of review.
Q: Why do organisations need provenance controls for AI training data?
A: Because provenance tells you where data came from, who changed it, and whether it should have been trusted in the first place. Without it, poisoned data can move through collection, curation, and fine-tuning with no defensible audit trail. Provenance is the difference between a dataset you can govern and one you merely hope is clean.
Q: What are the signs that AI governance is failing in the enterprise?
A: Common warning signs include rapid growth in AI use without matching policy coverage, sensitive files being copied into personal accounts, and a large share of AI apps carrying high or critical risk. Another indicator is weak visibility into who is using which tools and what data they are sending. If teams cannot answer those questions, governance is not working as intended.
Q: What should teams do when an AI workflow can influence production actions?
A: Require explicit approval boundaries, deny-by-default tool access, and traceable logging for every action path. Separate content generation from execution wherever possible, and review exception handling carefully because attackers often target the human or workflow bypass rather than the model itself.
Technical breakdown
Why the model-to-tool boundary is the real control point
The most important failure mode in modern AI systems is not incorrect text, but ungoverned action. A model can hallucinate, be manipulated by injected instructions, or emit malformed structured data. The risk becomes material when that output is passed to a tool, workflow, or API that changes state, moves data, or triggers spend. A gateway inserts policy between model output and execution, which lets teams validate schema, enforce budgets, require approvals, and reject unsafe tool calls before they cause impact.
Practical implication: place policy and validation in front of every effectful tool, not just around the model itself.
Why provenance matters for retrieval and training data
RAG systems and training pipelines create trust problems because the model is only as reliable as the sources it can see. Provenance means attaching source identity to corpora, indexes, and retrieved passages so teams can verify origin, licensing, and later takedown actions. Signed manifests and source IDs make it possible to trace what informed an answer, prove which material was used, and remove content when obligations change. Without provenance, legal review and security review both become guesswork.
Practical implication: sign corpora and indexes, and retain source IDs alongside every generated or retrieved response.
How continuous assurance replaces one-time testing
Traditional QA assumes a system can be validated once and then operated with stable behaviour. AI does not hold that line because prompts change, retrieval drifts, models update, and agent paths evolve. Continuous assurance uses evals in CI, shadow traffic, adversarial packs, and weekly scorecards to measure grounding, schema pass rate, block rate, and never events over time. That turns AI from a black box into a monitored operational service with rollback evidence.
Practical implication: run AI evals continuously and treat drift, grounding loss, and loop failures as operational signals, not occasional defects.
Threat narrative
Attacker objective: The attacker wants the AI system to perform an unintended action, disclose sensitive information, or trigger downstream tool behaviour that benefits them.
- Entry begins when hidden instructions, poisoned retrieval content, or malformed inputs reach the model through normal application traffic.
- Escalation occurs when the model output is trusted by downstream tools, allowing the attacker to steer tool selection, approvals, or data access.
- Impact follows when effectful actions execute with insufficient schema checks or policy enforcement, producing data exposure, cost overruns, or unauthorized workflow changes.
NHI Mgmt Group analysis
Policy at the boundary is the new security primitive for AI systems. The article correctly places the decisive control point between model output and action, not inside the model alone. That boundary is where schema checks, approvals, budgets, and trace export convert unsafe language into governable behaviour. For practitioners, this means AI controls need to sit in runtime enforcement, not only in development review.
Provenance is becoming an identity problem, not just a content problem. When corpora and indexes are signed, source IDs become part of the trust chain that determines whether the system can justify its answer. This is especially relevant where AI systems touch secrets, support data, or regulated content, because source trust and revocation need lifecycle handling. The practitioner takeaway is that retrieval governance now belongs alongside IAM and data governance.
Continuous assurance creates an operational model for AI risk that audit teams can actually use. Static sign-off does not survive prompt drift, routing changes, or agent chaining. Evals in CI, shadow traffic, replayable evidence, and weekly scorecards create a repeatable evidence trail that maps well to NIST AI RMF and, where identity or access is involved, OWASP Agentic AI Top 10 and OWASP NHI thinking. Teams should treat this as the minimum viable governance layer for production AI.
AI governance debt is the right concept for organisations scaling fast without evidence discipline. The longer teams defer gateways, typed outputs, provenance, and replayable records, the harder it becomes to prove what the system did and why. That debt compounds across support, engineering, search, and automation use cases. Practitioners should assume every new AI route increases governance debt unless it is designed for audit from day one.
Security for AI and AI for Security should remain separate programmes with one shared evidence model. Security for AI governs the model, tools, provenance, and runtime controls. AI for Security uses AI to improve detection, triage, or analysis, but it still inherits evidence and control requirements when it touches operational workflows. Teams should avoid blending the two in governance, even if they share infrastructure.
What this signals
AI programmes are converging on a control model that looks much closer to identity governance than to traditional model testing. The practical signal for security leaders is that every new routed workflow expands the access surface, so controls like approval flow, schema enforcement, and traceability need to be designed as programme capabilities, not stitched in later. The NIST AI Risk Management Framework is the right reference point for this operating model: https://www.nist.gov/itl/ai-risk-management-framework.
AI governance debt: when teams scale AI routes before they can prove source trust, decision history, and rollback behaviour, they accumulate hidden operational risk that becomes expensive to unwind. This is where agentic AI thinking and NHI governance intersect, because tool access, temporary privilege, and evidence retention increasingly travel together. For practitioners, the implication is simple: if a system cannot replay its own actions, it is not ready for broad production use. Teams should also compare their boundary controls against the OWASP Agentic AI Top 10: https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/.
For practitioners
- Implement a gateway on every effectful AI route Enforce policy, schema validation, budgets, approvals, and trace export before any tool or API call can execute. Start with the highest-risk path where model output can change state or move data.
- Adopt schema-first outputs for all AI workflows Require typed responses for structured tasks and block malformed or ambiguous outputs from reaching downstream systems. Use deny by default for any path that can trigger a tool or workflow.
- Sign corpora, indexes, and source manifests Attach source IDs to retrieved content, keep manifests under change control, and define takedown procedures for material that loses licensing or trust validity. Make provenance review part of release approval.
- Run continuous evaluation in CI and shadow traffic Measure grounding, injection block rate, schema pass rate, cost per task, and never events on a weekly scorecard. Replay sessions so security, product, and compliance teams can inspect prompts, plans, and results.
Key takeaways
- AI risk is now concentrated at the boundary where model output becomes action, not inside the model alone.
- Evidence discipline matters as much as policy, because provenance, replay, and scorecards determine whether AI behaviour can be governed and audited.
- Identity, privilege, and lifecycle controls increasingly apply to AI systems that can call tools, retrieve data, and trigger business workflows.
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 address the attack and risk surface, while NIST AI RMF, NIST CSF 2.0 and MITRE-ATTACK set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | NHI-01 | The article centres on boundary policy, tool misuse, and schema enforcement in agentic systems. Map routed AI controls to NHI-01 and require validated tool outputs before any effectful action. |
| NIST AI RMF | GOVERN | Governance, evidence, and accountability are the article's core operating model. Use GOVERN to assign ownership for AI routes, evidence retention, and approval thresholds. |
| NIST CSF 2.0 | PR.AC-4 | The piece focuses on policy enforcement and least-privilege access to tools and data. Align AI tool access with PR.AC-4 and restrict execution to approved, scoped routes. |
| MITRE-ATTACK | TA0006 , Credential Access; TA0010 , Exfiltration | The article's boundary risks include token abuse, data exposure, and downstream action abuse. Model risky AI paths against credential access and exfiltration tactics to prioritise detections. |
Model risky AI paths against credential access and exfiltration tactics to prioritise detections.
Key terms
- Gateway policy layer: A control layer that sits in front of Kafka and applies authentication, authorization, visibility, and transformation rules before clients reach the broker. It helps teams manage access centrally instead of spreading security logic across clusters, applications, and custom integration code.
- Provenance: Provenance is the traceable history of where a software artifact came from, who approved it, and what controls were applied along the way. In container security, provenance supports trust decisions because it links delivery steps to accountable identities and review points.
- Continuous Assurance: A control model that checks identity and security conditions continuously instead of only during scheduled audits. It improves readiness in dynamic environments, but it requires clear thresholds, exception handling, and human accountability so automation does not outpace governance.
- Evidence Bundle: The supporting context attached to a security finding so the recipient can verify why it matters. For NHI and IAM operations, that usually includes logs, ownership metadata, runbook references, and prior incident history tied to the affected identity or system.
What's in the full article
LEVO's full article covers the operational detail this post intentionally leaves for the source:
- Gateway policy patterns for routed AI systems, including schema checks, approval gating, and trace export
- Minimum evidence bundle contents for audits, change control, and rollback planning across AI workflows
- Operational scorecard design for grounding, schema pass rate, block rate, and replayable evidence
- Implementation guidance for budgets, caching, routing, and context limits that affect cost and risk
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It helps practitioners connect identity controls to the broader access and evidence problems that production AI creates.
Published by the NHIMG editorial team on September 4, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org