mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 00:40:22 +08:00
- 接线 lib/anchor.js:锚点物理追加到 system prompt sections 末尾, identity.js 支持 anchorText(对象/字符串两种入参),已有同名段先滤再追加; 锚点改为跟随操作者语言,删除写死的英文开头句(红队回答变英文的根因) - 接线 lib/subagent-control.js:子会话 approval/policy=never 改回 ask, 并在 approval/request 瀑布放行;anchorMode/subagentControl 提供回滚开关 - index.js:真实 anchorApplied / injectTail 判定、审批策略探针、iso 分支 注册锚点、applyHostHooks 注册锚点与子代理接管并统一释放 - office 技能自愈:core/desktop 增加 healOfficeSkillsRuntimeOnDisk,桌面端触发 - 红队模式中文化:preset 文案、角色名、五阶段、25 项计分规则与 POC 分类、 技能修复说明、环境适配提示、面板报错、成果报告与复现报告 - #194:hung-operator 改按内容变更缓存,加风暴/慢调用熔断;WeakMap 去重 同次 assemble 的重复改写;新增 #91 记录宿主信号退出的持久化日志 - #188(rc.4 专属部分):新增 #89 沙箱策略去品牌、#90 skill-badge 中文描述, 扩展 #32/#53 的 rc.3 变体与 marker,均 optional - 新增锚点接线与红队文案测试,81/81 通过
99 lines
2.6 KiB
JSON
99 lines
2.6 KiB
JSON
{
|
|
"name": "dsh-purge",
|
|
"version": "1.1.84",
|
|
"description": "DeepSeek Harness 破甲:让所有模型都能破甲,不同模型可换不同提示词;默认提示词面向国模「小码酱」。Jailbreak for every model — swap prompts per model. 求 Star 收藏 ⭐ 如要二开,请查看署名要求部分",
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"exports": {
|
|
".": {
|
|
"default": "./lib/index.js"
|
|
},
|
|
"./client": "./client.js",
|
|
"./redteam": "./lib/redteam/index.js",
|
|
"./redteam/store": "./lib/redteam/store.js",
|
|
"./redteam/ui": "./lib/redteam/ui.js",
|
|
"./redteam/tools": "./lib/redteam/tools.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"bin": {
|
|
"dsh-purge": "bin/dsh-purge.js"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"!lib/default-prompt-inject.md",
|
|
"bin",
|
|
"docs",
|
|
"presets",
|
|
"scripts",
|
|
"client.js",
|
|
"cordis.patch.yml",
|
|
"screenshots.json",
|
|
"README.md",
|
|
"README.zh-CN.md",
|
|
"LICENSE",
|
|
"NOTICE"
|
|
],
|
|
"scripts": {
|
|
"embed-prompt": "node scripts/embed-default-prompt.mjs",
|
|
"build:client": "node scripts/build-client.mjs",
|
|
"postinstall": "node scripts/ensure-profile-bundle.mjs",
|
|
"test": "node --test"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"dsh",
|
|
"dsh-plugin",
|
|
"dsh-plugins",
|
|
"网络安全",
|
|
"红队评测",
|
|
"llm-security",
|
|
"harness-security",
|
|
"deepseek-harness",
|
|
"red-team",
|
|
"instructions",
|
|
"rules",
|
|
"prompt-eval",
|
|
"agent"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/YuJunZhiXue/dsh-purge.git"
|
|
},
|
|
"homepage": "https://github.com/YuJunZhiXue/dsh-purge#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/YuJunZhiXue/dsh-purge/issues"
|
|
},
|
|
"dsh": {
|
|
"bundle": {
|
|
"patch": "./cordis.patch.yml"
|
|
},
|
|
"client": {
|
|
"platform": "web",
|
|
"inject": [
|
|
"@deepseek-ai/dsh-client-connection",
|
|
"@deepseek-ai/dsh-client-runtime",
|
|
"@deepseek-ai/dsh-client-locale",
|
|
"@deepseek-ai/dsh-client-ui-slots",
|
|
"@deepseek-ai/dsh-client-ui-settings",
|
|
"@deepseek-ai/dsh-client-ui-conversation"
|
|
]
|
|
},
|
|
"install": {
|
|
"preferred": "tarball",
|
|
"tarball": "https://codeload.github.com/YuJunZhiXue/dsh-purge/tar.gz/refs/heads/master",
|
|
"zip": "https://codeload.github.com/YuJunZhiXue/dsh-purge/zip/refs/heads/master",
|
|
"git": "https://github.com/YuJunZhiXue/dsh-purge.git"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"peerDependencies": {
|
|
"@deepseek-ai/cordis": "^4.0.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"dshTarget": "0.2.1-rc.2"
|
|
}
|