⚠️ This repository has been renamed: XiaoSHang05/dsh-rice-guard — click to visit the new location. Everything below is preserved as originally indexed.
Install verification: sandbox install ok, web smoke failed (L5) · tested on dsh 0.2.1-alpha.2 · last checked Install verification details →
What it doesAI
Watches a DeepSeek Harness turn's thinking and text streams and cancels the turn when the model starts repeating itself.
- Passively monitors a turn's thinking and text streams
- Detects model self-repetition and cancels the runaway turn
- Ships as a dsh Cordis watchdog plugin
Capability tags are AI-inferred or rule-extracted from the README (see badge) — vocabulary-limited, not install-verified. AI = inferred; README = literal keyword from the readme.
Installation
dsh plugin --profile web add github:XiaoSHang05/dsh-loop-guardInstall method: GitHub · sandbox install ok, web smoke failed (L5) · verified on dsh 0.2.1-alpha.2
Verification & Compatibility
Grouped by plugin version: each card lists the dsh versions actually tested against that artifact version and their install verdicts (L5 wins). Untested combinations are omitted — absence means untested, never assumed compatible. L1–L3 are a plugin-level static archive (independent of the dsh version — the same verdict on every dsh row): they sit in each row's level grid next to L4/L5, marked "static", while their evidence is stored once per plugin inside that row's "checks & evidence" instead of being duplicated per version.
External credentials (plugin-level): none detected
○ The author declares no dsh version requirement — install is not blocked by version.
Footnote: the author also wrote engines.dsh = ">=0.2.0-0 <0.3.0" — DSH does not read that field (not part of the verdict).
| plugin \ dsh | dsh 0.2.1-alpha.2 |
|---|---|
| v0.2.0 | · |
v0.2.0github2026-10-14
https://github.com/XiaoSHang05/dsh-loop-guard
No runtime install test for this version (static scan only) — compatibility unknown, never assumed.
Only the latest 3 published versions are shown; source-snapshot (commit hash) groups, unstated groups and older versions are omitted — the full archive stays in the data layer (snapshot/unstated groups appear only when a plugin has no published version).
Author badges
Embed the official badges in your README to showcase security & install-test status:
`[](https://www.dsh.so/artifact/dsh-loop-guard-5/)`Security Report
Two automated layers, neither a manual review: a static scan (per-plugin rule checks) and a model-driven dynamic security audit that covers only the subset static-flagged at warn or above and never executes plugin code.
Static low, dynamic low — stricter wins → overall low.
v0.2.0dsh manifestv0.2.0git2026-10-14v0.2.0same versionclean · gitVet is an AST static scan (npm artifact or git source).
show static findings (5)
- criticaleval · code-exec
_probe/browser/verify.mjs:19const box=await page.$eval('.lg-root',node=>{const r=node.getBoundingClientRect();return {width:r.width,height:r.height}}) - criticalnewFunction · code-exec
_probe/client/load.mjs:6new Function('window',readFileSync(new URL('../../lib/client.js',import.meta.url),'utf8'))(window) - warningchildProcess · code-exec
_probe/mutation.mjs:47if(file.includes('client')) assert.equal(spawnSync(process.execPath,['scripts/build-client.mjs'],{cwd:root,stdio:'ignore'}).status,0) - warningchildProcess · code-exec
_probe/mutation.mjs:48const run=spawnSync(process.execPath,[test],{cwd:root,stdio:'ignore',timeout:15000}) - warningchildProcess · code-exec
_probe/mutation.mjs:53if(file.includes('client')) assert.equal(spawnSync(process.execPath,['scripts/build-client.mjs'],{cwd:root,stdio:'ignore'}).status,0)
show 3 audit findings
- lowDev probe reads the local DSH browser-session secret and mints a cookie
_probe/env.mjs:65The probe helper reads ~/.dsh/.credentials.yaml, extracts the browser-session HMAC secret and signs a valid local web session cookie. This is developer tooling invoked manually (node _probe/*.mjs); nothing in the plugin runtime imports it, the cookie is authority-bound and is only sent to the local host (DSH_WEB_URL, default 127.0.0.1:19387) — no exfiltration channel and no attacker-controlled input.
- lowTest loader evaluates the built client bundle with new Function
_probe/client/load.mjs:6Runs the project's own build artifact (lib/client.js) inside the probe process. The input is a local file produced by scripts/build-client.mjs, not remote or attacker-supplied data, and the probe only stubs a __ModuleLoader__ shim; no runtime path of the installed plugin uses this loader.
- lowMutation harness rewrites plugin sources and spawns node, restoring them in finally
_probe/mutation.mjs:45The script patches src/index.js, src/detect.js and src/client.js, re-runs scripts/build-client.mjs and the probe tests via spawnSync, then restores the original bytes in a finally block. Targets, patterns and commands are hard-coded local constants; it is dev-only tooling a developer must invoke deliberately, and it corrupts nothing in the pinned plugin runtime.
Static-scan criticals sit in dev-only probe tooling (local credential read, dynamic eval); no plugin runtime entry point loads them, and no runtime-reachable risk was found in the harvested evidence.
Rule: the dynamic audit can only raise risk, never lower it (raise-only, never an exemption); a wrong raise is withdrawn by human review and the tier falls back to the static verdict. Overall verdict = the stricter of the two layers.
Disclaimer: the static scan and the dynamic security audit are both automated analysis, not a security guarantee. Always review what you install.
Activity
Last commit 2026-10-14 · activity: Active
• Repo created: 2026-10-13
• Stars: ★ 0 · Forks: 0
• Health: Active — committed within last 30 days
Source
Author README
View on GitHub ↗The author's original README from the repository — fetched live, unedited (the English page loads the default README).
