Install verification: runtime verified (L5) · tested on dsh 0.2.1-rc.2 · last checked Install verification details →
What it doesAI
Local HTTP bridge that mimics the BSide: Olivia Lin backend so in-game letters get answered by a persistent DSH agent session.
- Runs a loopback HTTP server impersonating the shut-down game backend
- Reproduces the /toy/letter/* contract so the client works unchanged
- Feeds every letter into a persistent agent session that remembers all mail
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 dsh-olivia-bridgeInstall method: npm · runtime verified (L5)
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.
| plugin \ dsh | dsh 0.2.1-rc.2 current | dsh 0.2.1-alpha.4 | dsh 0.2.1-alpha.2 |
|---|---|---|---|
| 0.2.1 | ✓ | ✓ | ✓ |
| v0.2.1 | · | · | · |
0.2.1npm✓ 3 runtime-verified2026-10-19
dsh-olivia-bridge
✓dsh 0.2.1-rc.2current2026-10-19L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.2.1-rc.2
- • Plugin artifact: npm · dsh-olivia-bridge@0.2.1
ID: dsh-olivia-bridge@0.2.1@dsh0.2.1-rc.2 · profile: l4-sandbox
Issued: 2026-10-19 · expires: 2026-10-26
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✓dsh 0.2.1-alpha.42026-10-16L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.2.1-alpha.4
- • Plugin artifact: npm · dsh-olivia-bridge@0.2.1
ID: dsh-olivia-bridge@0.2.1@dsh0.2.1-alpha.4 · profile: l4-sandbox
Issued: 2026-10-16 · expires: 2026-10-23
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✓dsh 0.2.1-alpha.22026-10-15L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.2.1-alpha.2
- • Plugin artifact: npm · dsh-olivia-bridge@0.2.1
ID: dsh-olivia-bridge@0.2.1@dsh0.2.1-alpha.2 · profile: l3-fullscan
Issued: 2026-10-15 · expires: 2026-10-22
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
v0.2.1github2026-10-14
https://github.com/MacilyDots/dsh-olivia-bridge
No runtime install test for this version (static scan only) — compatibility unknown, never assumed.
Author badges
Embed the official badges in your README to showcase security & install-test status:
`[](https://www.dsh.so/artifact/dsh-olivia-bridge/)``[](https://www.dsh.so/artifact/dsh-olivia-bridge/)`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 high — stricter wins → overall high.
v0.2.1dsh manifest0.2.1npm2026-10-210.2.1same versionclean · npmVet is an AST static scan (npm artifact or git source).
show static findings (8)
- warningshellExec · shell
lib/midi.js:381execFileSync(this.ffmpegPath, [ - warningnetIp · network
lib/midi.js:298createUpload({ filename = "upload.mid", uploadUrl = "http://127.0.0.1:8791" } = {}) { - warningnetIp · network
lib/midi.js:321generate({ midiUrl, filename = "", mediaBaseUrl = "http://127.0.0.1:8791" }) { - warningnetIp · network
lib/midi.js:486const base = job.mediaBaseUrl ?? "http://127.0.0.1:8791"; - warningnetIp · network
tools/diagnose.mjs:5const base = `http://127.0.0.1:${port}`; - warningnetIp · network
tools/inject.js:23var LOCAL = 'http://127.0.0.1:8791'; - warningnetIp · network
tools/inject.js:24var HELPER = 'http://127.0.0.1:8792'; - warningnetIp · network
tools/verify.mjs:5const base = `http://127.0.0.1:${port}`;
show 3 audit findings
- highUnauthenticated loopback bridge reflects any Origin with credentials and exposes letters plus agent control
lib/index.js:83No route checks a token, uid or Origin (x-token/x-uid are only listed in Access-Control-Allow-Headers and never validated), while the response echoes the caller's Origin and allows credentials. Any web page the user visits (subject to browser local-network rules) or any local process can therefore read GET /toy/letter/list (the whole private letter history, which store.toDetail also returns in full), delete everything via POST /toy/letter/clear or /toy/letter/delete, and drive the agent through POST /toy/letter/send, /olivia/agent-test, /olivia/llm-test and /olivia/retry — turning 127.0.0.1:87
- mediumAgent answering letters is silently elevated to the danger-full-access permission preset
lib/agent-bridge.js:212cordis.patch.yml sets permissionPreset: '' with the comment 'follow the session default; writing letters itself does not touch the filesystem', but the empty value is filtered out and 'danger-full-access' is tried first, so the letter-answering session normally runs with full tool/file/command access. Because letter text is delivered verbatim into that session (agent.followup(userMessage(text))) and is reachable without authentication (see the network finding), attacker-influenced text becomes a prompt-injection path to arbitrary tool execution as the DSH user, contradicting the stated design.
- lowInjected game-client probe exposes an unauthenticated local command channel and logs request URLs
tools/inject.js:21Once injected into the game's index.html this probe polls http://127.0.0.1:8792/next every 4s and executes whatever it returns: router navigation and document.querySelector(cmd.sel).click() on arbitrary selectors. Any local process that binds port 8792 before the helper does gains UI control inside the game client (and the probe also transparently rewrites the client's /toy/* and miyoushe/mihoyo requests to the bridge). It additionally reports every XHR/fetch URL (first 300 chars) to the bridge log, which can capture tokens carried in query strings. Local-only and dev-tooling scoped, but nothi
Unauthenticated loopback bridge reflects any Origin with credentials and forwards untrusted letter text into an agent session that falls back to danger-full-access.
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-16 · activity: Active
• Repo created: 2026-10-06
• 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).
