Loading npm security reports…
Loading npm security reports…
@co0ontty/wand@4.50.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 19, 2026, 12:01 UTC · by lpm-firewall-ai This is a real conditional credential-forwarding capability to an unrestricted configured endpoint. The administrator gate and lack of an install hook make blocking unsupported.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
An administrator imports or tests a system AI profile, then invokes a feature that uses that profile.
Impact
A credential may be exposed to an operator-configured endpoint.
Mechanism
Credential forwarding to a configurable API endpoint.
Evidence
dist/system-ai.js dist/server-settings-routes.js ~/.codex/auth.json ~/.codex/config.toml
public snapshot
Evidence for warning
The manifest defines a publish-time build hook, not an install or postinstall hook. System AI discovery reads a Codex API key and accepts a base URL from the user's Codex configuration. The API caller places that key in an authorization header and posts it to the configured URL. Importing discovered profiles is gated by a local administrator route. Evidence against
No package-install lifecycle trigger was found. The credential-forwarding path requires an administrator action, so covert automatic exfiltration was not established. 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 109 files · 5.34 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 { startStructuredCli } from "./structured-exec-pump.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-server.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.55.3
matchedPath = dist/terminal-daemon-server.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/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-client.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.51.1
matchedPath = dist/terminal-daemon-client.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.51.1
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/distribution-manager.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @co0ontty/wand@4.51.1
matchedPath = dist/distribution-manager.js
matchedIdentity = npm:QGNvMG9udHR5L3dhbmQ:4.51.1
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);
372 const candidates = [];