Skip to content

Add allow/disallow list to bash tool #808

@srtab

Description

@srtab

Now the bash tool as no restrictions on commands that it can run. The only restriction in place is on bash tool description (prompt) which easily is bypassed/not respected by some models.
Adding an disallow list for certain commands, for instance, git commit and push, will be more safe.
But there's some challenges in doing this, as the llm can run multiple commands on one run.
It will be interesting to allow users configure these as a setting too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions