Skip to content

s03_permission: Agent bypasses workspace validation through bash #494

Description

@avan-debug

When file operations (read_file, write_file, edit_file) access paths outside WORKDIR, the permission check correctly returns:
Path escapes workspace
However, the agent bypasses the restriction by switching to the bash tool to directly access files outside the workspace.
The current permission mechanism only validates individual file tools and does not prevent equivalent operations through other tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions