Join our Newsletter — 33% off our NHI Course

What is the difference between model security and application-centric AI security?

Model security focuses on the model itself, such as jailbreaks or unsafe outputs. Application-centric AI security covers the full system around it, including memory, web interfaces, agents, tools, identity, and data flows. That broader view matters because many real attacks exploit orchestration, permissions, or persistence rather than the model weights alone.

Why This Matters for Security Teams

The distinction is operational, not academic. Model security is important, but it only addresses a narrow slice of risk: unsafe completions, prompt injection, jailbreaks, and model leakage. Application-centric AI security widens the lens to the surrounding system, where most real abuse happens, including exposed secrets, over-broad tool permissions, memory abuse, session persistence, and data movement across services. That broader scope is why NHI Management Group treats AI systems as identity-rich attack surfaces rather than isolated models.

The risk shows up quickly when attackers do not need to break the model to reach the business impact. NHIMG research on LLMjacking shows how compromised NHIs can be used to hijack AI workloads, while the State of Non-Human Identity Security highlights that lack of credential rotation and over-privileged accounts remain common attack drivers. In practice, many security teams encounter AI abuse only after an exposed token, misconfigured connector, or autonomous agent chain has already turned a model risk into a system compromise.

How It Works in Practice

Model security usually focuses on the inference boundary: what the model will say, refuse, or reveal. Application-centric AI security starts earlier and goes further. It asks what identities the application uses, which tools the agent can invoke, what data it can read or write, how memory persists, and how trust is established across web apps, APIs, vector stores, and third-party integrations. That broader view aligns with current guidance from Anthropic Project Glasswing and the CSA MAESTRO agentic AI threat modeling framework, both of which emphasize the system around the model rather than the model alone.

For practitioners, the practical difference usually looks like this:

  • Model security blocks prompt injection or unsafe content at the model boundary.
  • Application-centric security enforces least privilege on connectors, APIs, secrets, and agent actions.
  • Model security tests output quality and policy compliance.
  • Application-centric security tests identity lifecycle, logging, authorization, and data-flow containment.

This is where NHIs matter. An AI application often depends on service accounts, API keys, OAuth grants, and short-lived tokens that become the real control plane. If those identities are static, over-scoped, or shared across workflows, the model can be perfectly guarded and the system can still fail. The DeepSeek breach and the 12,000 Secrets Found in Public LLM Training Dataset both reinforce the same lesson: exposed credentials, weak segmentation, and unsafe data handling can overwhelm any model-level safeguard. These controls tend to break down in distributed agent workflows because permissions, memory, and tool use are often delegated across multiple services faster than teams can review them.

Common Variations and Edge Cases

Tighter model controls often increase operational overhead, requiring organisations to balance safer outputs against latency, usability, and developer friction. That tradeoff becomes sharper in agentic systems, where the model may be accurate but still unsafe because the surrounding application can act on its behalf. There is no universal standard for this yet, but current guidance suggests treating the model as one control point inside a larger trust chain.

Edge cases usually appear when teams assume that a safer model equals a safer product. That assumption fails in environments with long-lived sessions, browser automation, multi-agent handoffs, or retrieval pipelines that pull from mixed-trust data sources. It also fails when teams reuse the same identity for test and production, or let an agent inherit broad cloud permissions. In those cases, application-centric AI security must cover secrets rotation, runtime authorization, tool allowlisting, and continuous monitoring of agent actions.

The practical rule is simple: model security is necessary, but it is not sufficient. If the AI system can remember, retrieve, call tools, or trigger side effects, the security model must extend to every identity and data flow around it.

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, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 LLM01 Prompt injection and unsafe tool use sit beyond model-only protection.
CSA MAESTRO TMS-02 MAESTRO covers threats in the orchestration layer around the model.
NIST AI RMF GOVERN AI RMF governance fits system-wide accountability for AI risks.
OWASP Non-Human Identity Top 10 NHI-01 AI apps rely on NHIs that often become the real compromise path.
NIST Zero Trust (SP 800-207) PA-3 Zero trust supports runtime authorization for tools and data access.

Assess the full agent workflow and restrict tool actions by context, not just model output.