Join our Newsletter — 33% off our NHI Course
Agentic AI & Autonomous Identity

Malicious Agent

← Back to Glossary
By NHI Mgmt Group Updated November 9, 2026 Domain: Agentic AI & Autonomous Identity

A malicious agent is an autonomous software agent that is designed or compromised to cause harm, such as theft, fraud, sabotage or unauthorised access. It may impersonate a legitimate agent, abuse delegated authority or automate attacks at runtime, so controls focus on identity binding, least privilege, attestation and revocation.

What malicious agents are

Malicious agents are not just harmful prompts or scripts, but autonomous software entities that can make decisions, invoke tools and act with delegated authority. That makes them dangerous because they can operate at runtime, blend into legitimate automation and pursue abuse without a human manually stepping through each action.

In practice, the key distinction is autonomy: a malicious agent can adapt to its environment, chain actions and keep working after the initial trigger. That makes it different from a one-off exploit or static malware sample, and it is why defenders have to think about identity, permissions, session control and runtime trust together.

How malicious agents cause harm

A malicious agent can steal data, move laterally, sabotage systems or abuse business processes by using the tools it already has access to. The harm may come from direct intent, such as a rogue agent built for theft, or from compromise, where a legitimate agent is hijacked and then used to act on behalf of an attacker.

Because the agent can act through normal interfaces, the abuse may look like ordinary automation unless the organisation can attribute actions back to the agent and see what it was allowed to do. That is why delegated access, scoped tokens and explicit action boundaries matter as much as code integrity.

Why malicious agents are hard to contain

Malicious agents are difficult to contain when they inherit broad permissions, trust connected tools too freely or reuse long-lived credentials. If an agent can call services, read context, write files or approve follow-on actions, the blast radius can expand quickly from a single compromised workflow to a wider environment.

The problem is amplified when agent identity is weakly bound to a person, service or policy and when revocation is slow. A defender may stop the front-end session but still leave behind valid tokens, API keys or other secret material that lets the agent continue operating.

How organisations reduce the risk

The most effective control pattern is to make the agent prove who it is, constrain what it can do and limit how long that access lasts. That usually means treating the agent as its own security subject, not as an invisible extension of a user or application.

For a useful navigation path on this problem, AI Agent Authorisation Guide explains how to apply least privilege, per-action decisions and just-in-time access to agent behaviour. For identity lifecycle and delegation patterns, Agentic AI Identity Guide covers how agents get, use and lose identities. When organisations need a broader threat view, Agentic AI Security Guide shows how identity fits into the wider control stack.

Risk and Threat Considerations

Malicious agents are attractive to attackers because they can turn trust, delegation and automation into persistent access. A compromised agent may continue operating inside normal workflows, which makes its actions harder to distinguish from authorised activity until the damage is already underway.

Failure mechanism: Overbroad permissions, weak identity binding or poor revocation let the agent keep acting after compromise, often through the same tools and sessions that legitimate automation uses.

Impact: The result can be unauthorised access, data theft, fraud, destructive actions or rapid lateral movement, especially when the agent can chain multiple tools or services in one runtime session.

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

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseMalicious agents abuse delegated authority and identity to perform harmful actions.
ASI02 — Tool MisuseThe term involves agents using tools they should not abuse or chain improperly.
Recommendation — Constrain agent authority and bind every high-impact action to explicit policy decisions. Limit tool access to approved actions and monitor for unexpected tool chaining.
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationThe term depends on how a software agent proves its identity at runtime.
NHI-05 — Overprivileged NHIA malicious agent is dangerous when it holds more authority than its task requires.
Recommendation — Use strong authentication for agents and revoke credentials that can be reused after compromise. Scope agent permissions tightly and remove standing access that exceeds task needs.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementAgents rely on secret material, tokens and other authenticators that must be controlled.
AC-6 — Least PrivilegeLeast privilege directly limits what a malicious agent can do if compromised.
AU-6 — Audit Record Review, Analysis, and ReportingMalicious agent activity must be attributable and reviewable in logs.
Recommendation — Manage agent authenticators tightly and rotate or revoke them promptly after abuse is suspected. Grant agents only the minimum permissions needed for the task and no standing excess access. Review agent audit trails for anomalous actions, tool use and unexpected privilege use.
NIST Zero Trust (SP 800-207)Zero Trust principlesMalicious agents challenge implicit trust and require continuous verification and policy enforcement.
Recommendation — Continuously verify agent requests and enforce access decisions at each interaction.
OWASP ASVSV6 — AuthenticationAgent access depends on strong authentication and credential handling patterns.
V8 — AuthorizationThe term is fundamentally about whether an agent may perform a given action.
Recommendation — Require strong authentication flows for any agent that can access protected systems. Check every sensitive agent action against explicit authorization rules before execution.

Practitioner Guidance

Why practitioners should care: The central question is not whether an agent is useful, but whether it can be trusted to act only within the authority it was meant to have. If you cannot answer that clearly, the agent is a security boundary, not just a productivity feature.

What to watch for: Pay close attention to agents that inherit broad human permissions, keep long-lived secrets or can perform high-impact actions without a fresh policy decision. Those are the conditions that turn a helpful automation into a durable abuse path.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 9, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org