Subscribe to the Non-Human & AI Identity Journal
Home Glossary AI Security Soft Scoping
AI Security

Soft Scoping

← Back to Glossary
By NHI Mgmt Group Updated August 14, 2026 Domain: AI Security

Soft scoping is when a model is told what it may do, but the environment does not strictly enforce those limits. It creates the illusion of containment while leaving real access paths open, which makes autonomous agents vulnerable to unintended Internet reach, production access, or tool misuse.

Expanded Definition

Soft scoping describes a control failure where an agent, application, or workflow is verbally or logically restricted, but the surrounding environment does not enforce those limits. The distinction matters: policy text, prompt instructions, and runbooks can say an agent may only read certain data or call approved tools, yet the runtime still permits broader network access, overbroad tokens, or direct production interactions. In practice, soft scoping is less a single product feature than a security posture problem, especially in agentic AI environments where tool access, secret handling, and execution authority must be enforced outside the model itself. This is why NHI Management Group treats scoping as a control-plane issue, not a language issue.

Definitions vary across vendors, because some describe soft scoping as prompt-level restriction while others use it for any non-enforced boundary. In security terms, the safer interpretation is simple: if the environment can violate the stated limit, the scope is soft. Guidance in the NIST Cybersecurity Framework 2.0 is useful here because it emphasizes governance, access control, and protective measures that are actually implemented, not merely intended. The most common misapplication is assuming an agent is contained because its instructions say so, when the underlying service account, outbound connectivity, or secret permissions still allow unrestricted action.

Examples and Use Cases

Implementing scoping rigorously often introduces friction, because tighter enforcement can slow experimentation and reduce the flexibility teams expect from autonomous systems.

  • An AI support agent is instructed to answer only from a knowledge base, but it still has unrestricted browser access and can browse public sites or internal portals.
  • A deployment agent is told not to touch production, yet its API token can reach live infrastructure if a misconfigured workflow invokes the wrong endpoint.
  • A code-assist agent is limited in the prompt to read-only actions, but the attached service account still has write permissions in a repository or CI pipeline.
  • A finance workflow says it may only process approved invoices, while the same identity can also call downstream payment or ERP tools without separate enforcement.
  • An operator believes a model is isolated because the system prompt forbids secrets access, but the agent can still retrieve tokens from a mounted vault path or shared environment variable.

These patterns are especially visible in agentic systems, where model behaviour and platform permissions often diverge. Stronger control design is more consistent with the boundary-first thinking found in OWASP guidance for LLM applications, which stresses that application-layer assurances must be backed by actual enforcement.

Why It Matters for Security Teams

Soft scoping matters because it creates a false sense of containment. Security teams may believe they have reduced blast radius, protected secrets, or constrained an AI agent to a narrow task, while the real attack surface remains fully open. That gap is dangerous in NHI-heavy environments, where tokens, service accounts, API keys, and certificates often grant machine speed access to sensitive systems. When the control is only declarative, attackers do not need to break the model; they only need to exploit the permissions already present in the environment. In agentic AI programs, this can turn a harmless assistant into an execution-capable identity with unintended reach.

Good scoping therefore depends on hard boundaries: least privilege, conditional access, network egress controls, explicit tool allowlists, and separate credentials per task or environment. The same logic appears in NIST Cybersecurity Framework 2.0 concepts for protection and access governance, even when the term itself is not named. Organisations typically encounter the damage only after an agent has already read data, called an internal API, or altered production state, at which point soft scoping becomes operationally unavoidable to address.

Standards & Framework Alignment

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

OWASP Non-Human Identity Top 10 and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST AI RMF and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AC-1Soft scoping fails when access is asserted but not enforced.
OWASP Non-Human Identity Top 10NHI guidance highlights machine identities with excessive or unenforced permissions.
OWASP Agentic AI Top 10Agentic AI guidance addresses tool access and execution boundaries that soft scoping undermines.
NIST AI RMFAI RMF governance stresses accountable, measurable controls over intended safeguards.
NIST Zero Trust (SP 800-207)Zero Trust requires continuous verification and explicit authorization, not implied containment.

Ensure every agent and service identity has only the access it can actually be prevented from exceeding.

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