🎁 福利专区全网大模型免费应用 + 新用户福利 + 注册活动入口,低成本玩转 AI

CTF 团队协作面板 fyfhcgch/dsh-ctf-collaborate

DeepSeek Harness
fyfhcgch77 天前有提交已提供中文文档扫描:含敏感能力

统一管理 CTF 题目、共享笔记与 Agent 任务

27.9/100
综合分
1
GitHub 星标
—
npm 周下载
—/5
用户评分

数据截至 2026/9/16 · 周下载取自 npm 全网(含 CI / 镜像),非本站安装数;综合分由星标、活跃度与兼容性检查合成。

安装命令 · 需先装 dsh CLI 引擎
dsh plugin --profile web add fyfhcgch/dsh-ctf-collaborate
该包不可直接 npm 安装,改从 GitHub 源安装(明细见下方安装检查)

状态速览

判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态
信任档位:已验证
是什么[目录]—
dsh 原生插件 · tool
暂无时间戳·判据 →
装得上吗[实装验证]✓
本站已真实安装成功
非静态推断
L4 · 真实安装等级说明 →
数据截至 2026/09/26·判据 →
安全吗[自动扫描]—
本站尚未对该插件做风险分级
暂未覆盖,不等同于无风险
数据截至 2026/11/03·判据 →
还在维护吗[仓库]—
更新放缓:最近一次提交在 77 天前
暂无时间戳·判据 →
图例:✓ 通过! 需注意— 未判定 / 无数据· 「未判定」= 本站尚无数据,不代表插件有问题
档位由哪些信号合成

本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。

验证判据与等级说明 →

可信度证据

安全扫描自动 · 静态分析源码
v2.7.0
🔵 扫描:含敏感能力尚无人工评估
展开查看扫描说明与证据 ↓

静态扫描发现插件具备触达本地系统的能力:执行外部命令、读写/删除本地文件、读取剪贴板或密钥类环境变量(至少其一)。这是能力清单,不是危险判定——具体能力项与证据见下方,安装前请自行判断是否需要。

可执行外部命令读写/删除本地文件发起外部网络请求
查看扫描证据(共 16 处,展示前 14 条)
  • 发起网络请求
    dsh-ctf-team/src/dasctf-platform.ts:130
    const noticeInfo = await this.request('GET', '/match/notice/match-info')
  • 发起网络请求
    dsh-ctf-team/src/dasctf-platform.ts:131
    const notices = await this.request('GET', '/match/notice/now-list')
  • 发起网络请求
    dsh-ctf-team/src/dasctf-platform.ts:132
    const exercises = await this.request('GET', '/ctf/exercise-list')
  • 发起网络请求
    dsh-ctf-team/src/dasctf-platform.ts:133
    const overview = await this.request('GET', '/answer-panel/overview')
  • 发起网络请求
    dsh-ctf-team/src/dasctf-platform.ts:140
    const detail = await this.request('GET', '/ctf/exercise', { exerciseId: (exercise as any).id })
  • 发起网络请求
    dsh-ctf-team/src/dasctf-platform.ts:157
    const detail = await this.request('GET', '/ctf/exercise', { exerciseId: id })
  • 写入本地文件
    dsh-ctf-team/src/db.ts:32
    mkdirSync(dirname(fullPath), { recursive: true })
  • 执行外部命令固定命令
    dsh-ctf-team/src/host-adapter.ts:438
    const child = spawn('bash', ['-lc', command], { cwd: process.cwd(), env: process.env, stdio: ['ignore', 'pipe', 'pipe'] })
  • 读取本地文件
    dsh-ctf-team/src/sync-service.ts:133
    if (existsSync(fullPath)) {
  • 读取本地文件
    dsh-ctf-team/src/sync-service.ts:134
    const parsed = JSON.parse(readFileSync(fullPath, 'utf8')) as Partial<TeamIdentity>
  • 写入本地文件
    dsh-ctf-team/src/sync-service.ts:148
    mkdirSync(dirname(path), { recursive: true })
  • 写入本地文件
    dsh-ctf-team/src/sync-service.ts:149
    writeFileSync(path, `${JSON.stringify(identity, null, 2)}\n`, { mode: 0o600 })
  • 读取本地文件
    dsh-ctf-team/src/web-ui.ts:7
    js: readFileSync(join(assetRoot, 'app.js'), 'utf8'),
  • 读取本地文件
    dsh-ctf-team/src/web-ui.ts:8
    css: readFileSync(join(assetRoot, 'app.css'), 'utf8'),
扫描于 2026/11/3(1 天前) · 范围 全包扫描 · 来源 GitHub 仓库

静态扫描只反映源码中出现的调用,不构成安全背书;人工评估与自动扫描相互独立、互不覆盖。

社区实装还没有人打卡 · 装过的第一个就是你
给这个插件打分还没有人投票↓
用户评分
还没有人投票,来当第一个

功能亮点

  • 多人题目管理
  • 共享笔记
  • Agent任务与证据整理

为 DeepSeek Harness 提供多人 CTF 题目管理、共享笔记、Agent 任务和证据整理能力

README

由 DeepSeek 最新模型翻译生成
dsh-ctf-collaborate DeepSeek Harness 的 CTF 协作插件集合。仓库当前只保留 dsh-ctf-team 一个项目目录;原独立 CTF Agent 插件已经整合到 dsh-ctf-team/plugins/,可以作为一个 web Profile 一次安装。 功能概览 - 统一管理 web、pwn、crypto、rev、misc 和 forensic 题目及解题状态。 - 为每道题提供团队共享笔记、Flag、附件路径和证据记录。 - 支持 Agent 任务、题目上下文自动注入、DSML shell 续跑、流式思考日志去重、任务结果持久化和并发限制。 - 通过 SSE 刷新同一 Harness Host 上的协作页面,并支持 WebRTC/P2P 操作同步。 - 提供 Harness 侧边栏入口和独立的 /ctf-team Web 面板。 - 提供 blackboard、planner、crypto/misc/web 专家、verifier、submit-gateway 和 Docker sandbox 八个协作插件。
展开完整文档(README 剩余 1 节)
dsh-ctf-collaborate

DeepSeek Harness 的 CTF 协作插件集合。仓库当前只保留 dsh-ctf-team 一个项目目录;原独立 CTF Agent 插件已经整合到 dsh-ctf-team/plugins/,可以作为一个 web Profile 一次安装。

功能概览

- 统一管理 web、pwn、crypto、rev、misc 和 forensic 题目及解题状态。
- 为每道题提供团队共享笔记、Flag、附件路径和证据记录。
- 支持 Agent 任务、题目上下文自动注入、DSML shell 续跑、流式思考日志去重、任务结果持久化和并发限制。
- 通过 SSE 刷新同一 Harness Host 上的协作页面,并支持 WebRTC/P2P 操作同步。
- 提供 Harness 侧边栏入口和独立的 /ctf-team Web 面板。
- 提供 blackboard、planner、crypto/misc/web 专家、verifier、submit-gateway 和 Docker sandbox 八个协作插件。
- 内置西湖论剑 AI Agent 赛事适配:平台只读同步、Web/API 运行时填写 Server Host 与 AccessKey、官方模型完整 URL 白名单、题目环境启动/恢复/endpoint 自动轮询同步、Agent 运行前置检查、单 Agent 租约、提交次数/时间/格式保护和脱敏审计报告。

环境要求

- Node.js >= 22.5.0
- npm
- 已安装并可运行的 DeepSeek Harness(dsh 命令)
- Docker daemon(可选;不可用时 Docker sandbox 会以降级模式启动)

安装与运行

从 GitHub 克隆仓库后,在唯一项目目录安装依赖并构建:

git clone https://github.com/fyfhcgch/dsh-ctf-collaborate.git
cd dsh-ctf-collaborate/dsh-ctf-team
npm install
npm run build

将主插件和 plugins/ 下的 8 个外部插件一次安装到 Harness 的 web Profile:

node scripts/install-profile-plugins.mjs

脚本默认使用仓库内 .profile/web 作为临时 Profile。使用现有 Profile 时设置 DSH_PROFILE_DIR,或设置 DSH_HOME 让脚本定位 $DSH_HOME/profiles/web:

DSH_PROFILE_DIR=/path/to/dsh/profiles/web node scripts/install-profile-plugins.mjs

随后重启 Harness 服务进程。插件默认提供 /ctf-team 页面;队长启动服务后,可将 http://HOST:3080/ctf-team 发给其他队员共同使用。只安装主插件时才使用 dsh plugin --profile web add file:./dsh-ctf-team。

127.0.0.1 只代表当前机器。局域网协作时,请使用队长机器的局域网 IP,并确保 Harness 监听外部网卡且防火墙放行 3080 端口。

开发与测试

cd dsh-ctf-team
npm install
npm run build
npm test

完整 Harness boot 测试需要设置 DSH_HARNESS_SCOPE,指向包含 dsh-app-boot 的 @deepseek-ai 目录:

export DSH_HARNESS_SCOPE=/path/to/deepseek-harness/node_modules/.pnpm/node_modules/@deepseek-ai
node --test tests/integration-boot-test.mjs tests/merge-ctf-team-boot-test.mjs

也可以运行各外部插件的独立 boot 测试:

node plugins/blackboard-plugin/tests/boot-test.mjs
node plugins/planner-agent/tests/boot-test.mjs
node plugins/crypto-expert-agent/tests/boot-test.mjs
node plugins/misc-expert-agent/tests/boot-test.mjs
node plugins/web-expert-agent/tests/boot-test.mjs
node plugins/verifier-agent/tests/boot-test.mjs
node plugins/docker-sandbox-plugin/tests/boot-test.mjs

也可以分别构建 Web UI、后端和客户端:

npm run build:web
npm run build:backend
npm run build:client

目录结构

- dsh-ctf-team/src/ — TypeScript 源码及 Web UI 源码
- dsh-ctf-team/tests/ — Node.js 测试用例
- dsh-ctf-team/plugins/ — 与主插件一起维护的 8 个外部 CTF 插件
- dsh-ctf-team/scripts/install-profile-plugins.mjs — 一次安装完整 web Profile
- dsh-ctf-team/cordis-manifest.yml / dsh-ctf-team/cordis.patch.yml — Harness 插件配置
- dsh-ctf-team/package.json — npm 包信息、依赖和构建脚本
- dsh-ctf-team/README.md — 功能、配置和 HTTP/SSE 接口说明

构建生成的 dist/、依赖目录 node_modules/、本地 SQLite 数据库和浏览器/IDE 运行日志均不会提交到仓库,详见根目录 .gitignore。

配置

插件默认将数据库保存到 $DSH_HOME/ctf-team/ctf-team.db。如需覆盖配置,可使用:

config:
dbPath: ./data/ctf-team.db
agentConcurrentLimit: 4yaml
webMountPath: /ctf-team
enableHttpBridge: true
teamId: ctf-team
dasctfEnabled: true
dasctfCompetitionId: '1625'
dasctfStageId: '3071'
dasctfAccessKeyEnv: 'DASCTF_ACCESS_KEY'
dasctfGatewayEndpoint: ''

更多配置项、使用流程、Agent Host 适配器和 HTTP/SSE 接口,请参阅 dsh-ctf-team/README.md。

赛事调试时可在 /ctf-team 顶部面板或 POST /ctf-team/api/platform/configure 填写 Server Host 与 AccessKey,也可用进程环境变量 DASCTF_ACCESS_KEY 注入;AccessKey 只用于平台比赛能力接口,与模型网关鉴权分离。请勿把 AccessKey、登录 JWT 或模型 API Key 写入仓库。平台适配器默认不自动全量同步、不自动启停靶机、不自动提交,也不自动重试;对 isNeedInit=true 且 endpoint 为空或 isNeedCheck=true 的题目,先在题目详情点击“启动环境/恢复环境”,插件会自动轮询当前题 endpoint,直到 endpoint 已返回且检查完成后再启动解题型 Agent。

当前限制

- Docker sandbox 只通过 Docker Engine API 执行容器,不会在宿主机执行题目命令;没有 Docker daemon 时插件仍会启动,但执行请求返回 EUNREACHABLE。
- /api/ctf/submit 由独立的 submit-gateway 插件提供,默认路径为 http://HOST:3080/api/ctf/submit。
- 当前协作页面没有登录和权限控制;需要在可信网络中使用,并自行配置 Harness 的监听地址和防火墙。
- 赛事 API 写操作仍依赖可信的 Harness 网络访问;虽然后端要求人工确认文本、租约和时间/次数策略,但部署时仍应限制 3080 端口的访问范围。

许可

当前仓库未单独声明开源许可证;如需对外分发,请先确认项目许可证和 DeepSeek Harness 的使用要求。
预览分享卡片长什么样 ↓fyfhcgch/dsh-ctf-collaborate
分享 · DeepSeek Harness Hub
fyfhcgch/dsh-ctf-collaborate

统一管理 CTF 题目、共享笔记与 Agent 任务

这个插件是你维护的吗?
作者本人可认领并核对本条目;认领通过后,详情页会显示「作者已认领」标记。
认领条目 →
回到顶部