unStone / dsh-xray

목록에 있음

X-ray for DeepSeek Harness plugins: declared capabilities vs actual behavior. Registry + static scanner + badges.

master도구 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:unStone/dsh-xray

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 27d09f6동기화 2026. 8. 18.

최근 디렉터리 동기화에서 이 README 스냅샷을 새로 고치지 못했습니다.

dsh-xray

X-ray for DeepSeek Harness plugins — what they declare vs. what their code actually does.

给每个 dsh 插件拍一张 X 光片:声明了什么权限,代码实际在做什么。

🔍 Website: unstone.github.io/dsh-xray · Registry: /registry.html — English / 简体中文 / 日本語

Why

The dsh-plugin ecosystem went from ~200 to 6,900+ repos in 30 days. Plugins run arbitrary code inside your agent runtime: they can rewrite your system prompt (system-prompt/assemble), intercept every API call (api/gate), spawn subprocesses, read GITHUB_TOKEN from your env, and even patch the runtime itself (manifest.bundle.patch). Today nothing surfaces any of that before you install.

dsh-xray statically scans every plugin in the ecosystem and publishes a capability card:

DimensionExamples
Declared surfacemanifest, injected services, registered tools, hooks
Powerful capabilitiessystemPrompt / apiProxy / subprocess injection, tools/pre-execute gate, runtime patches
Sensitive behaviorexec / eval / base64 decode in shipped code, install-time scripts, outbound domains, credential-like env reads
Transparency gapscapability used in code but absent from the manifest

Every flag carries file:line evidence. Levels C0–C3 measure capability surface and transparency — not maliciousness. A C3 plugin can be perfectly legitimate; you just deserve to know before it touches your agent.

Badge

Plugin authors: show users your capability card.

[![dsh-xray](https://img.shields.io/endpoint?url=https%3A%2F%2Funstone.github.io%2Fdsh-xray%2Fbadge%2F<owner>__<repo>.json)](https://unstone.github.io/dsh-xray/registry.html#<owner>__<repo>)

Run it yourself

python scanner/discover.py 3        # top repos via topic:dsh-plugin (needs gh auth)
cd scanner && python pipeline.py 200 8   # tarball-download + scan, no git clone

Outputs: data/scans/*.json (full cards), docs/data.json (site data), docs/badge/*.json (shields endpoints).

A daily GitHub Action (.github/workflows/scan.yml) refreshes everything. Pushing that file needs the workflow OAuth scope:

gh auth refresh -s workflow && git -C . add .github/workflows/scan.yml && git commit -m "ci: daily scan" && git push

Methodology & fair play

  • Static analysis only; nothing is executed.
  • Shipped code and test/dev code are classified separately; risk flags fire on shipped code only.
  • False positive? Open an issue — cards link evidence so disputes are checkable, and rules get fixed in public.

Roadmap

  • Full-ecosystem coverage (6.9k repos) + daily diff feed ("what changed in plugins you use")
  • cordis.patch.yml runtime-patch audit view
  • Install-gate companion plugin: block/ask on C2+ installs from inside dsh
  • Multi-harness: Abu-Cowork & Claude Code plugin formats
  • Private registry / org policy engine (enterprise)

Apache-2.0

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

문서감지됨

저장소 정보

언어
Python
라이선스
Apache-2.0
마지막 업데이트
2026. 8. 18. AM 8:33

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.