Accountability sits with the organisation that built and operated the application, not with the model itself. Security, engineering, and governance teams share responsibility for controls around input validation, retrieval access, output handling, and monitoring. If an LLM can expose data or trigger actions, the business must prove that the surrounding application enforced the right boundaries and tested them continuously.
Why This Matters for Security Teams
When an LLM application exposes customer data or triggers an unsafe downstream action, the failure is rarely in the model alone. The real accountability sits with the organisation that chose the architecture, the data sources, the permissions model, and the release process. That means security, engineering, product, and governance teams all need a defensible control story around access, retrieval, output handling, and monitoring. Current guidance from the NIST AI Risk Management Framework treats these as lifecycle risks, not one-off defects.
This matters because LLM applications often sit inside existing workflows with broad trust already attached to the surrounding system. A model may be safe in isolation yet still leak sensitive records through retrieval, follow-on tools, or overly permissive connectors. The same applies to unsafe actions: if an agent can open tickets, send messages, approve requests, or call APIs, then the business has effectively delegated operational authority and must govern that delegation explicitly. The OWASP Agentic AI Top 10 is useful here because it focuses attention on tool abuse, excessive autonomy, and weak boundary enforcement.
In practice, many security teams encounter these failures only after a customer escalation or an internal business process has already been affected, rather than through intentional control testing.
How It Works in Practice
Accountability becomes operational when the organisation can show how the application constrains what the model may see, say, and do. That usually means treating the LLM as one component in a larger control stack, not as the control boundary itself. The model may generate a response, but the application decides which records are retrievable, which prompts are allowed, which actions can be invoked, and whether a human must approve a high-risk step. The safest designs assume the model will err and place policy enforcement outside the model wherever possible.
Practically, this involves several layers:
- Restrict retrieval so the model only searches data the user is authorised to access.
- Validate and sanitise inputs to reduce prompt injection and malformed tool requests.
- Apply output checks before content is shown to users or passed to downstream systems.
- Use least privilege for APIs, service accounts, and connectors so a compromised prompt cannot become broad system access.
- Log prompts, retrieved sources, tool calls, and approvals so incidents can be investigated and reproduced.
For threat modelling, the MITRE ATLAS adversarial AI threat matrix helps teams think about prompt injection, data exfiltration, and model manipulation as concrete attack paths. The CSA MAESTRO agentic AI threat modeling framework is also useful when an LLM is embedded in an autonomous workflow with multiple tools and decision points. Where organisations connect LLMs to customer data, payments, case management, or code deployment, governance should define who approves the use case, who owns the risk, and who receives alerts when the application behaves outside policy. These controls tend to break down when many downstream tools share a single privileged integration token because one weak boundary can cascade into multiple unsafe actions.
Common Variations and Edge Cases
Tighter control over LLM behaviour often increases workflow friction, so organisations have to balance safety against productivity and user experience. That tradeoff is real, especially when teams want low-latency answers, broad retrieval, and automated actions in the same application.
One common edge case is a read-only assistant that still leaks sensitive data through retrieval. Another is a workflow agent that is not allowed to decide business outcomes, but is still permitted to draft or submit actions that a human later approves. In those cases, accountability is still with the organisation, but the control objective changes from full prevention to strong containment, logging, and review. Best practice is evolving for how much autonomy is acceptable in high-impact settings, and there is no universal standard for this yet.
This is where the NIST AI 600-1 Generative AI Profile becomes especially relevant because it translates general AI risk management into more specific generative AI expectations. For high-risk deployments, teams should also consider whether the surrounding controls align with the kinds of preventive, detective, and corrective safeguards reflected in NIST SP 800-53 Rev 5 Security and Privacy Controls. In practice, the hardest cases are hybrid systems where an assistant can both reveal data and initiate actions across multiple SaaS tools, because proving effective boundary enforcement becomes more complex than proving the model itself was configured correctly.
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 | Accountability, governance, and lifecycle risk management are central to this question. | |
| OWASP Agentic AI Top 10 | Agentic tool abuse and unsafe actions map directly to this failure mode. | |
| MITRE ATLAS | Prompt injection and data exfiltration are common adversarial AI attack paths. | |
| NIST AI 600-1 | GenAI-specific controls help operationalise safe retrieval, output handling, and oversight. | |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege access is essential when LLMs can reach customer data or tools. |
Threat model AI-specific abuse cases and validate detection for prompt and tool attacks.