Scan your whole stack
Are you using dsh-aecpt?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.2
dsh-aecpt was last scanned on 26 Nov 2026 at version 0.1.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.2 LATEST | 26 Nov 2026 | No rules fired |
| 0.1.1 | 26 Nov 2026 | No rules fired |
| 0.1.0 | 25 Nov 2026 | No rules fired |
| 0.0.0-stage | 25 Nov 2026 | Not shown |
Findings for v0.1.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Student research workbench plugin for DeepSeek Harness (DSH), connecting students to a self-hosted AeCpt (Aesthetic Computing) research group server. Licensed under MIT.
dsh-aecpt 为课题组学生提供运行在 DSH 桌面端内的完整科研协作工作台,同时将所有学生可用能力暴露为本地代理与 Agent 工具,欢迎学生在本仓库基础上按个人研究习惯进行界面美化、提示词定制与工作流扩展。
~/.aecpt/dsh/,不上传服务器。^0.2.3-alpha.2>= 20(用于构建客户端与运行本地测试)方式 A(从 npm 安装,推荐普通学生):
在 DSH「插件 → 添加插件」中直接输入包名 dsh-aecpt 安装即可(无需克隆代码或安装 Node.js)。
方式 B(从源码构建,适合二开与客制化):
git clone https://github.com/yhong91/dsh-aecpt.git
cd dsh-aecpt
npm ci
npm run build
然后在 DSH「插件 → 添加插件」中选择本仓库的绝对路径(例如 /path/to/dsh-aecpt)。
本插件不硬编码任何服务器地址,直接通过导师发来的邀请链接一跳串联注册、入组与免复制自动授权:
https://your-server/invitations/...),插件会自动提取服务器地址;亦保留折叠式「手动粘贴一次性代码」兜底;也支持在 DSH 对话中将邀请链接交给
aecpt_authorize工具或在插件配置中预设serverUrl。
如果想调整「对话进展提取」或「每周完整周报提炼」的写作风格(例如适配不同学科、增加实验指标模板或改用英文输出),无需修改插件源码,只需在本机创建文件 ~/.aecpt/dsh/prompts.json:
{
"fragment_system": "你是科研过程记录助手……(留空或省略该字段则沿用内置提示词)",
"compile_system": "你是高校科研周报撰写助手……(留空或省略该字段则沿用内置提示词)"
}
保存后立即生效(每次总结/提炼时动态读取,单条上限 16,000 字;若文件不存在或 JSON 格式有误会自动安全回退到内置提示词)。内置完整提示词见 prompts.js。
学生可在 DSH 对话或自定义 Skill 中组合调用以下 8 个工具:
| 工具名 | 作用 | 主要 actions / 说明 |
|---|---|---|
aecpt_me |
查询当前身份与上下文 | 返回 id、username、full_name、student_number、is_student、current_period(当前教学周)与可见 projects 列表 |
aecpt_authorize / aecpt_authorize_complete |
发起/完成 OAuth PKCE 浏览器授权 | 仅走浏览器授权码,不接触密码 |
aecpt_logout |
断开当前绑定 | 先尽力吊销服务端令牌,再清除本机凭据 |
aecpt_report |
科研进展与教学周碎片 | list / detail / create / edit(需传整数 revision) / submit / summaries(查看本周碎片) / add_summary(追加手动碎片) / periods(查询教学周) |
aecpt_plan |
个人计划与项目列表 | list(支持 open/done/all) / create / update / projects(可见项目);分享给导师保留在 UI 人工确认 |
aecpt_library |
课题组公用论文库 | search / get / mine / resolve(DOI/arXiv 解析) / submit / download(PDF 落盘 ~/.aecpt/library/ 供 Agent 阅读) / export(BibTeX) |
aecpt_feeds |
本机文献订阅 | list / sources / add / remove / refresh / read |
服务端将客户端视为非受信任开源客户端——所有权限边界、字段上限、乐观锁(revision)、配额与限流均在服务端强制执行,因此你可以放心地自由改造 UI、提示词、本地工具与交互流程。完整服务端接口契约见 docs/SERVER_API.md。
dsh-aecpt/
├── index.js # DSH Host 入口:/aecpt-api 代理、LLM 总结/提炼编排、8 个 Agent 工具
├── prompts.js # AI 系统提示词与构建器(支持 ~/.aecpt/dsh/prompts.json 覆写)
├── binding.js # OAuth 2.0 PKCE 授权、令牌换取与 DSH 凭据库读写
├── store.js # 本机离线草稿库、summary_records 同步队列与缓存隔离(~/.aecpt/dsh/)
├── diff3.js # 离线草稿冲突三路合并算法
├── feeds.js # 零依赖 RSS/Atom/arXiv 抓取与 SSRF 公网主机校验
├── library.js # DOI/arXiv 元数据解析、multipart PDF 上传与流式下载
├── client.js # 前端主入口:工作台壳、科研进展主从视图、弹窗与侧栏/顶栏图标
├── session-popover.js # 对话右上角「进展总结」浮层(前序片段勾选 + 立即提取)
├── overview-panel.js # 「概览」首页卡片与 7 天计划日历条
├── report-fragments.js # 「本周汇总」碎片列表、手动补记与一键提炼控件
├── report-markdown.js # 安全 Markdown + KaTeX 渲染器(配 report-math.js)
├── plan-panel.js # 「计划」清单 / 月历视图与导师分享抽屉
├── feeds-panel.js # 「文献订阅」界面
├── library-panel.js # 「论文库」公用库 / 我的投稿 / 提交论文三视图
├── workbench.css # 工作台主样式(全量使用 DSH 主题 CSS 变量,零硬编码色值)
├── build-client.js # esbuild 浏览器端打包脚本(产物输出至 dist/client.js)
├── tests/ # Node 原生单元测试(npm test)
└── docs/
├── DETAIL.md # DSH 插件详情页说明
└── SERVER_API.md # 学生可用服务端 API 与 Host 代理接口手册
# 修改前端文件后重新打包 dist/client.js
npm run build
# 运行全量单元测试(无须连接线上服务器,内置 mock 上游)
npm test
# 检查打包产物文件清单
npm pack --dry-run
--dsw-alias-bg-base、--dsw-alias-bg-layer-1、--dsw-alias-bg-module-platform、--dsw-alias-border-l2、--dsw-alias-label-primary、--dsw-alias-label-secondary、--dsw-alias-link),不要写死 #hex 或 rgb(),避免浅色/深色主题切换时对比度失效。Bearer 令牌的上游请求都应留在 Host(index.js)代理,前端通过同源 /aecpt-api/* 访问。~/.aecpt/dsh/(按 server_instance + userId 隔离),Agent 下载的论文 PDF 保存在 ~/.aecpt/library/,目录权限为当前用户私有(0700 / 0600)。仓库内置了两套 GitHub Actions 工作流:
.github/workflows/ci.yml:每次推送或 PR 到 main 自动执行语法检查、npm run build、npm test 与打包检查;.github/workflows/publish-npm.yml:推送 vX.Y.Z 标签时自动校验标签与 package.json 版本一致、补齐 repository 元数据(用于公开仓库 --provenance 溯源签名)、构建测试、发布至 npm(预发布版本如 v0.2.0-beta.1 自动归入 next dist-tag)并创建 GitHub Release(也支持在 Actions 页面手动 workflow_dispatch 开启 dry_run 预演)。0.1.0)先用本机 npm login && npm publish 或下述 NPM_TOKEN 创建 npm 包页面(npmjs.org 需先存在包页才能配置 Trusted Publisher);https://www.npmjs.com/package/dsh-aecpt/access(或包页面 Settings 标签)→ Trusted Publishers → 添加 GitHub Actions(Owner 填 yhong91、Repository 填 dsh-aecpt、Workflow Filename 填 publish-npm.yml);NPM_TOKEN Secret 即可实现零长期密钥自动发布。NPM_TOKEN Secretdsh-aecpt 发布权限的 Granular Access Token(勾选 Bypass 2FA);NPM_TOKEN。建议在创建 GitHub 仓库后,将
"repository"字段写入package.json;即使暂未填写,publish-npm.yml也会在发布时自动按GITHUB_REPOSITORY补齐,以免公开仓库的--provenance校验失败。
# 首次发布当前 0.1.0:
git tag v0.1.0
git push origin main --follow-tags
# 后续迭代发布(自动改 package.json 并打 vX.Y.Z 标签):
npm version patch # 或 minor / major
git push origin main --follow-tags
本项目采用 MIT License 开源;打包进 dist/client.js 的第三方依赖许可声明见构建时生成的 dist/THIRD-PARTY-NOTICES.txt 与 licenses/。
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.