---
canonical: "https://firewall.lpm.dev/npm/@co0ontty/wand"
markdown: "https://firewall.lpm.dev/npm/@co0ontty/wand/v/4.76.0.md"
package: "@co0ontty/wand"
report_status: "published"
title: "@co0ontty/wand@4.76.0 npm security report"
verdict: "suspicious"
version: "4.76.0"
---

# @co0ontty/wand@4.76.0 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
**Flagged — allowed with a warning** — Allowed by default policy, but 27 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Credential Exfiltration
- **Selected version:** 4.76.0
- **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: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

The bundled browser extension sends saved login passwords and WebAuthn private keys to a vault URL that defaults to https://home.huniu.fun:8183 and otherwise accepts any http or https host. Sends occur only after the user signs in; password saves also wait for a confirm dialog.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 74.0%
- **Started:** 2026-09-27T15:57:05.286Z
- **Finished:** 2026-09-27T15:59:43.215Z
- **Download time:** 1276 ms
- **Static scan time:** 7153 ms
- **AI review time:** 149499 ms
- **Total time:** 157929 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:** The bundled browser extension sends saved login passwords and WebAuthn private keys to a vault URL that defaults to https://home.huniu.fun:8183 and otherwise accepts any http or https host. Sends occur only after the user signs in; password saves also wait for a confirm dialog.

- **Trigger:** User installs the Wand Passwords extension, signs in, then saves a login or completes a passkey ceremony while the proxy is attached.

- **Impact:** Website passwords and passkey private keys can leave the browser for the default remote host or any operator-chosen http or https endpoint.

- **Evidence paths:** browser-extension/shared/url-tools.mjs, browser-extension/src/api.js, browser-extension/src/background.js, browser-extension/shared/webauthn-tools.mjs

- **Review source:** ai\_review

- **Reviewed:** 2026-09-27T15:59:43.215Z

### AI review details

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

- **Mechanism:** background.js posts captureLogin passwords and passkey items containing privateKeyJwk through apiFetch, which fetches settings.baseUrl with no destination allowlist.

- **Rationale:** The npm package has no install hook, but the bundled extension forwards vault secrets to a hardcoded remote default and any other http or https base URL once the user is signed in. That is conditional credential exposure through an unrestricted endpoint, gated by sign-in and a password-save confirm, so it is a dangerous capability rather than a proven silent install-time theft chain.

- **Network endpoints:** https://home.huniu.fun:8183

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 74.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The bundled password extension defaults its vault base URL to https://home.huniu.fun:8183., normalizeBaseUrl accepts any http or https URL and falls back to that remote host when the value is empty or invalid., apiFetch sends the bearer token and request body to settings.baseUrl with no host allowlist, after an app token exists., captureLogin posts the page username and password to that same API., Passkey registration stores privateKeyJwk on the created item and background.js POSTs that item to the vault API., Passkey proxy attachment is enabled by default once the extension is signed in.

- **Evidence against:** package.json has no preinstall, install, or postinstall hook, and the CLI bin does not load the extension., apiFetch throws until the user has signed in and an app token is stored., Form password capture waits for a confirm dialog before sending.

## Affected versions and remediation

This report applies to @co0ontty/wand@4.76.0.

- Review the evidence and your use of @co0ontty/wand@4.76.0 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: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

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

Package declares npm scripts.

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/structured-codex-adapter.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/structured-codex-adapter.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: import { spawn } from "node:child_process";
L2: import { startStructuredCli } from "./structured-exec-pump.js";
```

### 4. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/server-file-routes.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/server-file-routes.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L12: import { parseBoundedInteger } from "./request-limits.js";
L13: const execAsync = promisify(exec);
L14: const DIRECTORY_MAX_ITEMS = 200;
```

### 5. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/wand-task-sync.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/wand-task-sync.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L1: import { createHash } from "node:crypto";
L2: import { getErrorMessage } from "./error-utils.js";
```

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

Package source references network APIs.

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

Package source references environment variables.

### 8. Medium: Install Persistence
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/tui/commands.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/tui/commands.js>)

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

Public source snippet (untrusted):

```javascript
L4: * 所有命令统一返回 CommandResult，UI 层负责把结果渲染到 toast / 弹窗 / 日志。
L5: * 命令本身不直接写 stdout / stderr —— TUI 模式下 stderr 已经被 log-bus 劫持。
L6: */
L7: import { spawn, spawnSync } from "node:child_process";
L8: import { existsSync, mkdirSync, readFileSync, statSync, writeFileSync, unlinkSync } from "node:fs";
...
L43: stdio: "inherit",
L44: env: process.env,
L45: });
...
L111: export function openInBrowser(url) {
L112: const cmd = process.platform === "darwin"
L113: ? "open"
...
L137: ok: false,
```

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

Package source references filesystem APIs.

### 10. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/render-structured-host.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/render-structured-host.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: import { spawn } from "node:child_process";
L2: import { existsSync, lstatSync, readFileSync, unlinkSync } from "node:fs";
L3: import net from "node:net";
L4: import path from "node:path";
...
L12: export function resolveStructuredRenderBinary(configPath) {
L13: const explicit = process.env.WAND_STRUCTURED_RENDER_BIN?.trim();
L14: if (explicit) {
```

### 11. Critical: Credential Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** browser-extension/src/background.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/browser-extension/src/background.js>)

Source appears to send environment or credential material to an external endpoint.

Public source snippet (untrusted):

```javascript
A browser extension granted access to all pages captures login passwords and POSTs vault records to a package-defined external default service.
browser-extension/manifest.json:
"<all_urls>"
"service_worker": "src/background.js",
"content_scripts": [
"<all_urls>"
browser-extension/shared/url-tools.mjs:
export const DEFAULT_BASE_URL = "https://home.huniu.fun:8183";
if (!raw) return DEFAULT_BASE_URL;
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") return DEFAULT_BASE_URL;
return DEFAULT_BASE_URL;
const parsed = new URL(raw.includes("://") ? raw : `https://${raw}`);
browser-extension/src/background.js:
return { login: await loginAndAttach(message.baseUrl, message.password) };
body: JSON.stringify(message.item)
body: JSON.stringify(message.item)
body: JSON.stringify({ secret: m
```

### 12. Critical: Browser Credential Phishing
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** browser-extension/src/background.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/browser-extension/src/background.js>)

Source appears to collect browser login credentials for exfiltration.

Public source snippet (untrusted):

```javascript
A browser extension granted access to all pages captures login passwords and POSTs vault records to a package-defined external default service.
browser-extension/manifest.json:
"<all_urls>"
"service_worker": "src/background.js",
"content_scripts": [
"<all_urls>"
browser-extension/shared/url-tools.mjs:
export const DEFAULT_BASE_URL = "https://home.huniu.fun:8183";
if (!raw) return DEFAULT_BASE_URL;
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") return DEFAULT_BASE_URL;
return DEFAULT_BASE_URL;
const parsed = new URL(raw.includes("://") ? raw : `https://${raw}`);
browser-extension/src/background.js:
return { login: await loginAndAttach(message.baseUrl, message.password) };
body: JSON.stringify(message.item)
body: JSON.stringify(message.item)
body: JSON.stringify({ secret: m
```

### 13. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** dist/npm-update-utils.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/npm-update-utils.js>)

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

Public source snippet (untrusted):

```javascript
Cross-file remote execution chain: dist/npm[redacted] spawns dist/web-ui/content/scripts.js; helper contains network access plus dynamic code execution.
L13: */
L14: import { execFile, spawnSync } from "node:child_process";
L15: import { randomUUID } from "node:crypto";
...
L26: const PACKAGE_BASENAME = "wand";
L27: const DEFAULT_NPM_BIN = process.platform === "win32" ? "npm.cmd" : "npm";
L28: const COMMON_UNIX_PATHS = ["/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin"];
...
L32: function npmBin() {
L33: return process.env.WAND_NPM_BIN || DEFAULT_NPM_BIN;
L34: }
...
L78: try {
L79: const { stdout } = await execFileAsync(npmBin(), ["view", getInstallSpecForChannel(channel), "version"], { timeout: timeoutMs, env: getChildEnv(), maxBuffer: INSTALL_MAX_BUFFER });
L8
```

### 14. High: Spawned Bundled Service Listener
- **Category:** Source
- **Confidence:** 78.0%
- **Path:** dist/server.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/server.js>)

Source launches a detached bundled service that exposes a broad-bound HTTP listener.

Public source snippet (untrusted):

```javascript
Detached bundled service listener: dist/server.js launches a Node helper and exposes a broad-bound HTTP listener.
L5: import { stat } from "node:fs/promises";
L6: import { createServer as createHttpServer } from "node:http";
L7: import { createServer as createHttpsServer } from "node:https";
L8: import { spawn } from "node:child_process";
L9: import path from "node:path";
...
L65: // ── Package info ──
L66: const PKG_JSON = JSON.parse(readFileSync(path.join(RUNTIME_ROOT_DIR, "package.json"), "utf8"));
L67: const PKG_NAME = PKG_JSON.name;
...
L227: }
L228: process.stderr.write(`\n✗ [wand] ${label}：${message}\n`);
L229: if (suggestion)
...
L264: // 之后用户切 node 版本 / 重装 wand / 把 claude 装到新位置都不会更新 unit，
```

### 15. High: Trigger Reachable Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/tui/commands.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/tui/commands.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/tui/commands.js
L4: * 所有命令统一返回 CommandResult，UI 层负责把结果渲染到 toast / 弹窗 / 日志。
L5: * 命令本身不直接写 stdout / stderr —— TUI 模式下 stderr 已经被 log-bus 劫持。
L6: */
L7: import { spawn, spawnSync } from "node:child_process";
L8: import { existsSync, mkdirSync, readFileSync, statSync, writeFileSync, unlinkSync } from "node:fs";
...
L43: stdio: "inherit",
L44: env: process.env,
L45: });
...
L111: export function openInBrowser(url) {
L112: const cmd = process.platform === "darwin"
L113: ? "open"
...
L137: ok: false,
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 18. Medium: Ships Native Binary
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** dist/native/linux-arm64/wand-structured-renderd
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/native/linux-arm64/wand-structured-renderd>)

Package ships native binary artifacts.

Public source snippet (untrusted):

```text
path = dist/native/linux-arm64/wand-structured-renderd
kind = native_binary
sizeBytes = 725056
magicHex = [redacted]
```

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

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

### 20. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/cert.js\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/cert.js%23virtual%3Anormalized%3Around1>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```text
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 10
```

### 21. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/cli.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.63.0
matchedPath = dist/cli.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.63.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 22. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/npm-update-utils.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/npm-update-utils.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.63.0
matchedPath = dist/npm[redacted]
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.63.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 23. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/cert.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/cert.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.63.0
matchedPath = dist/cert.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.63.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 24. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/git-utils.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/git-utils.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.63.0
matchedPath = dist/git-utils.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.63.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 25. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/relaunch.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/relaunch.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.63.0
matchedPath = dist/relaunch.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.63.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 26. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/claude-pty-bridge.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/claude-pty-bridge.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.63.0
matchedPath = dist/claude-pty-bridge.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.63.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 27. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/render-host.js
- **Public source:** [View source](<https://unpkg.com/@co0ontty/wand@4.76.0/dist/render-host.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 = @co0ontty/wand@4.72.0
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.72.0
similarity = 0.692
summary = stored previous version shares package body but lacks this dangerous source file
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** prepublishOnly
- **Dependencies:** 16
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 13
- **Published dependency-graph edges:** 16

### Published dependency entries
- @anthropic-ai/claude-agent-sdk ^0.2.138 (Dependency)
- @anthropic-ai/sdk ^0.81.0 (Dependency)
- @appica/ui-react ^1.1.0 (Dependency)
- @xterm/addon-fit ^0.11.0 (Dependency)
- @xterm/addon-serialize ^0.14.0 (Dependency)
- @xterm/addon-unicode11 ^0.9.0 (Dependency)
- @xterm/headless ^6.0.0 (Dependency)
- @xterm/xterm ^6.0.0 (Dependency)
- compression ^1.8.1 (Dependency)
- express ^4.21.2 (Dependency)
- multer ^2.1.1 (Dependency)
- neo-blessed ^0.2.0 (Dependency)
- node-pty ^1.1.0 (Dependency)
- react ^19.2.7 (Dependency)
- react-dom ^19.2.7 (Dependency)
- ws ^8.19.0 (Dependency)

## Package metadata
- **Package:** @co0ontty/wand
- **Ecosystem:** npm
- **Version:** 4.76.0
- **License:** MIT
- **Version published:** 2026-09-25T01:17:22.880Z
- **Package first seen:** 2026-07-01T23:51:59.817Z
- **Package last seen:** 2026-10-07T23:30:36.760Z
- **Known versions:** 84
- **Latest version:** 4.84.0
- **Appeal under review:** No
- **Description:** A web console for Claude Code, Codex, OpenCode, and other local CLI tools.
- **Maintainers:** co0ontty
- **Keywords:** cli, web, automation, developer-tools
- **Runtime engines:** node: \>=22.5.0
- **Artifact files:** 319
- **Artifact unpacked size:** 15,603,255 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@co0ontty/wand/v/4.76.0>)
