Skip to content

bash tool 任然可以绕过安全目录检查 #187

@luxingixiang

Description

@luxingixiang

bash tool 没有类似 safe_path 函数目录检查工具, 当ai调用 run_read 函数被目录拦截后, 会直接调用bash 去到上层或者其他目录, 然后直接用 bash 来读取文件

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