dsh-permission-presets
github.com/deepseek-ai/deepseek-harness
v0.0.1-rc.3
会话与记忆
通过 `ctx.permissionPresets`(`PermissionPresetService`)提供面向用户的权限预设。每个配置的名称将 `sandbox/mode` 与 `approval/policy` 打包在一起;默认值为 `workspace-write`(`workspace-write` + `ask`)和 `danger-full-access`(`danger-full-access` + `never`)。U
作者原文(英文)
User-facing permission presets (ctx.permissionPresets) for the DeepSeek Harness: one product-level Permissions select bundling the sandbox-mode and approval-policy knobs, written through to their own session events
中文简介由 DeepSeek 模型翻译,仅供参考。
检测报告
能力很少。几乎没有命中能力模式,源码里很少出现敏感调用。
1一般23未命中
高关注需留意一般
能力清单
- 动态加载模块
dynamic-import一般1 处命中lib/types/index.d.ts:54export declare const PERMISSION_SETTINGS_NAMESPACE: import("@deepseek-ai/dsh-settings").SettingsNamespace;- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 动态加载模块 | dynamic-import | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 14 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。