dsh-redteam-model
SeaOf0
基于dsh web实现的多种模式,目的是服务于redteam进行授权的安全研究,覆盖渗透测试、红队评估、代码审计等范围领域,请勿用于非法行为。(允许二开,赋予模块各位自己的业务逻辑,方法论只有自己熟练的才好用,好的方法论=好的生态)
PerryLink/dsh-dmp
Data-management-plan tooling for DeepSeek Harness: a ten-section scaffold with prompts, completeness/consistency checks (datasets, personal data, open-sharing conflicts, retention minimum, backup, repository/license/DOI, contact), Markdown/JSON/SARIF export. Checks are internal consistency checks, not funder-template certification; no network, no f
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:PerryLink/dsh-dmp
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A data-management plan that says where the data lives, who can touch it, and what happens after the grant ends.
Ten-section scaffold with prompts, completeness and consistency checks (personal data vs open sharing, retention minimum, backup, repository/licence/DOI), and a Markdown export you can paste into the funder's form.
English · 简体中文
dmp_scaffold — returns the ten sections (data description, collection, documentation, storage/backup, security, sharing, retention, roles, legal basis, costs) filled with prompts, not invented project content, plus optional dataset entries.dmp_check — completeness (10 sections), dataset coverage (repository, licence, DOI), personal-data consistency (security and legal basis required; open sharing without de-identification is an error), retention below the configured minimum, storage without backup, missing contact.dmp_export — Markdown (identity, dataset table, sections, issue table) + JSON check + SARIF 2.1.0.| Key | Required content |
|---|---|
dataDescription |
datasets, types, formats, volumes, personal-data flag |
collection |
collection/generation process |
documentation |
metadata standard, codebook, README |
storage |
storage location, backup, restore tests |
security |
access control, encryption, devices |
sharing |
what is shared, when, licence, repository, access route |
retention |
explicit years and destruction plan |
roles |
data steward, responsibilities, contact |
legal |
ethics approval, consent, DPA, transfers |
costs |
storage/curation costs and coverage |
| Code | Severity | Meaning |
|---|---|---|
missing_* |
warning/error | a required section is empty or too short |
no_datasets |
error | no dataset listed |
personal_data_without_security / _without_legal |
error | personal data flagged, section missing |
open_sharing_of_personal_data |
error | open sharing proposed without de-identification/restricted access |
retention_below_minimum |
warning | parsed retention < configured minimum (default 5 years — verify) |
retention_unparseable |
warning | no explicit period found |
storage_without_backup |
warning | storage section never mentions backup/versioning |
dataset_without_repository / _without_license |
warning | dataset lacks repository or licence |
dataset_without_persistent_id |
info | no DOI |
no_contact |
warning | no data steward/contact |
dmp_scaffold{ title?, funder?, grantId?, institution?, contact?, datasets? } → { ok, plan }.
dmp_check{ plan, minRetentionYears? } → { ok, check: { complete, coverage, issues, retentionYears? } }.
dmp_export{ plan, minRetentionYears? } → { ok, markdown, check, sarif }.
| DeepSeek Harness | dsh-v0.2.1-rc.5 (verified 2026-11-08); 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 dependencies | zero |
dsh plugin --profile <name> add @perrylink/dsh-research-core dsh-dmp
dsh --profile <name> --dump-config | grep dsh-dmp
Family-wide peer note:
@perrylink/dsh-research-coreis declared as a peer for a single, uniform install contract across the research family, even though this package does not import it at runtime.
| Key | Default | Meaning |
|---|---|---|
enabled |
true |
false mounts nothing |
minRetentionYears |
5 |
scaffold default for the retention check — not a funder rule |
14 tests: scaffold (10 prompt sections), retention parsing (years, Chinese 年, months, unparseable), complete plan accepted, missing sections/retention/backup flagged, open-sharing-of-personal-data conflict, a journal publication not mistaken for open sharing, prompt-only scaffolds not counted as complete, empty dataset fields/contact treated as missing, malformed-plan and retention-override guards, tool schemas, scaffold→check→export end to end, failure branches, package contract.
No benchmark is claimed: these are structural checks on a JSON document, pinned by fixtures.
containsPersonalData, sharing wording); they cannot verify reality.dmp_check treats them as missing until replaced with project text.Apache-2.0. No third-party runtime code.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: privacy。