← all reports

npm:dsh-pet@0.3.1

dsh-verified: verified — npm:dsh-pet@0.3.1. Verification is not a security audit and not an endorsement. It records what was executed and observed on one machine at one time. Historical method limitation: this execution had network access and published container paths and replay fixture text. dsh plugin dsh plugin verified verified

Stale. the latest tag points at 0.3.6, while this report covers 0.3.1

Method limitation. This historical execution used a container with network access and published container paths and replay fixture text. The no-egress and redaction conditions were not met. See the security incident.

sha512-7K8jDdoIT9nCX6HN0xhdcdOVAtSygSArE+zAWSBUfivC+gs6k9Szl7T8ozHfPs/QzOg45YRLLWvZVNZZfewcyQ==

Subject

namedsh-pet
version0.3.1
integritysha512-7K8jDdoIT9nCX6HN0xhdcdOVAtSygSArE+zAWSBUfivC+gs6k9Szl7T8ozHfPs/QzOg45YRLLWvZVNZZfewcyQ==
repositorygit+https://github.com/PC2005-cloud/dsh-pet.git
declared bundle patch"./cordis.patch.yml"
declared engines.dshnot declared — declarative and unenforced

Environment

DSH0.2.0-rc.2
Nodev24.21.0
OS / archlinux 6.17.0-1022-azure x64
verifierdsh-verified 0.1.0 b07a7e8d0093
generated2026-10-03T15:59:47.698Z

Dimensions

statussummaryevidence
L0 pass declares dsh.bundle.patch and every declared patch path exists (244 files, 64788596 bytes unpacked)

dsh.manifestVersion is not declared; the reader does not infer a default

metrics
{
  "fileCount": 244,
  "unpackedBytes": 64788596,
  "patchPaths": [
    "./cordis.patch.yml"
  ],
  "declaredEnginesDsh": null,
  "shipsSource": true
}
e-resolve, e-tarball, e-l0
L1 pass installed

the CLI completed the install with exit code 0

no dependency build script was approved by the verifier; approval permits commands with the host user permissions

metrics
{
  "durationMs": 2390,
  "exitCode": 0,
  "declaredPeers": null,
  "bundlesAfterInstall": [
    "@deepseek-ai/dsh-base",
    "dsh-pet"
  ],
  "pendingBuildScripts": [],
  "buildScriptsApproved": 0,
  "diagnosticsLog": null
}
e-l1-install
L2 pass booted, mounted and stayed alive

the process was still running when the wall-clock bound reached it and reported no failure diagnostics, so the bundle was neither skipped nor rejected

the fiber phase is not read directly: an early exit with diagnostics is the load-failure signal, and a boot that settles and waits is the success signal

metrics
{
  "bootBoundMs": 25000,
  "durationMs": 25069,
  "signal": null
}
e-l2-boot
L3 pass a session completed with no credential

the model call was served by the official replay adapter from a fixture authored in this repository; no provider was contacted and no credential was present

probe task, stated verbatim: "reply with any text"

metrics
{
  "replayAdapter": "@deepseek-ai/dsh-llm-replay@0.2.0-rc.2",
  "probeTask": "reply with any text",
  "events": {
    "session": "session-65be6ed5-c274-4986-80c7-d3d328963f15",
    "turnEndReason": {
      "kind": "completed"
    },
    "finalText": "Replay fixture: no provider was called.",
    "textEventCount": 1,
    "error": null,
    "exitCode": 0,
    "durationMs": 1275,
    "eventCount": 7
  }
}
e-l3-session
L4 pass 4 capability signal(s) present across 95 scanned file(s)

static analysis cannot see dynamically constructed code or prove intent

metrics
{
  "scannedFiles": 95,
  "scannedBytes": 1170808,
  "skippedFiles": 0
}
e-l4, e-patch
L5 pass no significant delta across 6 sampled run(s)

no metric moved beyond the significance thresholds; that is the finding

differential attribution: baseline profile first, then the subject activated, same container and order

thresholds are coarse on purpose — order-of-magnitude watcher changes, RSS growth beyond 100 MiB, steady state more than 2 s later

metrics
{
  "samples": 6,
  "baseline": {
    "atMs": 8040,
    "rss": 198942720,
    "heapUsed": 68467064,
    "external": 5188103,
    "activeTotal": 10,
    "watchers": 7,
    "timers": 0,
    "libuvHandles": 22,
    "libuvActiveHandles": 17,
    "fds": 20
  },
  "activated": {
    "atMs": 8039,
    "rss": 200863744,
    "heapUsed": 74278352,
    "external": 5174866,
    "activeTotal": 11,
    "watchers": 8,
    "timers": 0,
    "libuvHandles": 24,
    "libuvActiveHandles": 19,
    "fds": 20
  },
  "delta": {
    "atMs": -1,
    "rss": 1921024,
    "heapUsed": 5811288,
    "external": -13237,
    "activeTotal": 1,
    "watchers": 1,
    "timers": 0,
    "libuvHandles": 2,
    "libuvActiveHandles": 2,
    "fds": 0
  }
}
e-l5-overhead
L6 pass removed without residue

the profile retains no bundle selection, dependency entry or files for the subject

metrics
{
  "residue": [],
  "durationMs": 269
}
e-l6-remove

Capability (L4, static)

capabilityconfidenceattributionfirst evidence
listens_on_portmediumunknownpackage/runtime/electron-helper/main.js:554
network_egressmediumauthor-sourcepackage/src/host/balance.ts:63
spawns_processhighauthor-sourcepackage/src/host/helper-process.ts:14
writes_outside_workspacelowauthor-sourcepackage/src/host/helper-process.test.ts:35

Capability is not intent. A signature records what the code can reach for, not what it does.

Overhead (L5, dynamic)

{
  "status": "no-significant-delta",
  "samples": 6,
  "baseline": {
    "atMs": 8040,
    "rss": 198942720,
    "heapUsed": 68467064,
    "external": 5188103,
    "activeTotal": 10,
    "watchers": 7,
    "timers": 0,
    "libuvHandles": 22,
    "libuvActiveHandles": 17,
    "fds": 20
  },
  "activated": {
    "atMs": 8039,
    "rss": 200863744,
    "heapUsed": 74278352,
    "external": 5174866,
    "activeTotal": 11,
    "watchers": 8,
    "timers": 0,
    "libuvHandles": 24,
    "libuvActiveHandles": 19,
    "fds": 20
  },
  "delta": {
    "atMs": -1,
    "rss": 1921024,
    "heapUsed": 5811288,
    "external": -13237,
    "activeTotal": 1,
    "watchers": 1,
    "timers": 0,
    "libuvHandles": 2,
    "libuvActiveHandles": 2,
    "fds": 0
  },
  "significant": []
}

Evidence

idkindartifact
e-resolve command exit 0 157 ms resolve dsh-pet@0.3.1 -> dsh-pet@0.3.1
{
  "name": "dsh-pet",
  "version": "0.3.1",
  "registry": "https://registry.npmjs.org",
  "tarball": "https://registry.npmjs.org/dsh-pet/-/dsh-pet-0.3.1.tgz",
  "advertisedIntegrity": "sha512-7K8jDdoIT9nCX6HN0xhdcdOVAtSygSArE+zAWSBUfivC+gs6k9Szl7T8ozHfPs/QzOg45YRLLWvZVNZZfewcyQ==",
  "publishedAt": "2026-09-30T07:04:19.661Z"
}
e-tarball artifact exit 0 475 ms fetch https://registry.npmjs.org/dsh-pet/-/dsh-pet-0.3.1.tgz
{
  "bytes": 62222739,
  "resolvedIntegrity": "sha512-7K8jDdoIT9nCX6HN0xhdcdOVAtSygSArE+zAWSBUfivC+gs6k9Szl7T8ozHfPs/QzOg45YRLLWvZVNZZfewcyQ==",
  "advertisedIntegrity": "sha512-7K8jDdoIT9nCX6HN0xhdcdOVAtSygSArE+zAWSBUfivC+gs6k9Szl7T8ozHfPs/QzOg45YRLLWvZVNZZfewcyQ==",
  "integrityMatchesRegistry": true,
  "sha256": "c54409ea3d67f582de7dc7bb3d110198ae667a14bca7e27837bbb59690722f35"
}
e-l0 static read published package.json and verify declared dsh.bundle.patch paths exist
{
  "status": "pass",
  "reasons": [],
  "declared": {
    "manifestVersion": null,
    "bundlePatch": [
      "./cordis.patch.yml"
    ],
    "clientPlatform": "web",
    "enginesDsh": null,
    "enginesNode": null
  },
  "missingPatchPaths": [],
  "fileCount": 244,
  "unpackedBytes": 64788596,
  "shipsSource": true
}
e-patch static read cordis.patch.yml
# ============================================================================
# dsh-pet 的 bundle patch —— 把宠物插件挂进 DSH 配置树
# ============================================================================
#
# 【这是什么】
#   这是 dsh-pet 的"挂载声明"。DSH 启动时按 bundle 层栈把各个插件的
#   patch 叠起来组成配置树。本文件就是 dsh-pet 这一层的内容。
#
# 【工作原理】
#   - insert:往配置树里添加新的插件行(entry)
#   - 每个 entry 有 id(行标识,patch 覆盖时按它定位)和 name(插件模块)
#   - name: 'dsh-pet' 会解析包入口 lib/index.js(宿主半侧)
#   - 因为 package.json 声明了 dsh.client,DSH 的模块系统同时会把
#     这个包扫描为"浏览器插件",提供 /plugins/dsh-pet/client.js 给页面
#
# ============================================================================

- insert:
    - id: pet                     # 插件行 id(唯一)
      name: 'dsh-pet'             # 模块名:解析到 lib/index.js
e-l4 static scan 95 shipped source file(s) for capability signatures
{
  "present": [
    {
      "id": "listens_on_port",
      "confidence": "medium",
      "attribution": "unknown",
      "firstEvidence": {
        "file": "package/runtime/electron-helper/main.js",
        "line": 554,
        "snippet": "const server = http.createServer((req, res) => {"
      }
    },
    {
      "id": "network_egress",
      "confidence": "medium",
      "attribution": "author-source",
      "firstEvidence": {
        "file": "package/src/host/balance.ts",
        "line": 63,
        "snippet": "return fetch(url, {"
      }
    },
    {
      "id": "spawns_process",
      "confidence": "high",
      "attribution": "author-source",
      "firstEvidence": {
        "file": "package/src/host/helper-process.ts",
        "line": 14,
        "snippet": "import { spawn } from 'node:child_process';"
      }
    },
    {
      "id": "writes_outside_workspace",
      "confidence": "low",
      "attribution": "author-source",
      "firstEvidence": {
        "file": "package/src/host/helper-process.test.ts",
        "line": 35,
        "snippet": "const savedHome = process.env.DSH_HOME;"
      }
    }
  ],
  "scannedFiles": 95,
  "skippedFiles": 0,
  "limits": [
    "static analysis cannot see dynamically constructed code or prove intent"
  ]
}
e-l1-install command exit 0 2390 ms dsh plugin --profile verify add dsh-pet@0.3.1
Downloading dsh-pet@0.3.1: 0.00 B/62.22 MB
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: /home/verifier/.local/share/pnpm/store/v11
  Virtual store is at:             node_modules/.pnpm
Packages: +11
+++++++++++
Progress: resolved 11, reused 0, downloaded 11, added 11, done
[WARN] Issues with peer dependencies found. Run "pnpm peers check" to list them.

dependencies:
+ dsh-pet 0.3.1

Done in 666ms using pnpm v12.8.1
dsh: initialized profile verify at /work/dsh-home/profiles/verify
e-l2-boot command exit 0 25069 ms dsh --profile verify
dsh: warning: 1 entry did not activate
pet (dsh-pet): pending (waiting for service: webServer)
e-l6-remove command exit 0 269 ms dsh plugin --profile verify remove dsh-pet
Packages: -11
-----------

dependencies:
- dsh-pet 0.3.1

Done in 15ms using pnpm v12.8.1
e-l5-overhead sample dsh --profile <baseline|activated> with the host sampler injected via NODE_OPTIONS=--import
{
  "method": "differential",
  "status": "no-significant-delta",
  "samples": 6,
  "baselineMedian": {
    "atMs": 8040,
    "rss": 198942720,
    "heapUsed": 68467064,
    "external": 5188103,
    "activeTotal": 10,
    "watchers": 7,
    "timers": 0,
    "libuvHandles": 22,
    "libuvActiveHandles": 17,
    "fds": 20
  },
  "activatedMedian": {
    "atMs": 8039,
    "rss": 200863744,
    "heapUsed": 74278352,
    "external": 5174866,
    "activeTotal": 11,
    "watchers": 8,
    "timers": 0,
    "libuvHandles": 24,
    "libuvActiveHandles": 19,
    "fds": 20
  },
  "delta": {
    "atMs": -1,
    "rss": 1921024,
    "heapUsed": 5811288,
    "external": -13237,
    "activeTotal": 1,
    "watchers": 1,
    "timers": 0,
    "libuvHandles": 2,
    "libuvActiveHandles": 2,
    "fds": 0
  },
  "significant": []
}
e-l3-session command exit 0 1275 ms dsh --profile l3 --patch /work/fixtures/replay/l3-overlay.yml --json reply with any text
{"type":"session","sessionId":"session-65be6ed5-c274-4986-80c7-d3d328963f15","cwd":"/work"}
{"type":"status","phase":"turn_start","turn":1}
{"type":"status","phase":"step_start","turn":1,"step":1}
{"type":"text","text":"Replay fixture: no provider was called."}
{"type":"status","phase":"step_end","turn":1,"step":1}
{"type":"status","phase":"turn_end","turn":1,"reason":{"kind":"completed"}}
{"type":"final","text":"Replay fixture: no provider was called."}
dsh: warning: 1 entry did not activate
pet (dsh-pet): pending (waiting for service: webServer)

Limits

Disclaimers

raw report JSON · badge · dispute this report