Sandbox

You might say

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

An isolated execution environment restricting the files, network, and system resources accessible by untrusted code or automated tasks.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.
Further reading