Skip to content

[Feature]: Sandbox Feature like the one used by Deepseek Harness #3179

Description

@lone-wolf-akela

Problem / opportunity

当前BitFun中运行的智能助理拥有对整个系统上所有路径的写权限。这是一件很危险的事。将权限模式调整为“需要确认”可以缓解该问题,但是这会导致AI运行过程中频繁中断请求用户批准,实际上我相信很多用户很快就会受不了然后改到“自动批准”模式了。

AI在我的电脑上今天就差点误删了重要文件。这显得一个sandbox机制是非常有必要的。

Proposed behavior

Deepseek Harness使用包 @deepseek-ai/dsh-sandbox-windows-acl 实现了windows上的沙箱机制、由@deepseek-ai/dsh-sandbox-local 包提供Linux上的沙箱机制,AI默认对工作区外的文件没有写权限。

希望BitFun能够参考相关机制,添加类似的功能。

Product surface

Agent runtime / core

Details, examples, or constraints

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions