From traditional endpoints to SaaS APIs and autonomous AI agents — understanding the eight pillars of endpoint security.
By Anuj Varma | anuj.com
When we discuss endpoint security, the conversation inevitably begins with identity, authentication and authorization. After all, if we can establish who is accessing an endpoint and precisely what they are permitted to do, haven’t we addressed the fundamental security problem?
Not quite.
An authenticated user can execute malicious software. An authorized application can extract sensitive data. An AI agent with perfectly valid credentials can be manipulated into performing actions that its creator never intended.
In each of these scenarios, identity and access management may have worked exactly as designed.
So, what else constitutes endpoint security? And how does the emergence of agentic AI change our understanding of it?
Q: What exactly constitutes an endpoint in modern enterprise architecture?
Traditionally, an endpoint referred to a physical computing device — a laptop, desktop, mobile phone or server. Endpoint security was largely concerned with protecting these devices against malware, ransomware and unauthorized access.
Cloud computing, SaaS and artificial intelligence have considerably expanded the meaning of an endpoint.
Today, we can broadly categorize endpoints into three groups:
| Endpoint category | Examples |
|---|---|
| Traditional endpoints | Laptops, desktops, mobile devices, servers |
| Application endpoints | REST APIs, SaaS APIs, microservices, GraphQL endpoints |
| AI endpoints | LLM inference APIs, model-serving endpoints, AI agents, MCP servers |
While traditional endpoint security products primarily protect devices and workloads, a broader enterprise endpoint security architecture must also address application and AI interfaces.
Each introduces a distinct attack surface. However, many of the underlying security principles remain remarkably consistent.
Q: Isn’t endpoint security fundamentally an identity and access management problem?
Identity and access management is the foundation of endpoint security, but it is not its entirety.
IAM answers three fundamental questions:
- Who are you?
- Can you prove that you are who you claim to be?
- What are you permitted to do?
These correspond to identity, authentication and authorization.
However, IAM alone does not necessarily answer whether the request being submitted is malicious, whether the originating device has been compromised, whether the endpoint contains exploitable vulnerabilities or whether the resulting action is consistent with the user’s original intent.
Consider an employee who successfully authenticates to an enterprise application using phishing-resistant MFA. The employee subsequently uploads a malicious file that exploits a vulnerability in the application.
Authentication succeeded. Authorization succeeded. The endpoint was nevertheless compromised.
IAM governs access to the endpoint. Endpoint security must also govern what happens during and after that access.
Q: What are the eight pillars of endpoint security?
A comprehensive endpoint security architecture can be organized around eight pillars:
- Identity and access management
- Network security
- Input validation and application security
- Runtime protection
- Vulnerability and configuration management
- Data protection
- Device and workload trust
- Detection and response
This is an architectural framework for thinking about endpoint security rather than a formal industry standard. The individual pillars frequently overlap, but each addresses a distinct security question.
Let us examine each of these in detail.
Q: Pillar 1 — What role does identity and access management play?
Identity and access management establishes the identity of the entity attempting to access an endpoint and determines what that entity is permitted to do.
In modern enterprise environments, this entity could be a human user, a service account, a microservice, an automated process or an autonomous AI agent.
The principal controls include:
- Authentication using OIDC, SAML, passkeys and MFA.
- API access authorization using OAuth 2.0.
- Role-based access control (RBAC).
- Attribute-based access control (ABAC).
- Privileged access management (PAM).
- Service accounts and workload identities.
- Token lifecycle and session management.
- Least-privilege and just-in-time access.
For AI agents, identity management becomes particularly important because non-human identities may operate continuously, access multiple enterprise systems and execute transactions without direct human intervention.
Every agent should have an identifiable, auditable and appropriately constrained security identity.
The fundamental security question: Who is calling the endpoint, and what are they permitted to do?
Q: Pillar 2 — If authentication is strong, why do we still need network security?
Before asking whether a caller is authorized to access an endpoint, we should ask whether the caller should even be able to reach it.
Network reachability and identity-based authorization are independent security controls.
Consider a machine learning model deployed to a Google Cloud Vertex AI endpoint. Access to the endpoint may require valid IAM credentials. However, depending on its configuration, the endpoint could still be unnecessarily reachable through public network paths.
Restricting network exposure reduces the attack surface before an authentication decision even takes place.
Network security controls include:
- Network firewalls and security groups.
- Private endpoints and private connectivity.
- Network segmentation and microsegmentation.
- Zero Trust Network Access (ZTNA).
- DDoS protection.
- TLS and mutual TLS.
- Network traffic inspection.
- Ingress and egress restrictions.
In AWS, Azure and Google Cloud, these controls can be implemented through a combination of native networking services, private connectivity and centralized inspection architectures.
IAM determines whether an identity is permitted to access a resource. Network security determines which communication paths to that resource are available.
The fundamental security question: From where, and through which network paths, can the endpoint be reached?
Q: Pillar 3 — Can an authenticated request still be malicious?
Absolutely. This is one of the most important distinctions between identity security and application security.
A legitimate user with a valid access token can submit a malicious payload to an API.
This problem has existed for decades in traditional application security. AI introduces an entirely new class of malicious inputs.
| Traditional application threats | AI application threats |
|---|---|
| SQL injection | Prompt injection |
| Command injection | Malicious tool instructions |
| Malformed API payloads | Adversarial model inputs |
| Parameter manipulation | Context manipulation |
| Malicious file uploads | Malicious documents in RAG systems |
| Unsafe interpretation of user input | Indirect prompt injection |
The traditional defenses include schema validation, parameterized queries, API gateways, web application firewalls and secure coding practices.
AI applications require additional controls:
- Prompt and response inspection.
- AI security guardrails.
- Separation of trusted instructions from untrusted content.
- Validation of agent-generated tool calls.
- Retrieval source validation.
- Isolation of external documents and data.
- Adversarial testing.
Importantly, prompt injection cannot reliably be eliminated through input filtering alone. Architectural controls must constrain what the model can actually accomplish, even when its inputs are malicious.
The fundamental security question: Is the request itself safe, regardless of who submitted it?
Q: Pillar 4 — What is runtime protection, and how does it differ from IAM?
Runtime protection concerns itself with what is actually happening inside an endpoint while it is operational.
A user could legitimately authenticate to a Windows workstation and subsequently execute a malicious program. An authorized cloud workload could load a compromised software dependency. A container could begin executing unexpected processes.
In all these scenarios, the initial authentication and authorization may have been entirely legitimate.
Runtime protection includes:
- Process and memory monitoring.
- Malware and ransomware detection.
- Application execution controls.
- File integrity monitoring.
- Container and workload runtime protection.
- Detection of abnormal system calls.
- Privilege escalation detection.
- Behavioral monitoring.
This is the traditional domain of endpoint protection platforms such as CrowdStrike Falcon and Microsoft Defender for Endpoint.
In agentic AI environments, runtime protection also extends to monitoring agent execution, tool invocation, code execution, unexpected outbound connections and abnormal transaction sequences.
An AI agent that normally reads customer records but suddenly begins initiating thousands of write operations should trigger additional scrutiny, even if its identity has permission to perform those operations.
The fundamental security question: What is actually executing inside the endpoint?
Q: Pillar 5 — Can an endpoint with perfect IAM controls still be vulnerable?
Yes. Strong access controls do not compensate for vulnerable software.
An endpoint could have excellent authentication, tightly scoped authorization policies and sophisticated network restrictions while still running an application with a critical software vulnerability.
Common examples include:
- Unpatched operating systems.
- Vulnerable Python or JavaScript dependencies.
- Outdated container images.
- Insecure model deserialization.
- Misconfigured application services.
- Exposed management interfaces.
- Compromised software supply chains.
- Vulnerable AI frameworks and agent libraries.
The relevant security controls include vulnerability scanning, patch management, software composition analysis, configuration management, container image scanning and software supply chain verification.
AI deployments introduce additional concerns around model artifacts, third-party model repositories, inference frameworks and external tools.
A model artifact should not automatically be considered trustworthy simply because it is being deployed by an authorized administrator.
The fundamental security question: Does the endpoint itself contain exploitable weaknesses?
Q: Pillar 6 — Isn’t data protection already covered by authorization?
Only partially.
Authorization determines whether an identity can access a particular resource. Data protection governs how the information contained within that resource is handled throughout its lifecycle.
For example, an employee may be authorized to access a customer database. That does not necessarily mean the employee should be permitted to export the entire database to an external destination.
Similarly, an AI agent may be authorized to query an enterprise knowledge base. That does not mean it should be allowed to include confidential information in a response to every user.
Data protection controls include:
- Encryption at rest and in transit.
- Data loss prevention (DLP).
- Data classification.
- Sensitive data masking and tokenization.
- Secrets management.
- Encryption key management.
- Outbound data inspection.
- Model weight and intellectual property protection.
AI introduces additional data protection challenges because information can move through prompts, retrieved documents, conversation histories, model responses, tool calls and application logs.
A conventional database access policy may not adequately address these new information flows.
The fundamental security question: What information can enter, leave or be stored within the endpoint?
Q: Pillar 7 — What is the difference between identity trust and device trust?
Authentication establishes the identity of the caller. It does not necessarily establish the integrity of the environment from which the caller is operating.
Consider an employee with valid credentials and a successfully authenticated session who is accessing an enterprise application from a compromised laptop.
The employee’s identity is legitimate. The device may not be.
This distinction is central to Zero Trust architecture.
Device and workload trust controls include:
- Device posture assessments.
- Secure Boot.
- TPM-based attestation.
- Device compliance policies.
- Workload attestation.
- Conditional access.
- Operating system integrity verification.
- Hardware-backed credentials.
In cloud-native environments, workload identity and workload integrity must also be distinguished.
A container may possess a legitimate service account identity while running a compromised image. Similarly, an AI agent may possess a valid access token while operating within a manipulated or compromised execution environment.
Identity is one component of trust, not proof of the integrity of the entire system.
The fundamental security question: Can we trust the environment from which the authenticated request originates?
Q: Pillar 8 — If all these preventive controls are in place, why do we still need detection and response?
Because no preventive security architecture is perfect.
Attackers discover previously unknown vulnerabilities. Legitimate credentials are compromised. Trusted software dependencies become malicious. Authorized insiders misuse their privileges.
AI agents can be manipulated in ways that their developers did not anticipate.
Detection and response provide the ability to identify, investigate and contain these incidents.
The principal capabilities include:
- Endpoint Detection and Response (EDR).
- Extended Detection and Response (XDR).
- Behavioral analytics.
- Threat hunting.
- SIEM integration.
- Automated containment.
- Endpoint isolation.
- Forensic investigation.
- Security orchestration and automated remediation.
In an AI-native enterprise, detection and response should also encompass agent activity, prompt histories where appropriate, tool-call sequences, abnormal data retrieval and unexpected business transactions.
It is no longer sufficient to ask whether a process is behaving abnormally. We must also ask whether an autonomous agent is pursuing an unexpected objective.
The fundamental security question: How do we detect and contain a compromise when preventive controls fail?
Q: Where do companies such as CrowdStrike, Zscaler and Microsoft fit into this architecture?
The traditional core competencies of these security vendors help illustrate the distinction between the different pillars.
| Security capability | Representative products |
|---|---|
| Identity and access management | Microsoft Entra ID, Okta |
| Network access and traffic inspection | Zscaler ZIA, ZPA |
| Endpoint runtime protection | CrowdStrike Falcon, Microsoft Defender for Endpoint |
| API security | Salt Security, Akamai API Security |
| Data protection | Microsoft Purview |
| Vulnerability management | Tenable, Qualys |
| Detection and response | CrowdStrike Falcon, Microsoft Sentinel |
| AI application protection | NVIDIA NeMo Guardrails, Azure AI Content Safety, Lakera Guard |
These are representative capabilities rather than exclusive product boundaries. Many security vendors now operate across multiple pillars.
CrowdStrike’s traditional strength, for example, lies in endpoint and workload protection, behavioral detection and incident response. Zscaler’s traditional strength lies in secure connectivity, Zero Trust network access and traffic inspection.
Neither identity security, network security nor runtime protection alone addresses the entire modern attack surface.
The increasing convergence of these capabilities reflects the interconnected nature of contemporary enterprise security threats.
Q: Why does agentic AI make endpoint security fundamentally more complicated?
Traditional enterprise applications generally execute predefined business logic.
An AI agent, by contrast, can interpret instructions, formulate plans, select tools, retrieve information and dynamically determine which actions to perform.
This introduces a new security problem: the decision-making process itself can be compromised.
Consider an enterprise AI agent that has legitimate access to:
- Salesforce for customer information.
- ServiceNow for operational workflows.
- BigQuery for enterprise analytics.
A user asks the agent to investigate a customer service issue.
During its investigation, the agent retrieves an external document containing malicious instructions. The agent incorrectly interprets those instructions as part of its assigned task and begins retrieving confidential information from BigQuery.
If its permissions and outbound capabilities are sufficiently broad, it could subsequently transfer that information to an unauthorized destination.
Consider what has happened from a traditional security perspective:
- The user was successfully authenticated.
- The AI agent possessed a valid workload identity.
- The access tokens were legitimate.
- The API calls were permitted by existing authorization policies.
- The network connections were encrypted.
- No malware necessarily executed on the underlying operating system.
Yet the enterprise may have suffered a significant data breach.
There may not have been a single IAM policy violation.
What has been compromised is the decision-making process of an authorized entity.
This is the essence of indirect prompt injection and one of the most consequential security challenges introduced by agentic AI.
Q: Why might traditional endpoint security products fail to detect such an attack?
Traditional endpoint detection systems are particularly effective at identifying suspicious processes, malicious binaries, unusual memory activity, privilege escalation and abnormal system behavior.
But consider an AI agent that uses entirely legitimate APIs to perform an unintended business transaction.
There may be no malicious binary.
There may be no unauthorized process.
There may be no exploitation of an operating system vulnerability.
There may not even be an unauthorized API call.
The individual operations could appear perfectly legitimate when examined in isolation. It is their relationship to the original task that makes them malicious.
For example, consider an agent authorized to perform the following operations:
- Read customer records.
- Generate reports.
- Send emails.
- Create service tickets.
Each operation is legitimate. However, retrieving thousands of confidential customer records, incorporating them into a report and emailing that report to an external recipient may constitute a serious security incident.
The problem lies not necessarily in any individual permission but in the composition, sequence and purpose of the operations.
This is why AI security requires application-level and business-context-aware monitoring in addition to conventional endpoint protection.
Q: Can we approach endpoint security entirely through policy?
A policy-first approach provides a useful architectural framework for understanding these different security layers.
Rather than thinking of endpoint security as a collection of products, we can think of it as a collection of independent security policy evaluations.
| Policy category | Fundamental question |
|---|---|
| Identity policy | Who is attempting to act? |
| Authorization policy | What actions are permitted? |
| Network policy | From where can connections originate? |
| Posture policy | Which devices and workloads are trusted? |
| Input policy | Which requests and payloads are acceptable? |
| Runtime policy | Which execution behaviors are acceptable? |
| Data policy | Which information can be accessed or transferred? |
| Intent policy | Is the action consistent with the delegated task? |
Detection and response operate across these policy layers, identifying violations, suspicious behavior and emerging threats.
This approach also helps enterprises avoid a common architectural mistake: purchasing multiple security products without first establishing which security policies those products are expected to enforce.
The objective is not to accumulate security tools. It is to establish comprehensive and independently enforceable security boundaries.
Q: What is an intent policy, and why is it particularly important for AI agents?
An intent policy is an architectural concept that constrains an agent’s actions to the purpose for which it has been invoked.
It is not yet a universally standardized category of security policy. Nevertheless, the underlying principle is increasingly important.
Traditional authorization asks:
Is this identity permitted to perform this action?
Intent-aware security asks an additional question:
Is this action appropriate in the context of the task that has been delegated?
Consider an AI agent with permission to read financial records and initiate payments.
If the user asks the agent to summarize quarterly expenses, should the agent be permitted to initiate a payment during that session?
Its standing permissions may allow it. Its delegated task does not require it.
This distinction can be enforced through:
- Task-scoped authorization.
- Short-lived, narrowly scoped access tokens.
- Dynamic privilege elevation.
- Tool-call validation.
- Transaction limits.
- Approved destination restrictions.
- Read-only execution modes.
- Human approval for consequential operations.
- Independent policy enforcement outside the LLM.
The objective is not to assume that a security system can perfectly infer human intent. Rather, it is to translate the intended task into explicit, enforceable constraints.
An AI agent should receive the permissions required for its current task, not automatically inherit every permission it might ever need.
Q: What should enterprises include in an AI endpoint security audit?
An enterprise AI security audit should extend well beyond verifying authentication and authorization configurations.
It should examine whether the enterprise can answer the following questions:
- Does every AI agent possess a distinct, auditable identity?
- Are agent permissions scoped to individual tasks?
- Are AI endpoints unnecessarily exposed to public networks?
- Can external documents manipulate agent behavior?
- Are model artifacts and software dependencies independently verified?
- Are agent-generated tool calls validated outside the model?
- Can sensitive information be transferred to unauthorized destinations?
- Are high-impact transactions subject to independent approval?
- Can security teams reconstruct the sequence of actions taken by an AI agent?
- Can a compromised agent be immediately suspended or isolated?
- Has the AI application undergone realistic adversarial security testing?
These questions require hands-on architectural assessment and adversarial testing, not simply a review of existing IAM configurations or security compliance documentation.
An enterprise may have an excellent traditional security posture while remaining inadequately prepared for autonomous AI workloads.
Q: What is the fundamental difference between traditional endpoint security and AI endpoint security?
Traditional endpoint security protects the device, the application, the workload, the data and the execution environment.
AI endpoint security must protect all of these — and something more.
It must protect the decision-making process that drives execution.
Traditional applications generally operate within predefined workflows. AI agents can dynamically construct those workflows, select their own tools and determine their next actions.
Consequently, the security boundary must extend beyond the endpoint and into the agent’s decision-to-action pipeline.
Authentication establishes identity.
Authorization establishes permission.
Neither, by itself, establishes legitimate intent.
That distinction may well become one of the defining principles of enterprise security in the age of autonomous AI.
Is your enterprise prepared for the AI-native attack surface?
At anuj.com, our signature AI SecureCheck™ and AI Security Audit™ engagements examine the security architecture of enterprise AI deployments — from identity and API security to agentic permissions, adversarial resilience, data protection and runtime controls.
Our approach combines hands-on technical assessment with executive briefings, helping enterprise leadership understand not only where vulnerabilities exist, but also their operational and business implications.
Explore our Enterprise AI Security Audit services
anuj.com — The voice of experience in AI and security.