BitssyBytes logoAgent Safety Score

Directory / Qwen Code

C

Qwen Code

Coding agent (CLI) · Alibaba Qwen · 7/7 verified · Last checked 2026-10-16

Approval modes from read-only Plan to YOLO, permissions.deny to block tools, and an opt-in execution sandbox using bubblewrap or Landlock with network closed. The default mode lets a classifier approve actions.

Overall: C (1.86 avg, 7/7 controls verified)

Lock this down first

Switch the approval mode to Ask Permissions and enable tools.executionSandbox with network set to closed.

Scorecard

CriterionRatingNotes
Permission granularity3/3permissions.deny blocks tool calls at runtime; tools.disabled removes tools from the registry.
Human approval gates1/3Ask Permissions mode is opt-in. The default Auto mode uses an LLM classifier, not a human, to approve actions.
Sandboxing2/3Off by default. executionSandbox supports workspace-write filesystem limits via bwrap or Landlock; Docker and Podman are also supported.
Secrets handling1/3Settings can reference keys from env vars. excludedEnvVars keeps variables out of project context.
Audit logs2/3OpenTelemetry qwen-code.tool_call events for each tool call.
Kill switch / interrupt2/3Esc cancels an ongoing request.
Network egress control2/3Off by default. When the execution sandbox is on, network can be closed; Landlock can't enforce that, so it needs bwrap.

Sources

Vendor? Request a correction. We review corrections within 7 days.