Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

dsh-refkeeper

Latest version: v0.1.7

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: ymwang
1 Stars
0 Forks
8 Versions
3.1K Downloads
TypeScript Repo language

Scan summary

dsh-refkeeper was last scanned on 28 Nov 2026 at version 0.1.7. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 8 versions; the latest was published on 28 Nov 2026.
  • Findings: No rules fired in version 0.1.7.
  • Downloads: 3,116 downloads.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.7 LATEST 28 Nov 2026 No rules fired
0.1.6 21 Nov 2026 No rules fired
0.1.5 14 Nov 2026 No rules fired
0.1.3 9 Nov 2026 Not shown
0.1.2 4 Nov 2026 Not shown

No rules fired in 0.1.7

Findings

Findings for v0.1.7. 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.7; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

dsh-refkeeper

English · 简体中文

license: MIT npm

长篇研究对话中的引文常散落在不同轮次、工具结果和摘要里。dsh-refkeeper 会从你选定的对话中提取引用,用六个学术注册表核对元数据,再整理为可追溯的文献条目并支持注解及 BibTeX/RIS 导出。报告号可由 DataCite 搜索,ISBN 可由 Open Library 查找图书候选;查询命中不等于核验,仍须通过标题、年份和第一作者三项比对,只有 ISBN 而没有标题的条目仍会进入隔离区。注册表明确不一致的条目也会留在隔离区,不会被当成已核实文献。

如果这个插件帮你省了时间,欢迎在 GitHub 上点个 Star,它能帮其他人找到这个插件。遇到 Bug 或想加功能,直接开 Issue 就行,中文英文都可以。每条都会看,有价值的会排进 Roadmap。

目录

功能 · 支持的标识符 · 支持的引用格式 · 为什么不自己复制 · 安装 · 使用 · 输出示例 · 判定规则 · 数据与隐私 · 开发 · 更新记录 · 许可证

功能

  • 收集引用。范围可以是本轮、前 N 轮或整个对话。识别 DOI、arXiv 编号、PMID、PMCID、ISBN、报告号,也识别按 APA、GB/T 7714、IEEE、BibTeX、Vancouver 格式写出的参考文献行。部分历史 arXiv 分类编号(如 math.GT/0309136、cs/0112017)同样支持。
  • 对照注册表核对。只有标题匹配、年份相差不超过一年、第一作者匹配,并且至少有一个注册表返回了记录,条目才会被接受。注册表有六个:Crossref、OpenAlex、arXiv、DataCite、PubMed,以及 Open Library。
  • 生成注解。捕获后,由当前会话使用的模型为每条写四个字段:摘要、与本书稿的关系、一段原文引证、注意事项。引证如果没在对话里逐字出现,会被丢弃。
  • 导出。BibTeX、RIS 或两者。导出范围可以是最近一次捕获、你勾选的条目,或整个文献库。PMID 与 PMCID 会一起写进去。
  • 说清存到哪里。捕获完成后,面板会告诉你这次存了多少条、存在工作区的 refs/refs.json;下面那个「导出到」是 .bib/.ris 的输出目录,不是文献库。

支持的标识符

标识符 格式示例
DOI 10.1002/joc.1688;https://doi.org/10.1002/joc.1688
arXiv 2401.01234、arXiv:2401.01234v2、https://arxiv.org/abs/2401.01234v2;旧式 math.GT/0309136、arXiv:math.GT/0309136v2
带标识符的链接 https://arxiv.org/format/2401.01234、https://doi.org/10.1002/joc.1688、https://www.biorxiv.org/content/10.1101/2020.01.01.123456
PubMed PMID: 12345678;PMCID: PMC1234567
ISBN ISBN-10 0-306-40615-2;ISBN-13 978-0-306-40615-7
报告号 NUREG-1234;PB123456;NACA 1234;NTRS 123456;AD-A123456;DOE/BR-123456;NASA/TM-2020-12345;EPA-600/R-14/001;RFC-9110
图书标识符 LCCN 81001630(https://lccn.loc.gov/81001630);OCLC 9264983(https://www.worldcat.org/oclc/9264983);Open Library OL4256224M(https://openlibrary.org/books/OL4256224M)

PMID 和 PMCID 必须带标签。没有标签的 6–8 位数字(如 20240101)会被忽略,避免误识别日期或样本号。查询按标识符选择来源:DOI 查询 Crossref、DataCite 和 OpenAlex;arXiv 编号查询 arXiv;PMID 查询 PubMed;PMCID 使用 PMC 搜索/交叉解析;ISBN 查询 Open Library;报告号查询 DataCite。只有题名时查询 Crossref、OpenAlex 和 arXiv。并发查询的来源最多为三个。例如,在对话中附上图书的 Open Library 页面,该标识符会随候选写入文献记录,但链接本身不会核实图书。

支持的引用格式

以整行文字贴进来的引用(而不是标识符)同样能被解析。

格式 示例
APA Smith, J. (2020). A study of something. Journal of Testing, 12(3), 45-67.
GB/T 7714 张三, 李四. 一种标题很长的中文文献标题测试用例[J]. 某某学报, 2020, 12(3): 45-67.
IEEE [1] A. Smith, "A titled paper," Journal of Testing, vol. 12, no. 3, pp. 45-67, 2020.
BibTeX @article{key, title = {A Study}, author = {Smith, John}, year = {2020}, doi = {10.1000/x}}
Vancouver 1. Smith J, Doe A. A study of something. Journal of Testing. 2020;12(3):45-67.

BibTeX 条目可以一次贴很多条 —— 一段消息里的几个块会被读成几条引用。 @string 宏会被展开,花括号会配对,所以 title = {A {DNA}-based method} 会作为一条完整的题名进来;没有题名的条目会被跳过,不会存成空条目。

标准号不是文献。ISO 9001、GB/T 12345、RFC 1918 只被当成文本,不会成为 条目 —— 研究对话里提到它们的次数远多于引用它们的次数。真正的报告号 (NACA 1234、NTRS 123456、DOE/BR-123456、NASA/TM-2020-12345、 RFC-9110)则会。

只有一个按钮

界面上只多了一样东西:输入框工具行里的 ❝ 引用,就排在「工作区内修改」和模型选择器旁边。没有侧栏、没有工具栏、没有常驻浮层。点一下才在窗口右上角展开捕获面板,关掉就恢复原样。

为什么不自己复制

三篇文献,手动复制就好。多了以后容易出错:一个 DOI 在工具结果里,一条 APA 在摘要里,还有一篇是两轮前只提过名字的。

让模型直接生成 .bib 更快,但模型会编页码、DOI 和作者顺序,这类错误往往到投稿前才被发现。

手动复制 让模型生成 .bib 本插件
条目从哪来 自己往回翻 模型的记忆 从你选定的对话里解析
元数据是否核对 没有 没有 Crossref、OpenAlex、arXiv、DataCite、PubMed、Open Library
核对不通过时 无 照样保留 移入 refs/quarantine.json,不参与导出
编造的页码、DOI、作者 无 可能出现 字段取自注册表记录;无依据的字段留空
为什么稿子里有这篇 丢失 丢失 注解加一句原文引证
同一份库导出两次 无 不保证一致 字节相同;条目排序、citekey 稳定
没有引用过的文献 不会带入 会被带入 默认排除;工具输出不算引用

安装

在 DSH 打开设置 → 插件 → 添加插件,输入 dsh-refkeeper。这个包已发布到 npm,一步装好,不跑构建(tarball 里带 lib/)。在当前 profile 启用后重载。

想跟随仓库更新而不是锁定发布版,就在同一个输入框里填 Git 地址 https://github.com/ymwang92/dsh-refkeeper;仓库里也提交了 lib/,同样不需要构建。

如果要在不依赖 DSH 宿主 API 的环境中使用纯引用处理逻辑,可从 dsh-refkeeper/core 导入,例如:import { extractIdentifiers } from 'dsh-refkeeper/core'。

配置

无需单独的插件 API key 或注册表配置;注解使用当前会话所选模型。面板中的「导出到」路径保存在 refs/settings.json,必须位于当前会话工作区内;文献库仍固定在 refs/refs.json。

使用

  1. 打开引用过文献的那个对话,点开输入框上方的捕获面板。
  2. 选择范围,点捕获文献。
  3. 面板会列出哪些已入库、哪些进了 ⚠ 隔离区。取消勾选这次不需要的条目。
  4. 选择 BibTeX 和/或 RIS,点导出本次捕获。

同样的事情用命令:

/refs capture --scope=all --save
/refs export --format=both

文件写在会话工作区的 refs/ 目录下。要导出到别处,在面板里粘贴一次文件夹路径即可,之后记在 refs/settings.json 里。会话工作区之外的文件夹会被拒绝,因为宿主只允许写入工作区内。

输出示例

refs/annotated.md 是给人看的版本:

### Physiographically sensitive mapping of temperature and precipitation across the conterminous United States

- Daly, C.; Halbleib, M.; Smith, J. I. et al. · 2008 · International Journal of Climatology 28 15 2031-2064 · DOI [10.1002/joc.1688](https://doi.org/10.1002/joc.1688)
- verification: **verified** 3/3 · crossref, openalex

> **Summary** — PRISM 插值:基于台站数据并做地形调整,生成美国本土的气温与降水格点。
> **Why it matters** — 第 3 节 800 m 气候常年值所用的数据集。
> **Evidence** — "we use the PRISM 800 m normals (Daly et al., 2008) as the baseline for the downscaling."

对应的 BibTeX 条目:

@article{daly2008physiographically,
  author = {Daly, C. and Halbleib, M. and Smith, J. I. and Gibson, W. P. and Doggett, M. K.},
  title = {Physiographically sensitive mapping of temperature and precipitation across the conterminous United States},
  journal = {International Journal of Climatology},
  year = {2008},
  volume = {28},
  number = {15},
  pages = {2031--2064},
  publisher = {Wiley},
  doi = {10.1002/joc.1688},
  url = {https://doi.org/10.1002/joc.1688},
  abstract = {PRISM interpolation: temperature and precipitation grids ...}
}

对话里没写卷、期、页码、出版社或语言时,这些字段从注册表记录补齐。对话和注册表都没有依据的字段不写进文件。

判定规则

对话文本
   │  标识符:DOI、arXiv 编号、带标签的 PMID/PMCID、ISBN、报告号、LCCN、OCLC、Open Library ID
   │  参考文献行:APA、GB/T 7714、IEEE、BibTeX、Vancouver
   ▼
候选条目 ──► 按标识符选择来源
                 DOI:Crossref / DataCite / OpenAlex · arXiv:arXiv
                 PMID:PubMed · PMCID:PMC 搜索/交叉解析
                 ISBN:Open Library · 报告号:DataCite
                 只有题名:Crossref / OpenAlex / arXiv
                 (并发查询的来源最多为三个)
   │
   ├─ 接受条件:标题匹配 · 年份相差 ±1 · 第一作者匹配
   │             且至少一个注册表返回记录
   ├─ 接受 ──► refs/refs.json        (verified)
   └─ 拒绝 ──► refs/quarantine.json  (⚠,保留可见,默认不导出)

还有第三种状态 unverified,用于注册表连不上的情况:条目留在库里,之后可以重试。网络故障不能说明引文有错。quarantined 则是注册表有应答、但结论不一致。

注解

四个字段:summary、relevance、evidence、caveats。捕获后由当前 profile 的默认模型根据提到这篇文献的对话行生成。提示词和解析层都拒绝描述「信息缺失」的句子(例如「摘录未提及本文」),这类内容存为空字符串,导出时整个字段省略,因此 BibTeX 里不会出现空的 note,RIS 里不会出现空的 N1。

模型调用每次捕获一次,上限 60 秒,最多覆盖 12 条。超出预算的条目、或当前没有可用模型的捕获,只保留书目字段,捕获结果会说明跳过注解的原因。ref_save 工具仍然接受你自己写的注解,已有的用户注解不会被覆盖。

中文文献

GB/T 7714 格式的参考文献行与 APA、IEEE、BibTeX、Vancouver 一起解析。中文标题按字符二元组与注册表记录比对(Dice ≥ 0.90),而不是按词元,否则罗马化的记录永远对不上。language 字段会写进两种导出格式。

中文期刊在开放注册表里的元数据很少。CNKI、万方、维普的链接只用于提取标识符,不作为注册表查询。中文条目需要手工修正的地方会比有英文 DOI 的文献多。

面板

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm dsh-refkeeper

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229