用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/evil7/deepSea --skill dsh-security-audit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | dsh-security-audit |
| description | deepc 插件安全管理审计。Use when: 构造 dsh 插件 deepc、安全映射方案、动态安全路径、二次验证、插件安装前审计、权限与路径校验、密钥管理、供应链安全。 |
| argument-hint | 要审计/加固的安全场景,例如 "插件安装路径映射" 或 "deepc 二次验证流程" |
| user-invocable | true |
构造 dsh 插件 deepc 用于 DeepSeek Harness 的安全管理,提供:统一且安全的映射方案、动态安全路径、二次验证等能力,并对生态插件做安装前审计。
~/.dsh/deepc/plugins/<plugin-id>/(plugin-id 由 owner+repo 哈希生成,防路径注入)ctx.storage seam(defineDomain + DomainFacility.open → ctx.storageDomain,
挂 storage-json 后端),不手写 ~/.dsh/deepc/mappings.json(避免绕开官方持久化与热发布)。
校验时比对规范化(canonical)路径,杜绝 ..、符号链接逃逸:function safeResolve(base: string, input: string): string | null {
const resolved = path.resolve(base, input)
return resolved.startsWith(base + path.sep) ? resolved : null
}
ctx.credentials seam)ctx.credentials(credentialRef('DEEPSEA_GITHUB_TOKEN') →
ctx.credentials.resolve(ref) → { value, source });配置只携带引用,describe(ref) 永不返回值。credentials-local provider 持有。deepc verify 命令或 UI 对话框)ctx.storage domain 或独立 audit.log 文件,路径经
ctx.settings.documentPath 解析)(时间、操作、插件、路径、结果)安装/更新插件前逐项检查:
has_issues/has_discussions 支持后续反馈