来源:插件 GLM-5.1 评审(2026-10-20 事后审 PR #29)+ lead 代码核验,均属实。 - 位置:src/set-config-tool.js:259 - 现状:`if (!norm(rdReal).startsWith(norm(homeReal)))` 无分隔符守卫 - 问题:home 为 /home/user 时,report_dir=/home/user-evil/reports 可通过前缀匹配(startsWith("/home/user")),绕过「必须位于用户 home 下」声明(违 dsh-plugin.json fs.write scope 承诺,issue #23 遗留盲区) - 建议:`norm(rdReal) !== norm(homeReal) && !norm(rdReal).startsWith(norm(homeReal) + (IS_WIN ? "\\" : "/"))`
Activity