---
canonical: "https://firewall.lpm.dev/npm/@agentdock/daemon/v/0.0.95"
markdown: "https://firewall.lpm.dev/npm/@agentdock/daemon/v/0.0.95.md"
package: "@agentdock/daemon"
report_status: "published"
title: "@agentdock/daemon@0.0.95 npm security report"
verdict: "clean"
version: "0.0.95"
---

# @agentdock/daemon@0.0.95 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Allowed — no malicious behavior detected** — No malicious behavior detected. 17 low-signal pattern(s) reviewed.

- **Verdict:** Clean
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 0.0.95
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: clean; recommendation: mark clean. This assessment is supporting evidence; the published decision above determines the current policy.

The flagged persistence supports the package’s daemon function and only runs when credentials exist; telemetry starts disabled. Runtime package installation is part of the CLI’s explicit upgrade command, and no malicious data flow or unrelated execution was found.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 91.0%
- **Started:** 2026-10-31T17:06:40.959Z
- **Finished:** 2026-10-31T17:07:46.676Z
- **Download time:** 1005 ms
- **Static scan time:** 1094 ms
- **AI review time:** 63617 ms
- **Total time:** 65717 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** No attack was identified. The flagged process, persistence, and package installation behaviors serve daemon lifecycle management and explicit upgrades.

- **Trigger:** The CLI’s start or upgrade commands, or startup of the daemon they launch.

- **Impact:** No unauthorized data collection, credential transfer, account action, or unrelated persistence was identified.

- **Review source:** ai\_review

- **Reviewed:** 2026-10-31T17:07:46.676Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** Daemon autostart is gated by existing credentials and an opt-out variable. The package install runs in the explicit upgrade flow.

- **Rationale:** The flagged persistence supports the package’s daemon function and only runs when credentials exist; telemetry starts disabled. Runtime package installation is part of the CLI’s explicit upgrade command, and no malicious data flow or unrelated execution was found.

### Review decision

- **Verdict:** Clean

- **Confidence:** 91.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** The manifest exposes a daemon library and CLI entry point., Autostart setup is called from daemon startup and is skipped without stored credentials or when AGENTDOCK\_NO\_AUTOSTART=1., The daemon’s telemetry collector is initialized disabled., The package-manager install occurs in the upgrader, which the CLI invokes for the explicit upgrade command.

- **Evidence against:** Daemon startup writes a login service or registry entry to keep the daemon running; this matches the package’s stated daemon purpose., The upgrade path downloads and installs a package at runtime, but it is tied to the explicit upgrade command.

## Affected versions and remediation

This report applies to @agentdock/daemon@0.0.95.

- Review the evidence and your use of @agentdock/daemon@0.0.95 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/zombieReaper.js
- **Public source:** [View source](<https://unpkg.com/@agentdock/daemon@0.0.95/dist/zombieReaper.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: "use strict";import{execSync as h}from"node:child_process";import{killProcessTreeByPid as g}from"./processTree.js";const k=process.platform==="win32";function C(){return k?P():[]}e...
```

### 3. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/subagentIds.js
- **Public source:** [View source](<https://unpkg.com/@agentdock/daemon@0.0.95/dist/subagentIds.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L1: "use strict";import{createHash as t}from"node:crypto";export function makeStableSubagentId(e){return`c${t("sha1").update(e).digest("hex").slice(0,23)}`}
```

### 4. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 5. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 6. Medium: Install Persistence
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/autostart.js
- **Public source:** [View source](<https://unpkg.com/@agentdock/daemon@0.0.95/dist/autostart.js>)

Source writes installer persistence such as shell profile or service configuration.

Public source snippet (untrusted):

```javascript
L1: "use strict";import{execFileSync as y,execSync as n}from"node:child_process";import i from"node:fs";import a from"node:path";import{fileURLToPath as x}from"node:url";import{isEnter...
L2: KillMode=process`),i.writeFileSync(e,r,"utf8"),n("systemctl --user daemon-reload",{stdio:"ignore"})}export function buildPlistContent(e,t,r,c){const o=r?[e,"--import","tsx",t]:[e,t...
...
L6: `)+`
L7: `}function E(e,t,r){return r?`"${e}" "--import" "tsx" "${t}"`:`"${e}" "${t}"`}const $="HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run";export function isEnabled(){if(proce...
```

### 7. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 8. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/ensureDaemon.js
- **Public source:** [View source](<https://unpkg.com/@agentdock/daemon@0.0.95/dist/ensureDaemon.js>)

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

Public source snippet (untrusted):

```javascript
L1: "use strict";import{spawn as y}from"node:child_process";import d from"node:path";import{fileURLToPath as T}from"node:url";import{readDaemonState as m}from"./state.js";import{getSta...
```

### 9. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/ensureDaemon.js
- **Public source:** [View source](<https://unpkg.com/@agentdock/daemon@0.0.95/dist/ensureDaemon.js>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L1: "use strict";import{spawn as y}from"node:child_process";import d from"node:path";import{fileURLToPath as T}from"node:url";import{readDaemonState as m}from"./state.js";import{getSta...
```

### 10. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/ensureDaemon.js
- **Public source:** [View source](<https://unpkg.com/@agentdock/daemon@0.0.95/dist/ensureDaemon.js>)

A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable command-output exfiltration chain: manifest.bin -> dist/cli.js -> dist/ensureDaemon.js
L1: "use strict";import{spawn as y}from"node:child_process";import d from"node:path";import{fileURLToPath as T}from"node:url";import{readDaemonState as m}from"./state.js";import{getSta...
```

### 11. High: Trigger Reachable Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/autostart.js
- **Public source:** [View source](<https://unpkg.com/@agentdock/daemon@0.0.95/dist/autostart.js>)

A manifest entrypoint or package-local install chain reaches persistence behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable persistence chain: manifest.bin -> dist/cli.js -> dist/autostart.js
L1: "use strict";import{execFileSync as y,execSync as n}from"node:child_process";import i from"node:fs";import a from"node:path";import{fileURLToPath as x}from"node:url";import{isEnter...
L2: KillMode=process`),i.writeFileSync(e,r,"utf8"),n("systemctl --user daemon-reload",{stdio:"ignore"})}export function buildPlistContent(e,t,r,c){const o=r?[e,"--import","tsx",t]:[e,t...
...
L6: `)+`
L7: `}function E(e,t,r){return r?`"${e}" "--import" "tsx" "${t}"`:`"${e}" "${t}"`}const $="HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run";export function isEnabled(){if(proce...
```

### 12. High: Runtime Package Install
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** dist/triggerUpgrade.js
- **Public source:** [View source](<https://unpkg.com/@agentdock/daemon@0.0.95/dist/triggerUpgrade.js>)

Package source invokes a package manager install command at runtime.

Public source snippet (untrusted):

```javascript
L1: "use strict";import*as b from"node:child_process";import s from"node:fs";import d from"node:path";import R from"node:os";import{fileURLToPath as $}from"node:url";import{errorMessag...
```

### 13. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 14. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 15. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 85.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 16. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 17. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/autostart.js
- **Public source:** [View source](<https://unpkg.com/@agentdock/daemon@0.0.95/dist/autostart.js>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = @agentdock/daemon@0.0.69
matchedIdentity = npm:QGFnZW50ZG9jay9kYWVtb24:0.0.69
similarity = 0.367
summary = stored previous version shares package body but lacks this dangerous source file
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 10
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 6
- **Published dependency-graph edges:** 10

### Published dependency entries
- @agentdock/crypto 0.0.95 (Dependency)
- @agentdock/sdk 0.0.95 (Dependency)
- @agentdock/wire 0.0.95 (Dependency)
- @ai-sdk/anthropic 4.0.38 (Dependency)
- @ai-sdk/openai 4.0.40 (Dependency)
- @ai-sdk/openai-compatible 3.0.30 (Dependency)
- ai 7.0.62 (Dependency)
- pino ^10.3.1 (Dependency)
- pino-roll ^4.0.0 (Dependency)
- qrcode ^1.5.4 (Dependency)

## Package metadata
- **Package:** @agentdock/daemon
- **Ecosystem:** npm
- **Version:** 0.0.95
- **License:** UNLICENSED
- **Version published:** 2026-09-02T13:30:20.609Z
- **Package first seen:** 2026-07-01T03:42:17.018Z
- **Package last seen:** 2026-11-05T00:57:11.223Z
- **Known versions:** 16
- **Latest version:** 0.0.102
- **Appeal under review:** No
- **Description:** PC daemon + CLI for AgentDock — ACP abstraction, TransportHandler, process management
- **Author:** CCPark
- **Maintainers:** kevin8536945
- **Runtime engines:** node: \>=22.12.0
- **Artifact files:** 511
- **Artifact unpacked size:** 730,528 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@agentdock/daemon/v/0.0.95>)
