Loading npm security reports…
Loading npm security reports…
@co0ontty/wand@4.45.1: Credential exfiltration – flagged | LPM Firewall
Flagged — allowed with a warning
Allowed by default policy, but 30 findings warrant review before installing.
AI security reviewscanned on Sep 20, 2026, 00:40 UTC · by lpm-firewall-ai The credential flow is concrete and its recipient is not restricted to an intended service. Visible confirmation reduces stealth but does not bind captured credentials to a safe destination.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
A user installs and configures the browser extension, then confirms saving a submitted login.
Impact
A configured remote server can receive saved website credentials and the extension app token.
Mechanism
Confirmed password capture forwarded to an unrestricted configured endpoint.
Evidence
browser-extension/manifest.json browser-extension/src/content-script.js browser-extension/src/background.js browser-extension/src/api.js
public snapshot
Evidence for warning
The browser extension runs its content script on every URL. After a user accepts its save prompt, the content script forwards the submitted username and password to its background worker. The background worker packages that password into a login item and posts it through apiFetch. The extension accepts a caller-supplied base URL, stores it, and sends authenticated requests to that unrestricted URL. The npm manifest has no install, preinstall, or postinstall hook; its only lifecycle hook is prepublishOnly. Evidence against
Password capture is gated by a visible confirmation prompt. The source does not show a hidden package-controlled recipient or automatic npm install-time execution. Behavioral surface
Source Child process · Crypto · Environment variables · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · URL strings
Manifest No manifest risk signals triggered.
Scanned 107 files · 5.30 MB of source
8 external domains referenced
api.anthropic.com api.example.com api.openai.com github.com home.huniu.fun react.dev www.apple.com www.w3.org Findings2 critical · 18 high · 4 medium · 6 low Source & flagged code22 flagged High Child process
Package source references child process execution.
dist/structured-codex-adapter.js View on unpkg · L1 Code excerpt · 2 lines 1 import { spawn } from "node:child_process" ;
2 import { CodexProtocolReducer } from "./structured-codex-protocol.js" ;
Code excerpt · 3 lines 11 import { parseBoundedInteger } from "./request-limits.js" ;
12 const execAsync = promisify (exec);
13 const DIRECTORY_MAX_ITEMS = 200 ;
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/server-file-routes.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.55.3
matchedPath = dist/server-file-routes.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.55.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Low Weak crypto
Package source references weak cryptographic algorithms.
dist/password-manager.js View on unpkg · L1 Code excerpt · 6 lines 1 import crypto from "node:crypto" ;
2 export const DEFAULT_BROWSER_EXTENSION_BASE_URL = "https://home.huniu.fun:8183" ;
3 export const DEFAULT_PASSWORD_VAULT_ID = "personal" ;
⋯
255 const encrypted = Buffer.concat ([cipher.update (plaintext, "utf8" ), cipher.final ()]);
256 return `${VAULT_CIPHER_PREFIX}${iv.toString("base64url")}.${cipher.getAuthTag().toString("base64url")}.${encrypted.toString("base64url")}` ;
257 }
High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/tui/commands.js View on unpkg · L4 Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
dist/tui/commands.js View on unpkg · L4 Shared code excerpt · 2 findings · 12 lines Trigger-reachable persistence chain: manifest.bin -> dist/cli.js -> dist/tui/commands.js
4 * 所有命令统一返回 CommandResult,UI 层负责把结果渲染到 toast / 弹窗 / 日志。
5 * 命令本身不直接写 stdout / stderr —— TUI 模式下 stderr 已经被 log-bus 劫持。
6 */
7 import { spawn, spawnSync } from "node:child_process" ;
8 import { existsSync, mkdirSync, readFileSync, statSync, writeFileSync, unlinkSync } from "node:fs" ;
⋯
39 stdio: "inherit" ,
Critical Credential exfiltration
Source appears to send environment or credential material to an external endpoint.
browser-extension/src/background.js View on unpkg Critical Browser credential phishing
Source appears to collect browser login credentials for exfiltration.
browser-extension/src/background.js View on unpkg Shared scanner record · 2 findings · 15 lines 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;
High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/npm-update-utils.js View on unpkg · L13 Code excerpt · 12 lines Cross-file remote execution chain: dist/npm[redacted] spawns dist/web-ui/content/scripts.js; helper contains network access plus dynamic code execution.
13 */
14 import { execFile, spawnSync } from "node:child_process" ;
15 import { randomUUID } from "node:crypto" ;
⋯
26 const PACKAGE_BASENAME = "wand" ;
27 const DEFAULT_NPM_BIN = process.platform === "win32" ? "npm.cmd" : "npm" ;
28 const COMMON_UNIX_PATHS = ["/usr/local/sbin" , , , , , ];
High Spawned bundled service listener
Source launches a detached bundled service that exposes a broad-bound HTTP listener.
dist/server.js View on unpkg · L5 Code excerpt · 12 lines Detached bundled service listener: dist/server.js launches a Node helper and exposes a broad-bound HTTP listener.
5 import { stat } from "node:fs/promises" ;
6 import { createServer as createHttpServer } from "node:http" ;
7 import { createServer as createHttpsServer } from "node:https" ;
8 import { spawn } from "node:child_process" ;
9 import os from "node:os" ;
⋯
56 // ── Package info ──
dist/cert.js#virtual:normalized:round1 View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/cert.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 5
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/terminal-daemon-client.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.46.0
matchedPath = dist/terminal-daemon-client.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.46.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.55.3
matchedPath = dist/cli.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.55.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/path-repair.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.63.0
matchedPath = dist/path-repair.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.63.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/provider-cli-updater.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.63.0
matchedPath = dist/provider-cli-updater.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.63.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/terminal-daemon-server.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.46.0
matchedPath = dist/terminal-daemon-server.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.46.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/update-helper.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.63.0
matchedPath = dist/update-helper.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.63.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/git-quick-commit.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.55.3
matchedPath = dist/git-quick-commit.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.55.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cert.js View on unpkg Scanner record · 6 lines 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
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/git-utils.js View on unpkg Scanner record · 6 lines 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
↓
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
40
env: process.env,
107 export function openInBrowser (url) {
108 const cmd = process.platform === "darwin"
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/tui/commands.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.63.0
matchedPath = dist/tui/commands.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.63.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
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
"/usr/local/bin"
"/usr/sbin"
"/usr/bin"
"/sbin"
"/bin"
33 return process.env.WAND_NPM_BIN || DEFAULT_NPM_BIN;
79 const { stdout } = await execFileAsync (npmBin (), ["view" , getInstallSpecForChannel (channel), "version" ], { timeout: timeoutMs, env: getChildEnv (), maxBuffer: INSTALL_MAX_BUFFER });
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/npm-update-utils.js View on unpkg Scanner record · 6 lines 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
57 const PKG_JSON = JSON.parse (readFileSync (path.join (RUNTIME_ROOT_DIR, "package.json" ), "utf8" ));
58 const PKG_NAME = PKG_JSON.name;
100 function isExternalAvatarSource (value) {
101 return /^(https?:|data:)/i.test (value);
371 const candidates = [];