Skip to content
mentoor

Agent permissions and sandboxing

For engineers

Allow and deny rules, approval modes, sandboxes and network limits that decide what a coding agent can do unattended

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

Which allow rule is the narrowest way to let an agent run the project tests?

Choose one answer

Check yourself · 2 of 5

What is approval fatigue?

Choose one answer

Check yourself · 3 of 5

What does an OS-level sandbox such as bubblewrap or Seatbelt do?

Choose one answer

Check yourself · 4 of 5

Which leg of the lethal trifecta does an egress allow-list remove?

Choose one answer

Check yourself · 5 of 5

Which command should never auto-run, in any approval mode?

Choose one answer

Topics

  1. Scoping allow, ask and deny rules5 min read · Rule syntax for commands, files and tools, prefix-matching traps, and which settings file a rule belongs in
  2. Approval fatigue and auto-approve modes5 min read · Default, accept-edits, plan and bypass modes, why people click yes without reading, and when skipping approvals is acceptable
  3. Running agents in containers and OS sandboxes5 min read · OS-level sandboxing, dev containers, VMs and cloud agents, and what each isolates: files, processes, credentials
  4. Controlling network egress for coding agents5 min read · Domain allow-lists, proxies and blocked outbound traffic that stop data leaving when an agent reads untrusted content
  5. Recognising commands that must never auto-run5 min read · Force pushes, hard resets, recursive deletes, piped installers, production migrations and credential reads

Start here

110 questions · last verified 2026-12