Join our Newsletter — 33% off our NHI Course

What breaks when production AI is tested only as a model?

Teams miss the controls that matter most in production, including retrieval permissions, prompt injection resistance, tool misuse, memory retention, and logging. A model can perform well in isolation and still fail once it sits inside a workflow with real data and real users. The application, not the model alone, is the security boundary.

Why This Matters for Security Teams

Testing only the model creates a false sense of assurance because production risk usually emerges at the system level. A clean benchmark score says little about whether the application leaks data through retrieval, accepts malicious prompts, or lets a tool take actions it should never reach. NIST Cybersecurity Framework 2.0 frames this well: security outcomes depend on governance, protection, detection, response, and recovery, not just one component in isolation.

For AI systems, the boundary extends beyond the model weights to include orchestration code, prompt templates, connectors, caches, identity controls, and audit logging. That means the most important failures are often operational rather than mathematical. A model can be safe in a lab and unsafe once it is connected to internal documents, customer records, or external APIs. In practice, many security teams encounter the real issue only after an agent has already accessed the wrong data or executed the wrong action, rather than through intentional pre-production testing.

How It Works in Practice

production ai should be evaluated as a full application stack, with tests that reflect the way users, data, and tools interact. Current guidance suggests treating the model as one control point inside a larger trust boundary. That means validating inputs, constraining outputs, checking retrieval scope, and monitoring every tool call that can trigger side effects. For teams building agentic workflows, this is especially important because the agent may chain multiple actions that appear harmless individually but become risky in combination.

Practical testing should include:

  • Prompt injection scenarios that try to override system instructions or reveal hidden context.
  • Retrieval tests that confirm the application only surfaces data the caller is authorised to see.
  • Tool-use tests that verify the agent cannot create tickets, send messages, move funds, or change records without explicit policy checks.
  • Memory tests that confirm retention, recall, and deletion behave as intended across sessions.
  • Logging tests that ensure security events, model decisions, and tool actions are recorded for review.

Teams should also map model risks to broader AI governance controls. The NIST Cybersecurity Framework 2.0 helps anchor this in operational security, while the OWASP Top 10 for Large Language Model Applications is useful for identifying common failure modes such as prompt injection, sensitive data exposure, and supply chain weaknesses. Where model behaviour depends on retrieved content, teams should also validate the integrity and permissions of those sources rather than assuming the model will separate trusted from untrusted context on its own. These controls tend to break down when production workflows mix human approvals, long-lived conversation state, and loosely governed API connectors because responsibility for each decision becomes unclear.

Common Variations and Edge Cases

Tighter control testing often increases development and operations overhead, requiring organisations to balance release speed against safety and auditability. That tradeoff is real, especially in fast-moving product teams that want to ship useful features quickly. Best practice is evolving, and there is no universal standard for exactly how much application-level testing is enough for every AI deployment.

Some environments need deeper scrutiny than others. Customer-facing assistants that touch personal data require stronger retrieval and logging controls than internal summarisation tools. Agentic systems with write access deserve more stringent tool gating than read-only copilots. Where regulated data or critical decisions are involved, teams should extend review beyond model quality into provenance, access control, and incident response readiness. The CISA Secure by Design guidance is relevant here because it reinforces building security into the system rather than bolting it on after deployment.

The main edge case is when organisations test only the base model and then assume any wrapper or orchestration layer is low risk. That assumption fails when a harmless-seeming prompt, plugin, or retrieval path becomes the actual attack surface. In those cases, model-centred evaluation misses the operational paths that determine whether the system is safe in production. For broader AI assurance thinking, the NIST AI Risk Management Framework is useful for aligning testing, governance, and monitoring across the full lifecycle.

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 CSF 2.0, NIST AI RMF and NIST AI 600-1 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 GV.OV Production AI needs governance and oversight beyond model-only testing.
NIST AI RMF GOVERN This question is about operational AI risk, accountability, and lifecycle controls.
OWASP Agentic AI Top 10 Prompt Injection Prompt injection is a key production failure that model-only tests miss.
NIST AI 600-1 GenAI profile guidance fits production validation, logging, and abuse resistance.
MITRE ATLAS AML.T0002 Adversarial AI threats include model and system-level misuse paths.

Model adversarial scenarios across retrieval, prompting, and downstream action paths.