Khorsheed/dsh-ankh-guard

C3

dsh 自托管运维守护:agent 改完代码先验证构建测试再重启,起不来自动回滚。镜像仓,与 Khorsheed/dsh-plugins 的 packages/ankh-guard 自动同步。

★ 5+ · Khorsheed/dsh-ankh-guard source on GitHub · this plugin in the registry

Khorsheed/dsh-ankh-guard is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, runs code at install time, executes system commands.

Installable plugin — declares a dsh.bundle manifest

What it can do

CapabilityFlagEvidence
patches the dsh runtimeruntime_patch./cordis.patch.yml
runs code at install timeinstall_scriptpostinstall: node scripts/on-install.js
executes system commandsexec×48 in authored code, e.g. scripts/run-test-lane.mjs:2, scripts/run-test-lane.mjs:2

Services it injects

agents invariants

Hooks it attaches

agent/created agent/pre-step

Environment variables it reads

DSH_SESSION_ID DSH_TELEMETRY_DISABLED npm_config_user_agent DSH_TEST_MAX_WORKERS DSH_PREFLIGHT_COMMAND DSH_PROFILE DSH_ANKH_VERDICT_FILE DSH_ANKH_RESTART_DRIVER DSH_HOME DSH_ANKH_SUPERVISED

How to read this

Levels measure capability surface and transparency, not maliciousness. A C3 plugin can be entirely legitimate — a desktop shell genuinely needs subprocesses. The point is that you can see this before installing. See the levels explained and how dsh plugins work.

Findings come from static analysis of shipped code; nothing is executed. Think a flag is wrong? Open an issue — every flag cites the file and line it came from.