
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
dsh-auto-review-plugin
Advanced tools
Codex-style Guardian reviews, audit, and manual override for DeepSeek Harness
中文 | English
dsh-auto-review 为 DeepSeek Harness 增加 auto-review 权限预设。它对可证明的工作区只读操作直接放行,并让独立 Guardian 模型审查 Shell、网络、MCP、沙箱升级和其他扩展审批。
这是插件层实现,不修改 DSH 内核,也不声称与其他产品的原生审批协议完全等价。
allowed-once,不会建立永久授权。critical 风险永不自动批准;high 风险需要直接用户对精确目标给出充分授权。fsync 最终 JSONL 记录。详细模型见安全与审计。
npm 包名与 Client 模块身份为 dsh-auto-review-plugin;Host 插件运行时名称仍为 dsh-auto-review。
cd dsh-auto-review
pnpm install
pnpm build
dsh plugin --profile web add "$PWD"
dsh --profile web --dump-config
使用 pnpm 11 时,如果安装报告 ERR_PNPM_IGNORED_BUILDS 并列出 @deepseek-ai/dsh-subprocess-local、koffi,这是依赖构建脚本审批机制,不是 lockfile 损坏。审核依赖来源后运行:
pnpm approve-builds @deepseek-ai/dsh-subprocess-local koffi
pnpm rebuild @deepseek-ai/dsh-subprocess-local koffi
不要在未审核所有候选依赖时使用 pnpm approve-builds --all。详细说明见开发文档。
卸载:
dsh plugin --profile web remove dsh-auto-review-plugin
Bundle 保留 DSH 自带的 read-only、workspace-write、danger-full-access,并增加 auto-review。Cordis patch 会替换 permission.config.presets 整张表;已有自定义 preset 时,请在后续 Profile patch 中重新声明,并始终用 --dump-config 检查组合结果。
可在 设置 → 插件 → Auto Review 中配置。设置卡默认折叠;展开后按审查模型、审查范围、证据预算、人工审批和审计分组。保存仅写实际变化的字段,Reviewer route 原子更新,失败时回滚。兼容字段 trajectoryEnabled 仍由 Host 接受,但当前 Web 设置已隐藏。
也可使用环境变量:
export DSH_AUTO_REVIEW_PROVIDER=deepseek
export DSH_AUTO_REVIEW_MODEL=deepseek-chat
export DSH_AUTO_REVIEW_MANUAL_OVERRIDE=denied-and-unavailable
export DSH_AUTO_REVIEW_AUDIT_DETAIL=summary
Provider 与 Model 必须同时设置或同时留空。完整字段、默认值和范围见配置参考。
auto-review 时持续显示最近一次结果。刷新、切换 Session 或 Client 插件重载会从 Host 快照恢复;Host 重启后从当前审计 JSONL 恢复最近一条已持久化结果;关闭审计或审计失败的结果只在当前 Host 生命周期保留。详见审查流程与 Web UI。
要求 Node ^22.19.0 || >=24。源码、测试和构建配置均使用 TypeScript;生成的 JavaScript 仅位于被 Git 忽略的 lib/。
pnpm install
pnpm verify
更多命令、架构和发布说明见开发文档。
MIT
FAQs
Codex-style Guardian reviews, audit, and manual override for DeepSeek Harness
The npm package dsh-auto-review-plugin receives a total of 75 weekly downloads. As such, dsh-auto-review-plugin popularity was classified as not popular.
We found that dsh-auto-review-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.