Knowledge is Power

Sitewide Search

Search Bare Metal Cyber

Search exact control and technique identifiers, Cyber Wiki articles, framework records, playbooks, books, podcasts, Academy courses, individual lessons, and BMC Cyber Challenge activities.

AI execution securityAdvanced

AI Sandboxing and Isolation

AI sandboxing confines generated code, tools, files, and network activity to a restricted environment with limited authority and lifetime.

What it means

AI sandboxing confines generated code, tools, files, and network activity to a restricted environment with limited authority and lifetime.

Why it matters

Code-capable models can produce unsafe or attacker-influenced operations that should never execute with normal user or host privileges.

Practical focus

  • Define the approved purpose, accountable owner, users, operating environment, and acceptable risk for ai sandboxing and isolation before implementation or procurement
  • Implement ephemeral workloads, minimal privileges, read-only bases, restricted network and files, resource caps, monitoring, and guaranteed teardown through documented architecture, policy, configuration, and change control
  • Collect sandbox policy tests, denied system calls, network traces, resource use, artifact scans, and teardown verification and compare the results with approved requirements, risk thresholds, and expected outcomes
  • Exercise this failure scenario as a planned test: generated code escapes the intended workspace, reads host secrets, or reaches an unauthorized network service

Common mistakes

  • Using the label ai sandboxing and isolation without defining the exact system boundary, decision, data, and people in scope
  • Treating a model response or vendor claim as sufficient evidence without testing the surrounding application and operating process
  • Failing to preserve sandbox policy tests, denied system calls, network traces, resource use, artifact scans, and teardown verification in a form that lets reviewers reconstruct decisions and changes
  • Testing only the normal path and never rehearsing what happens when generated code escapes the intended workspace, reads host secrets, or reaches an unauthorized network service

Certification relevance

This subject appears in or supports the following certification bodies of knowledge:

AI SecurityAdvanced AIResponsible AI

Authoritative sources