Sandbox

You might say

Both sandboxing and command confirmation are meant to protect my computer. What does each one limit?

A sandbox is an isolated environment that limits which files, networks, and system resources code or commands can access.For example, an AI tool may let commands write only inside the current workspace and restrict network access, reducing the chance that a bad script affects unrelated files. A sandbox may use OS controls, containers, or virtual machines, and its strength depends on the actual boundary. Mounted sensitive folders, injected real keys, and allowed networks remain accessible to code inside it.
Sandbox
Further reading