DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-dataset-card

d

dsh-dataset-card

Identified

Dataset documentation for DeepSeek Harness: bounded CSV/TSV/JSON/JSONL profiling (types, missingness, cardinality), redacted PII detection by column name and value pattern, and a Datasheet-style card

dsh-dataset-card: people.csv profiled in 5 rows — chk-dc-rows pass, no_license warn and pii_without_ethics fail — with the redacted PII findings and the inspection summary on the right

dsh-dataset-card

当前版本 0.1.4。

Publish the dataset with a Datasheet — and know where the personal data is before you do.

Profiles CSV/TSV/JSON/JSONL with a row cap, flags PII-like columns by name and redacted value patterns, refuses to store raw rows as evidence, and exports a Datasheet-style card with missing-section warnings.

简体中文 · Español · Português · हिन्दी

License Node


What it does

  • dataset_inspect — bounded read of .csv/.tsv/.json/.jsonl: column names, inferred types, missingness, sampled cardinality, and PII findings from column names and value patterns (email, phone, national ID, IPv4, name/address/DOB/IP columns). License and ethics statements are inputs; their absence becomes an issue.
  • dataset_pii — groups the redacted findings by kind and risk and gives the next action (de-identify, restrict, record consent).
  • dataset_card — Datasheet-style card: Motivation, Composition (column table), Collection, Preprocessing, Uses, Distribution, Maintenance; missing sections are listed and become SARIF warnings.
dsh-dataset-card structure: a CSV/TSV/JSON/JSONL dataset is read under a byte and row cap, profiled into column types, missingness and redacted PII, recorded as REP checks with the dataset kept only as a sha256 artifact, and exported as a Datasheet card plus SARIF 2.1.0

Structure: read → profile → record; the inspection and issues[] are the two outputs, and only the analysis becomes evidence — the dataset itself stays a sha256 artifact. The token labels inside the diagram are the real tool, field and check names, so the same picture serves all five languages.

Privacy design (deliberate)

  • Raw values never enter the output. PII evidence is redacted at the pattern level (***@***.***, 1**********, *****************).
  • Raw rows never enter the evidence store. The REP evidence is the analysis JSON; the dataset is represented by a sha256 artifact only.
  • The scan is a sample, not an audit. A clean scan is not proof of anonymity; k-anonymity, linkage and free-text fields are out of scope.

What it does not do

  • No re-identification or linkage testing.
  • No image/PDF/text-corpus datasets — tabular only.
  • No Excel/Parquet. Convert to CSV first.
  • No statistical disclosure control (generalisation, noise, k-anonymity).
  • No licence enforcement. It records what you declare.

Checks

CodeSeverityMeaning
no_licensewarningno license declared
pii_without_ethicserrorPII-like columns but no ethics/consent statement
duplicate_columnswarningduplicate header names
scan_truncatedinforow cap reached (profile is a sample)
no_rowswarningheader but no data rows
no_columnserrornothing parsed

Tools

dataset_inspect

{ path, label?, license?, ethics?, persist? } → { ok, inspection, evidenceId?, recordPath? }.

dataset_pii

{ inspection } → { ok, summary: { risk, byKind, findings, recommendations } }.

dataset_card

{ inspection, title?, description?, creators?, license?, ethics?, doi?, motivation?, composition?, collection?, preprocessing?, uses?, distribution?, maintenance? } → { ok, card, markdown, sarif }.

Error codes

INVALID_INPUT · NOT_FOUND · PATH_ESCAPE · NOT_A_FILE · TOO_LARGE · UNSUPPORTED_FORMAT · PARSE_ERROR · STORE_ERROR

Compatibility & install

DeepSeek Harnessdsh-v0.2.3-alpha.1 (verified 2026-11-22); peer >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0
Node^22.19.0 || >=24.9.0 (tested 24.22.1), ESM only
Peers@perrylink/dsh-research-core ^0.1.0, @deepseek-ai/cordis ^4.0.5-alpha.1, @deepseek-ai/dsh-tools, @deepseek-ai/schemastery ^3.18.5-alpha.1
Runtime dependencieszero
dsh plugin --profile <name> add @perrylink/dsh-research-core dsh-dataset-card
dsh --profile <name> --dump-config | grep dsh-dataset-card

Configuration

KeyDefaultMeaning
enabledtruefalse mounts nothing
root.dataset-cardstore/record root
workspaceRootprocess.cwd()dataset paths must resolve inside it
maxBytes20971520file cap (fails, never truncates)
maxRows10000rows scanned for the profile
persisttruestore the analysis (not rows) as REP evidence

Security boundaries

  • Read-only on the dataset; writes only under root.
  • realpath containment; unsupported extensions rejected before reading.
  • The evidence snapshot is the analysis JSON; a test asserts the record text does not contain fixture PII.
  • Values are only ever used for pattern matching; they are not logged.

Evaluation

dsh-dataset-card test suite: a real run of the 3 test files — 6 inspection tests, the mount contract and 7 runtime and tool tests all pass

Animated: the real pnpm test output on 2026-11-21 (3 test files). The plugin has no CLI, so its own suite is the run — parsing, redaction, the REP record and the Datasheet card.

14 tests: quoted CSV parsing (embedded commas, escaped quotes, newlines), type inference, column profiling and missingness, PII detection by column name and value pattern with a no-leak assertion, missing-license and PII-without-ethics issues, JSON/TSV parsing, row-cap truncation, runtime (record validity, analysis-only evidence, sha256 data artifact), traversal/unsupported/oversize/parse-error/shape rejection, malformed-inspection tool guards, tool schemas, inspect→pii→card end to end, failure branches, package contract.

No benchmark is claimed: this is a rule-based profiler; its correctness is the redaction and the checks, both pinned by fixtures.

Known limitations (v0.1)

  • PII detection is pattern-based; names in free-text columns, addresses without keywords and linked quasi-identifiers can be missed.
  • Cardinality is sampled over the scan window, not the full dataset.
  • CSV parsing assumes one header row and no type metadata.
  • The card never verifies the claims you write into it.

License

Apache-2.0. No third-party runtime code.

Comments

Loading…

Similar plugins

dsh-knowledge-dag

by moazzamak

A DeepSeek Harness plugin that shows a research graph: one JSON node store drawn as a node-link graph, a filterable board, and a steering frontier in the right pane, with a knowledge_dag tool for the model.

Development & InfrastructureManifest valid

★ 0

NOASSERTION

JavaScript

Oct 6, 2026

dsh plugin --profile web add dsh-knowledge-dag

by PerryLink

DeepSeek Harness plugin: deterministic data profiling, cleaning, and verification (dsh-data-quality)

Tools & CapabilitiesManifest valid

★ 55

↓ 830/wk

Apache-2.0

TypeScript

Nov 22, 2026

dsh plugin --profile agent add dsh-data-quality

by joejojoking-cloud

File explorer plugin for DeepSeek Harness: file tree, preview, markdown, syntax highlighting, in-panel editing, VS Code integration - DeepSeek Harness 全局文件资源管理器插件

UI & ExperienceManifest valid

★ 21

↓ 77/wk

TypeScript

Aug 31, 2026

dsh plugin --profile web add dsh-file-explorer

by thegabopacheco-sudo

Analista de datos para DeepSeek Harness: perfil de CSV/XLSX/JSON, consultas con pandas, agrupaciones y exportacion a CSV/XLSX usando el Python bundled de DSH.

Manifest valid

★ 0

MIT

JavaScript

Nov 12, 2026

dsh plugin --profile web add dsh-plugin-data-analyst

by liguobao

DeepSeek Harness 通用只读文件预览插件,支持图片、PDF、CSV、Markdown、JSON、YAML、源码及大文件。

UI & ExperienceManifest valid

★ 6

↓ 196/wk

MIT

TypeScript

Sep 10, 2026

dsh plugin --profile web add dsh-file-viewer

by zhangjiabo522

DeepSeek Harness 文档工具插件:read/create/edit PDF/DOCX/XLSX/PPTX/CSV/Markdown(read_document、create_document、edit_document)

Manifest valid

★ 0

MIT

TypeScript

Aug 15, 2026

dsh plugin --profile web add @deepseek-ai/dsh-tool-doc