Join our Newsletter — 33% off our NHI Course
Home› FAQ› Agentic AI & Autonomous Identity› Why do agent-generated plans miss security requirements?
Agentic AI & Autonomous Identity

Why do agent-generated plans miss security requirements?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated November 25, 2026 Domain: Agentic AI & Autonomous Identity

Agent-generated plans miss security requirements when the agent optimises for task completion without an explicit policy, threat model, or acceptance criteria for access control, secrets handling, data classification, and logging. If those controls are not encoded in the plan, the output can omit review gates, approval steps, or validation checks that a human architect would normally require.

Why agent-generated plans miss security requirements

Agent-generated plans usually miss security requirements because the model is trying to satisfy the task prompt, not to prove that the work is safe to execute. If the prompt does not make access control, secret handling, data classification, logging, review gates and approval points explicit, the plan can look complete while leaving out the controls that keep execution bounded and auditable.

That gap is most visible when the plan is produced too early in the workflow. A plan that names steps but not security acceptance criteria can route around the checks a human architect would normally insert, especially when the agent is optimising for speed, brevity or apparent progress.

What is missing from a secure plan?

A secure plan needs more than a task sequence. It should identify which data is in scope, which identities or services can act, what secrets or tokens may be touched, what approval is needed before sensitive actions, and what evidence will be logged when the step runs.

This is why a requirement baseline matters. If the plan has no explicit security requirements, the agent has no reason to preserve them, and it may treat security as an implementation detail to be resolved later rather than as a condition that shapes the plan itself. NHIMG’s Security Requirements and Abuse Cases Guide is useful here because it shows how to turn security expectations into testable requirements and negative cases before implementation starts.

For agentic systems, that omission often shows up as missing tool restrictions, vague handling of credentials, no decision point for human approval, and no logging requirement for high-impact actions. The plan may still be syntactically correct, but it is operationally under-specified.

How to keep the agent’s plan grounded in security constraints

Security requirements need to be represented as planning inputs, not post-processing notes. When the plan is generated with explicit policy constraints, the model has fewer chances to invent a fast but unsafe path, such as broadening access, reusing a secret, or skipping validation because the task description never said not to.

In practice, the strongest plans are the ones that force the agent to state what must be checked before action begins. That is especially important where a plan can trigger access changes, data movement, or credential use, because those steps create blast radius if they are left implicit. NHIMG’s Information Security in Project Management Guide fits this problem well because it frames security gates, risk acceptance and closure checks as part of the project lifecycle rather than as an afterthought.

Current guidance also supports making the requirements machine-readable wherever possible. The OWASP ASVS provides a useful external reference point for translating security expectations into concrete authentication, session and access control requirements that can be used as planning criteria.

Risk and Threat Considerations

When plans omit security constraints, the failure is not just incomplete documentation, it is unsafe execution. A plan that fails to mention approvals, secret handling or logging can let an agent take actions that are valid for the task but invalid for the environment, which increases the chance of unauthorized access, accidental data exposure, or hard-to-audit changes.

Failure mechanism: The agent optimises for task success and omits controls that are not explicitly represented in the prompt, policy, or acceptance criteria. That leaves gaps in review, authorisation, secret protection, and evidence collection.

Impact: Sensitive actions can proceed without the guardrails needed to contain blast radius, and responders may not be able to prove what the agent accessed, changed, or exposed after the fact.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP ASVS and NIST SP 800-53 Rev 5 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
OWASP ASVSV8 — AuthorizationPlanning gaps often omit access decisions and approval boundaries.
V6 — AuthenticationAgent plans should define how identities are verified before privileged action.
Recommendation — Require explicit authorisation criteria before the agent can execute sensitive steps. Define authentication expectations for any actor that can trigger protected actions.
NIST SP 800-53 Rev 5AU-2 — Audit EventsMissing logging requirements weaken traceability for agent actions.
AC-6 — Least PrivilegePlans that omit access limits can over-privilege execution paths.
Recommendation — Specify auditable events for every high-impact agent action. Constrain agent steps to the minimum permissions needed for the task.
ISO/IEC 27001:2022A.5.8 — Information security in project managementThe question is about embedding security into project and delivery planning.
Recommendation — Embed security gates and acceptance checks into the project plan.

Practitioner Guidance

What to prioritise: Put security acceptance criteria into the planning template itself, not into a separate checklist that can be forgotten. If the plan can touch data, credentials, or privileged actions, require explicit fields for approval, logging, and failure handling.

What to verify: Check that the plan states who or what is authorised to act, what data classification applies, whether secrets are involved, and what review gate must be passed before execution. If those elements are absent, treat the plan as incomplete even if the task steps look reasonable.

Practitioner takeaway: A good agent plan is not the one that finishes fastest, it is the one that makes unsafe execution difficult by design.

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 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org