Skip to content

[Feature]: Default Agent Arguments Should Not Be --dangerously-skip-permissions/--yolo default #5385

Description

@BradleyGoulding

Problem or use case

Enabling yolo mode by default is a security risk when running orca on non-sandboxed devices.

Proposed solution

Agent config should default to no args, eg claude or cursor and allow the user to override intentionally on an opt-in basis

Alternatives or additional context

The security posture requirements in the current dev world need to be restrictive, not open-default. Power users can opt-in.

Activity

  1. added
    enhancement
    on Jun 15, 2026
  2. BradleyGoulding commented on Jun 15, 2026

    @BradleyGoulding
    Author

    From what i can see this was the intended design #5145 and I don't understand the rational behind this.

  3. Spence1115 commented on Jun 15, 2026

    @Spence1115

    Also see this and similarly don't understand why this is the default and why there is no way to turn this off. At the very least this should be a configuration option.

  4. BradleyGoulding commented on Jun 15, 2026

    @BradleyGoulding
    Author

    You can turn it off by deleting the argument text, there is an icon to toggle that. Its not obvious

  5. nwparker commented on Jun 15, 2026

    @nwparker
    Contributor

    Looking into this today!
    Thanks for raising it

  6. rpelevin commented on Jun 16, 2026

    @rpelevin

    I would treat this as an authority-baseline issue, not just a default-args preference.

    If an agent is launched with permission-disabling flags by default, the user has effectively granted standing authority before the run starts. That is different from an explicit per-workspace or per-session opt-in where the UI can show what authority is being granted and why.

    The shape I would aim for:

    1. Default launch args should be empty or restrictive.
    2. Permission-disabling args should require an explicit user-owned override.
    3. The effective args should be visible before the run starts and in the run details afterward.
    4. The override should record its source, such as global profile, workspace profile, session choice, or manual one-off edit.
    5. A risky override should be bound to the agent type and workspace context that it was granted for.
    6. If the agent provider, workspace, or saved profile changes, the override should be treated as stale and re-confirmed rather than silently inherited.
    7. The UI toggle should change a named permission mode, not just mutate an opaque text field.

    The regression I would want is: start from a clean profile and assert no permission-disabling args are present; enable the risky mode explicitly and assert the effective args and source are visible; then change workspace or agent provider and assert the risky mode does not silently carry over without a fresh confirmation.

    That keeps the power-user escape hatch while making the unsafe state attributable instead of ambient.

  7. added theissue type on Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions