Install verification: runtime verified (L5) · tested on dsh 0.2.1-rc.2 · last checked Install verification details →
What it doesAI
Relays TRAE account model quotas into dsh with multi-account management, daily check-in, rotation, usage stats and reasoning levels.
- Uses TRAE account model quota inside dsh via OpenAI-compatible relay
- Multi-account management with daily check-in and automatic rotation
- Usage statistics, reasoning levels and model visibility controls
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:FuSheng-cs/Trae2api-dsh#v1.3.1Install method: GitHub · 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 |
|---|---|---|---|
| v1.3.1 | ✓ | ✓ | ✓ |
v1.3.1github✓ 3 runtime-verified2026-10-19
https://github.com/FuSheng-cs/Trae2api-dsh
✓dsh 0.2.1-rc.2current2026-10-19L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.2.1-rc.2
- • Plugin artifact: github · https://github.com/FuSheng-cs/Trae2api-dsh#v1.3.1
ID: trae2api-dsh@v1.3.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: github · https://github.com/FuSheng-cs/Trae2api-dsh#v1.3.1
ID: trae2api-dsh@v1.3.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-14L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.2.1-alpha.2
- • Plugin artifact: github · https://github.com/FuSheng-cs/Trae2api-dsh#v1.3.1
ID: trae2api-dsh@v1.3.1@dsh0.2.1-alpha.2 · profile: l4-sandbox
Issued: 2026-10-14 · expires: 2026-10-21
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.
Author badges
Embed the official badges in your README to showcase security & install-test status:
`[](https://www.dsh.so/artifact/trae2api-dsh/)``[](https://www.dsh.so/artifact/trae2api-dsh/)`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.
v1.3.1dsh manifestv1.3.1git2026-10-21v1.3.1same versionclean · gitVet is an AST static scan (npm artifact or git source).
show static findings (8)
- warningnetIp · network
lib/console-bridge.js:58const url = "http://127.0.0.1:" + server.address().port; - warningchildProcess · code-exec
lib/runtime.js:69const child = spawn(command, args, { - warningchildProcess · code-exec
lib/runtime.js:318this.child = spawn( - warningnetIp · network
lib/runtime.js:163return `http://127.0.0.1:${this.config.port}`; - warningnetIp · network
python/console_models.py:13if not url.startswith('http://127.0.0.1:') or not key: - warningnetIp · network
python/relay_entry.py:142relay = 'http://127.0.0.1:' + os.environ['PORT'] - warningnetIp · network
python/relay_entry.py:144source = (ENGINE / 'start_auth.bat').read_text('utf-8').replace('http://192.168.5.246:8000', relay) - warningnetIp · network
python/relay_entry.py:152source = (ENGINE / 'web_login.py').read_text('utf-8').replace('http://192.168.5.246:8000', relay)
show 2 audit findings
- lowPort is probed, then the relay API key is sent to whatever answers /healthz on that port
lib/runtime.js:296availablePort binds the port, closes it, and only then spawns the Python child; readiness is confirmed solely by `if (r.ok) { this.state = "running" ... }` against http://127.0.0.1:<port>/healthz. A local process that wins the bind race between the probe and the child's listen is treated as the relay, and the plugin then sends `Authorization: Bearer <apiKey>` (runtime.request) and the console bridge capabilities to it, and serves attacker-controlled content inside the DSH console iframe. Requires an attacker already able to bind loopback ports on the same machine, hence low.
- lowFirst-run pip install of the vendored requirements.txt from PyPI without hash pinning
lib/runtime.js:258During setup the plugin copies vendor/trae2api-cn into the data directory and resolves its requirements by name from the default index at install time. Any compromised, yanked-then-republished or typo-squatted package executes arbitrary code in the venv that later runs the relay holding the user's TRAE account tokens and the relay API key. requirements.txt is outside the harvested set, so no evidence of hashes or version pinning was available.
Hardened local relay: loopback-only with per-instance keys, host/Origin checks, no shell or injection; only low-severity hardening gaps found.
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-17 · activity: Active
• Repo created: 2026-10-11
• Stars: ★ 2 · 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).
