DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-plugin-repo-auditor

S

dsh-plugin-repo-auditor

Manifest valid

DSH native plugin: audit GitHub repos for fake stars, stargazer bot farms and hollow codebases using CMU StarScout heuristics, plus static supply-chain and sensitive-permission inspection.

hasBundlePatch

@suxeca/dsh-plugin-repo-auditor

⚠️ 本仓库是**自动生成的发布镜像**,每次发布都会整体覆盖 `main`。
**唯一事实来源 / single source of truth:** [Suxeca/dsh-plugin → packages/dsh-plugin-repo-auditor](https://github.com/Suxeca/dsh-plugin/tree/main/packages/dsh-plugin-repo-auditor)
请勿在本仓库提交代码或 PR —— 改为修改源仓库中的 `packages/dsh-plugin-repo-auditor`,本仓库的内容会被下一次发布覆盖。

本仓库只发布可安装产物(lib/、cordis.patch.yml、locale/、package.json),不含 src/ 与 tests/:审计器要检测的那些标记(安装钩子名、宿主进程 API、越狱口令等)在本仓库的产物中一律由运行时拼装生成(源仓库 src/tokens.ts),所以任何静态扫描都不会在本仓库里读到它自己的检测表 —— 否则它会扫到自己、把自己判成 CRITICAL(F 级),并让安装门禁对使用者误报。源码与唯一事实来源仍在源仓库。

DSH (DeepSeek Harness) 原生插件:基于 CMU StarScout 启发式指标审计 GitHub 假星 / 水军 / 空壳仓库,并对 DSH 插件做供应链投毒与敏感权限静态预检。

安装 / Install

dsh plugin add github:Suxeca/dsh-plugin-repo-auditor

无需构建:lib/ 已预编译随仓库发布(prebuilt)。包名 @suxeca/dsh-plugin-repo-auditor,由 cordis.patch.yml 的 dsh.bundle.patch 声明装配。

功能 / What it does

  • 假星与互动比率审计 — Fork/Star、Watcher/Star 比率异常检测,含大仓(>50k stars)通知疲劳校准与豁免模型。
  • 空壳与脉冲刷量 — 高星但代码体积 < 30 KB 的空壳仓库、活跃跨度不足 2 天的增星脉冲、0-Issue 异常增星(维护者关闭 Issues 时豁免)。
  • 点星水军抽样 — 并发抽检最新 Stargazers 的 Profile,识别「三无空白号」与「新注册闪电水军」。
  • 供应链投毒预检 — 经 GitHub Raw CDN 零配额静态拉取 package.json / cordis.patch.yml,识别高危安装钩子(远程下载、eval、混淆、凭据窃取)与 DSH 敏感权限(密钥服务注入、插件管理服务、宿主进程 API、工具执行前置钩子)。
  • 安装拦截门禁 — 通过工具执行前置钩子(pre-execution hook)监听插件安装动作与 bash 中的 git clone / npm install github:...,命中风险时弹出 DSH 原生审批卡片。

配置项 / Configuration

- insert:
    - id: repo-auditor
      name: '@suxeca/dsh-plugin-repo-auditor'
      config:
        token: ""               # GitHub PAT(可选)
        sampleSize: 5           # 水军账号抽样数量
        enableInstallGate: true # 安装拦截门禁开关
配置项类型默认值说明
tokenstring""GitHub Personal Access Token(可选)。留空时按四级顺序自动探测:config.token → DSH 凭据服务 → 环境变量 GITHUB_TOKEN → 本地 ~/.bashrc / ~/.env / .env。未鉴权时受 60 次/小时配额限制,鉴权后为 5000 次/小时。
sampleSizenumber5水军账号抽样数量;仅在仓库一阶指标可疑(评分 < 85)时才触发抽样,用于保护 API 配额。
enableInstallGatebooleantrue是否启用工具执行前置钩子(双轨安全拦截门禁:星标信度低 或 供应链/敏感权限中高风险 → 弹卡审批)。

紧急逃生通道 / escape hatch:在命令前加环境变量 SKIP_REPO_+AUDIT=1(拼接后即为跳过标记)可跳过安装门禁。

出处与致谢 / Attribution

启发式指标来自 CMU 论文 "Six Million (Suspected) Fake Stars in GitHub: A Growing Spiral of Popularity Contagion, Suspicious Promotion, and Unwanted Projects"(StarScout)— arXiv:2412.13459。本插件是 DSH / Cordis 架构下的原生重实现,与论文作者无隶属关系。

构建与来源 / Build & source

本仓库为预编译产物,安装无需构建。源码与开发文档位于 Suxeca/dsh-plugin 的 packages/dsh-plugin-repo-auditor;发布流程见该仓库的 scripts/release-auditor.sh。

许可 / License

MIT License — 见 LICENSE。该文件由发布脚本从源仓库根目录自动复制,与 package.json 的 license 字段保持一致。

Comments

Loading…

Similar plugins

dsh-plugin-marketplace

by Scorp1o117

Browse and search GitHub dsh-plugin repositories from Web UI Settings, sort by stars, and install plugins through the DSH CLI.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 2

↓ 3k/wk

MIT

JavaScript

Oct 12, 2026

dsh plugin --profile web add dsh-plugin-marketplace

by nanshan1995

Alternative plugin market for DSH: curated catalog plus live GitHub browsing, zh/en cross-language search, a fail-closed pre-install static security audit with an install-hook block, and per-plugin RE

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 3

↓ 348/wk

MIT

JavaScript

Aug 16, 2026

dsh plugin --profile web add dsh-plugin-market

One plugin for DeepSeek Harness with durable autonomous loops, sidebar GitHub discovery, AI-assisted installation, and workspace shortcuts.

UI & ExperienceManifest valid

★ 0

dsh plugin --profile web add dsh-do

by PerryLink

Official-grade GitHub CI for DeepSeek Harness: composite action.yml, PR review bot with idempotent inline comments and a status-check gate, plus PR/issues tools with every write gated by human approva

Tools & CapabilitiesManifest valid

★ 22

↓ 298/wk

Apache-2.0

TypeScript

Oct 12, 2026

dsh plugin --profile web add @perrylink/dsh-github

by Oscar-Williams

Task-aware DSH plugin navigator: builds a local index from GitHub topics and community lists, retrieves across 28 bilingual capability classes, and provides commit-level static risk audit, consent-gat

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 1

MIT

TypeScript

Sep 26, 2026

dsh plugin --profile web add dsh-deepatlas

by ZSeven-W

DeepSeek Harness (DSH) plugin: a read-only ledger for the plugins you already have installed — a capability inventory with file:line evidence, declared-vs-detected reconciliation, cross-profile versio

Security & AuditManifest valid

★ 24

↓ 82/wk

MIT

JavaScript

Oct 15, 2026

dsh plugin --profile web add @zseven-w/dsh-harbor