@JMX-4869/dsh-mood avatar

@JMX-4869/dsh-mood

给 DeepSeek Harness 加一层心情。33 种心情各自持有数值,每 3~6 小时自己变 —— 它会累、会烦、会好奇;也会因为一轮里工具老报错而烦躁。附带:心情日记(每天 23:59 自己写)、跨会话记忆、品味库(判断的轨迹,跨会话带着看东西)、时事抓取(RSS / 网页 / 视频抽帧)、可选的主动开口。全部数据在本地、可搬到任意盘。MIT 开源。

PluginAI ModelsBrowserKnowledgeMediaMemoryWeb searchNotifications
Verification
L5 · Run tested
Verified
Risk
LowRisk
Health
Active
Trust
Gold

Install verification: runtime verified (L5) · tested on dsh 0.2.1-rc.2 · last checked Install verification details →

Install verification badge dsh 0.2.1-rc.2

What it doesAI

Adds a mood/persona layer to DeepSeek Harness with 33 evolving moods, a daily mood diary, cross-session memory, and news feeds.

  • 33 moods with numeric values that drift every 3-6 hours
  • Daily 23:59 mood diary, cross-session memory and taste library
  • RSS/web/video news ingest with optional proactive speaking
aiAImemoryAIweb-searchAInotificationAI

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:JMX-4869/dsh-mood#v0.14.9
verified v0.14.9

Install 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

Declared DSH compatibilityfrom package.json · peerDependencies
author declared no dsh version requirement

○ The author declares no dsh version requirement — install is not blocked by version.

Install compatibility matrix (rows = plugin versions〔latest 5〕, columns = dsh versions〔latest 5〕)
At-a-glance → evidence in the cards below
plugin \ dshdsh 0.2.1-rc.2
current
dsh 0.2.1-alpha.2
v0.14.9✓·
v0.14.8··
v0.7.0·✓
Install compatibility (by plugin version, dsh versions within)
Legend:✓ L5 runtime verified○ ecosystem plugin◼ ecosystem app✗ failed
v0.14.9github✓ 1 runtime-verified2026-10-21

https://github.com/JMX-4869/dsh-mood

✓dsh 0.2.1-rc.2current2026-10-21L5 · runtime verified
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-rc.2
  • • Plugin artifact: github · https://github.com/JMX-4869/dsh-mood#v0.14.9
Levels (L1–L3 plugin-level static archive · L4/L5 newest real verdicts for this combination)
L1 static
Passed
L2 static
Passed
L3 static
Passed
L4 sandbox
Passed
L5 runtime
Passed
Install + runtime smoke verified in the dsh sandbox — installs and runs
L5 · runtime verified · valid for dsh 0.2.1-rc.2

ID: dsh-mood-2@v0.14.9@dsh0.2.1-rc.2 · profile: l3-fullscan

Issued: 2026-10-21 · expires: 2026-10-28

View checks & evidence
L1 · Found✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L2 · Structured✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L3 · Install spec✓ Passed
Install command parsed✓ Passed
Source: registry verification · Method: install spec parse · Captured 2026-10-21
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-10-21
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-20
spec github:JMX-4869/dsh-mood#v0.14.9 · channel GitHub source · outcome ran · exit 0
check took: 1.9s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-20
spec github:JMX-4869/dsh-mood#v0.14.9 · channel GitHub source · outcome ran · exit 0
check took: 1.9s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-20
spec github:JMX-4869/dsh-mood#v0.14.9 · channel GitHub source · outcome ran · exit 0
check took: 1.9s
L5 · Run tested✓ Passed

active in loader tree (150 entries)

Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-20
spec github:JMX-4869/dsh-mood#v0.14.9 · install mode reused L4 scratch
check took: 556ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-10-20
ready line dsh web: http://127.0.0.1:49741/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-10-20
path / · HTTP 200 · took 556ms
Plugin active in inventory✓ Passed
Source: DSH runtime · Method: plugin inventory query · Captured 2026-10-20
verdict active · entries 150
match: include:dsh-mood · dsh-mood · phase active
phases: active 122 · null 28

L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.

v0.14.8github2026-10-18

https://github.com/JMX-4869/dsh-mood

No runtime install test for this version (static scan only) — compatibility unknown, never assumed.

v0.7.0github✓ 1 runtime-verified2026-10-15

https://github.com/JMX-4869/dsh-mood

✓dsh 0.2.1-alpha.22026-10-15L5 · runtime verified
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-alpha.2
  • • Plugin artifact: github · https://github.com/JMX-4869/dsh-mood#v0.7.0
Levels (L1–L3 plugin-level static archive · L4/L5 newest real verdicts for this combination)
L1 static
Passed
L2 static
Passed
L3 static
Passed
L4 sandbox
Passed
L5 runtime
Passed
Install + runtime smoke verified in the dsh sandbox — installs and runs
L5 · runtime verified · valid for dsh 0.2.1-alpha.2

ID: dsh-mood-2@v0.7.0@dsh0.2.1-alpha.2 · profile: l3-fullscan

Issued: 2026-10-15 · expires: 2026-10-22

View checks & evidence
L1 · Found✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L2 · Structured✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L3 · Install spec✓ Passed
Install command parsed✓ Passed
Source: registry verification · Method: install spec parse · Captured 2026-10-21
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-10-21
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-14
spec github:JMX-4869/dsh-mood#v0.7.0 · channel GitHub source · outcome ran · exit 0
check took: 2.6s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-14
spec github:JMX-4869/dsh-mood#v0.7.0 · channel GitHub source · outcome ran · exit 0
check took: 2.6s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-14
spec github:JMX-4869/dsh-mood#v0.7.0 · channel GitHub source · outcome ran · exit 0
check took: 2.6s
L5 · Run tested✓ Passed

active in loader tree (150 entries)

Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-14
spec github:JMX-4869/dsh-mood#v0.7.0 · install mode reused L4 scratch
check took: 1.2s
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-10-14
ready line dsh web: http://127.0.0.1:61182/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-10-14
path / · HTTP 200 · took 1.2s
Plugin active in inventory✓ Passed
Source: DSH runtime · Method: plugin inventory query · Captured 2026-10-14
verdict active · entries 150
match: include:dsh-mood · dsh-mood · phase active
phases: active 122 · null 28

L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.

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:

dsh.so risk
`[![dsh.so risk](https://www.dsh.so/badge/dsh-mood-2.svg)](https://www.dsh.so/artifact/dsh-mood-2/)`
dsh 0.2.1-rc.2 install verified
`[![dsh.so install · dsh 0.2.1-rc.2](https://www.dsh.so/badge/install/dsh-mood-2@0.2.1-rc.2.svg)](https://www.dsh.so/artifact/dsh-mood-2/)`

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.

dsh-mood-2Automated review · daily

Static low, dynamic medium — stricter wins → overall medium.

static low→dynamic medium→overall medium
0 critical·0 high
mediumoverall · medium
1static scan · vet primaryvet AST static analysis (npm artifact or git source)
plugin versionv0.14.9dsh manifest
scanned versionv0.14.9git2026-10-21
current versionv0.14.12version moved on
vet verdictclean · git

Vet is an AST static scan (npm artifact or git source).

show static findings (10)
  • warningchildProcess · code-execasr.js:39

    const r = spawnSync(p, ['-c', 'print(1)'], { timeout: 8000, windowsHide: true, encoding: 'utf8' })

  • warningchildProcess · code-execasr.js:50

    const r = spawnSync(py, ['-c', 'import faster_whisper, ctranslate2; print("ok")'],

  • warningchildProcess · code-execasr.js:332

    const r = spawnSync(ffmpegPath, ['-y', '-hide_banner', '-loglevel', 'error',

  • warningchildProcess · code-execmeasure.js:45

    const r = spawnSync(exe, [

  • warningchildProcess · code-execmeasure.js:86

    const r = spawnSync(exe, ['-hide_banner', '-nostats', '-i', videoPath, '-vf', vf,

  • warningchildProcess · code-execmeasure.js:123

    const r2 = spawnSync(exe, ['-hide_banner', '-nostats', '-i', videoPath, '-af', 'silencedetect=n=-35dB:d=0.6',

  • warningfsWrite · filesmemory.js:221

    if (lines.length) fs.appendFileSync(p, lines.join('\n') + '\n', 'utf8')

  • warningfsWrite · filesmemory.js:260

    fs.writeFileSync(tmp, keep.map((o) => JSON.stringify(o)).join('\n') + (keep.length ? '\n' : ''), 'utf8')

  • warningfsWrite · filesmemory.js:373

    fs.appendFileSync(to, a.endsWith('\n') ? a : a + '\n', 'utf8')

  • warningchildProcessImport · code-execscan-private.mjs:41

    import { execFileSync } from 'node:child_process'

2model reads redacted source context · never executes plugin code
highest grademedium
merged intooverall medium
audited at2026-10-19
findings0 critical·0 high1 medium / 2 low hidden
show 3 audit findings
  • mediumCross-session memory archive stores full chat text in plaintext on diskmemory.js:221

    Every message of 8+ characters (clipped at 8000) is appended verbatim as JSONL to a fixed, predictable path (~/.dsh/dsh-mood-memory.jsonl or a configured directory), shared across all sessions and kept until the 50 MB cap drops the oldest rows. Secrets typed into any chat (API keys, passwords, personal data) end up unencrypted in a home-directory file that the agent can search from any later session and that backups/cloud sync will copy. The sibling diary is encrypted with a key file, so the protection level here is inconsistent.

  • lowGenerated Python script is written to a fixed shared temp path and then executedasr.js

    The interpreter script always goes to os.tmpdir()/dsh-mood-asr/run.py (mkdirSync recursive, writeFileSync follows symlinks) and is then executed by python. On multi-user POSIX hosts a local attacker who pre-creates that directory or a run.py symlink can redirect the write into a file the victim may write, and the executed payload path is fully predictable (TOCTOU). Not reachable from remote/model input, so impact is limited to local attackers.

  • lowWhisper model downloads silently defaulted to a third-party mirror (hf-mirror.com)asr.js

    Whenever transcription is enabled, faster-whisper resolves and downloads model weights through hf-mirror.com rather than huggingface.co, adding an unrequested third-party distribution channel for artifacts that are then loaded by ctranslate2. The user is not given an explicit choice, only a hint in an install string.

No RCE or backdoor; main issue is a plaintext cross-session chat archive on disk, plus low-risk fixed temp-script path and a default third-party model mirror.

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-21 · activity: Active

• Repo created: 2026-10-13

• Stars: ★ 2 · Forks: 0

• Health: Active — committed within last 30 days

Source

GitHub: github.com/JMX-4869/dsh-mood

Was this page helpful?