Skip to content

Chhlafiu4312/citeguard

30Last commit Aug 14, 2026

citeguard DSH plugin

CiteGuard extracts and verifies citations from drafts, using offline validation and bounded provider checks. It never conflates a link response with truth, providing confidence-labeled statuses such as verified, mismatch, or blocked.

How to install the citeguard DSH plugin

dsh plugin --profile web add https://github.com/Chhlafiu4312/citeguard/releases/download/v0.1.7/dsh-citeguard-0.1.7.tgz

Copying does not run this command. Review the repository and version before installing the citeguard DSH plugin.

citeguard DSH plugin data source

citeguard DSH plugin snapshot date: Aug 16, 2026

discovered

What the citeguard DSH plugin can do

  • Extracts DOI, arXiv, HTTP URL, and Markdown-link citations with normalization and deduplication.
  • Performs offline validation and bounded provider checks (Crossref, arXiv) with SSRF defenses.
  • Provides a model-callable `citeguard_check` tool, standalone CLI, stable JSON receipt, and reusable TypeScript API.
  • Configurable network mode (off, metadata, full) with timeouts, size limits, and redirect caps.
  • Detects title-similarity mismatch for descriptive Markdown links.

Where the citeguard DSH plugin fits

  • Verify citations in a research draft before submission.
  • Automatically check DOI and arXiv identifiers in AI-generated content.
  • Enforce citation quality and safety policies in a DeepSeek Harness pipeline.
  • Audit web links in documents for reachability without SSRF risk.
  • Integrate citation validation into a continuous integration workflow.

Who the citeguard DSH plugin is for

  • Researchers and authors who need to validate citations in drafts.
  • Developers using DeepSeek Harness to build AI applications with citation verification.
  • Content moderators or quality assurance teams reviewing AI-generated references.

citeguard DSH plugin limitations

  • Only supports Crossref and arXiv as fixed metadata providers; arbitrary URL verification requires explicit `full` network mode.
  • Requires Node.js 22.19+ and pnpm; npm package is not published (must build from source or use release tarball).
  • Early version (0.1.7); features and stability may change.
  • Cannot verify semantic correctness or research quality; only mechanical checks and confidence labels.

citeguard DSH plugin: from the repository README

Quoted from the Chhlafiu4312/citeguard README, the upstream source of the citeguard DSH plugin. Copyright remains with the original authors.

English | [中文](README.zh.md) [![CI](https://github.com/Chhlafiu4312/citeguard/actions/workflows/ci.yml/badge.svg)](https://github.com/Chhlafiu4312/citeguard/actions/workflows/ci.yml) [![License: BSD-3-Clause](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg)](LICENSE) CiteGuard is a citation linter and bounded metadata verifier for DeepSeek Harness. It extracts DOI, arXiv, URL, and Markdown citations from drafts, checks what can be checked mechanically, and labels every conclusion at the right confidence level. It never turns “the link responded” into “the claim is true.” ## Why it exists AI-generated citations fail in several different ways: malformed identifiers, invented papers, wrong titles, dead links, or a real paper placed beside a claim it does not support. CiteGuard catches the mechanical failures while preserving a clear boundary around semantic review. ```text draft ──> extract + normalize ──> offline validation ──> bounded provider check │ │ └── proximity labels ────┴──> evidence receipt ``` ## What you get - DOI, arXiv, HTTP URL, and Markdown-link ex

Read the full READMERepository license: BSD-3-Clause

citeguard DSH plugin questions

How do I install CiteGuard in DeepSeek Harness?

Run the command `npx -y @deepseek-ai/dsh plugin --profile web add https://github.com/Chhlafiu4312/citeguard/releases/download/v0.1.7/dsh-citeguard-0.1.7.tgz` in a terminal. Then restart the Web UI. For headless profiles, replace `web` with `headless`. The plugin registers a tool called `citeguard_check`.

Can CiteGuard verify arbitrary URLs automatically?

No, by default it only checks fixed metadata providers (Crossref and arXiv). To enable arbitrary URL verification, you must set `networkMode: "full"` in the plugin configuration. This mode includes SSRF defenses and validates every redirect target.

What does the status 'mismatch' mean?

'mismatch' means the DOI or arXiv identifier resolved to metadata, but the descriptive link label in the Markdown did not sufficiently resemble the provider's title (based on the configured `minTitleSimilarity` threshold). It does not indicate plagiarism or authorship issues.

How can I run CiteGuard offline?

Use the CLI with `--text` or `--file` without `--online` or `--full`. The tool will extract citations and perform offline validation only. Alternatively, in the `citeguard_check` tool, pass `online: false`.

Does CiteGuard guarantee that a citation is correct?

No. CiteGuard only performs mechanical checks: identifier syntax, provider resolution, reachability, and title similarity. It cannot verify semantic correctness, research quality, or whether a paper actually supports the claim. Human review is still required.