Loading npm security reports…
Loading npm security reports…
@co0ontty/wand@4.93.0: AI-agent capability abuse – flagged | LPM Firewall
Flagged as AI-agent capability risk
Allowed by default with warning: agent-facing configuration or capability changes need review before use.
AI security reviewscanned on Oct 15, 2026, 00:32 UTC · by lpm-firewall-ai Use a warning because an explicit CLI command changes user-level agent discovery configuration. The browser credential findings resolve to a user-initiated Wand login or website-password saving behind a confirmation prompt; no covert credential theft was established.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
The user runs the `wand decision:skills` command.
Impact
Selected agents can discover the Wand decision instructions and invoke its helper in an enabled Wand session.
Mechanism
The installer writes the bundled skill under its managed directory and links it into selected `.claude`, `.qoder`, or `.agents` skill directories, after checking for existing user content.
Evidence
dist/cli.js dist/decision-skill.js skills/wand-decision/SKILL.md skills/wand-decision/scripts/decide.mjs
public snapshot
Evidence for warning
The package exposes a `wand` command through its CLI entry point. The agent skill installer is called by the explicit `decision:skills` CLI command. The installer links the bundled skill into selected user-level agent directories and checks existing targets before changing them. The bundled skill describes optional bounded inference; its helper requires an enabled session and accepts only limited commands. The browser login sends a password entered through the options page to the configured Wand login endpoint; saving website credentials requires confirmation and uses the configured Wand API. The flagged certificate and relaunch utilities perform local TLS setup and managed-service restart selection. Evidence against
The agent configuration change is triggered by an explicit CLI command, and the installer preserves existing user-owned content. The inspected browser credential paths do not establish covert credential theft. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · URL strings
Manifest No manifest risk signals triggered.
Scanned 408 files · 9.15 MB of source
13 external domains referenced
api.github.com github.com home.example.com home.huniu.fun huggingface.co jcgt.org openrouter.ai pypi.org raw.githubusercontent.com react.dev wand.invalid www.apple.com www.w3.org Findings2 critical · 11 high · 7 medium · 6 low Source & flagged code18 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 14 import { streamFileWithRange } from "./http-file-stream.js" ;
15 const execAsync = promisify (exec);
16 const DIRECTORY_MAX_ITEMS = 200 ;
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/tui/layout.js View on unpkg · L2 Code excerpt · 3 lines 2 import { stripAnsi } from "../pty-text-utils.js" ;
3 const require = createRequire (import .meta.url);
4 // neo-blessed 是 CJS,没有匹配 @types/blessed 的 default export,统一当 any 用。
Low Weak crypto
Package source references weak cryptographic algorithms.
dist/web-ui/scripts.js View on unpkg · L6 Code excerpt · 6 lines 6 import { versionWebAsset } from "./asset-version.js" ;
7 const __dirname = path.dirname (fileURLToPath (import .meta.url));
8 let _scriptCache = EMBEDDED_WEB_ASSETS.scriptsJs;
⋯
123 if (key !== browserManifestKey) {
124 const next = JSON.parse (fs.readFileSync (manifestPath, "utf8" ));
125 if (!next.files.every (file => /^modules\/[a-f0-9 ]{16 }\/[A-Za-z0-9_-]+\.js$/.test (file))
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 } from "node:child_process" ;
8 import { runCommand, runCommandSync } from "../run-command.js" ;
⋯
44 stdio: "inherit" ,
45 env: process.env,
High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/render-structured-host.js View on unpkg · L1 Code excerpt · 7 lines 1 import { spawn } from "node:child_process" ;
2 import { existsSync, lstatSync, readFileSync, unlinkSync } from "node:fs" ;
3 import net from "node:net" ;
4 import path from "node:path" ;
⋯
13 export function resolveStructuredRenderBinary (configPath) {
14 const explicit = process.env.WAND_STRUCTURED_RENDER_BIN?.trim ();
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 Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
scripts/install-laya-runtime.js View on unpkg · L2 Code excerpt · 10 lines 2 // Explicit, isolated Apple Silicon runtime. Never installs into the user's/system Python.
3 import { spawnSync } from "node:child_process" ;
4 import { existsSync } from "node:fs" ;
⋯
10 const args = process.argv.slice (2 );
11 let root = path.join (os.homedir (), ".wand" , "local-models" , "laya" ), environment, events = ;
High Trigger reachable external AI agent control surface mutation
Manifest-trigger-reachable source writes behavior-bearing configuration into a user or project AI-agent control surface.
dist/decision-skill.js View on unpkg Scanner record · 11 lines Manifest-trigger-reachable source links an external AI-agent control path to a behavior-bearing write operation.
import { createhash } from "node:crypto";
import { readfile, mkdir, lstat, readlink, writefile, symlink, realpath } from "node:fs/promises";
import { homedir } from "node:os";
import path from "node:path";
import { fileurltopath } from "node:url";
import { session_providers } from "./provider-catalog.js";
const files = ["skill.md", "scripts/decide.mjs"];
const sha = (data) => createhash("sha256").update(data).digest("hex");
export async function installdecisionskill(configdir, providers = session_providers, home = homedir()) {
if (!providers.length || providers.some((provi
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 · 11 lines Cross-file remote execution chain: dist/npm[redacted] spawns dist/web-ui/content/vendor/qrcode/qrcode.bundle.js; helper contains network access plus dynamic code execution.
13 */
14 import { execFile, spawnSync } from "node:child_process" ;
15 import { randomUUID } from "node:crypto" ;
⋯
29 const PACKAGE_BASENAME = "wand" ;
30 const DEFAULT_NPM_BIN = process.platform === "win32" ? "npm.cmd" : "npm" ;
31 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 { existsSync, readFileSync } from "node:fs" ;
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 path from "node:path" ;
⋯
102 // ── Package info ──
dist/native/linux-arm64/wand-structured-renderd View file Medium Ships native binary
Package ships native binary artifacts.
dist/native/linux-arm64/wand-structured-renderd View on unpkg Scanner record · 4 lines path = dist/native/linux-arm64/wand-structured-renderd
kind = native_binary
sizeBytes = 725056
magicHex = [redacted]
Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
dist/decision-worker.py View on unpkg Scanner record · 4 lines path = dist/decision-worker.py
kind = build_helper
sizeBytes = 3814
magicHex = [redacted]
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 = 10
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/relaunch.js View on unpkg Scanner record · 6 lines 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
1 finding
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
115 export function openInBrowser (url) {
116 const cmd = process.platform === "darwin"
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
false
12 for (let index = 0 ; index < args.length; index += 1 ) {
23 if (process.platform !== "darwin" || process.arch !== "arm64" ) throw Error ("LAYA-MLX requires Apple Silicon macOS with Metal" );
24 environment ??= path.join (root, "environments" , `laya-0.3.0-mlx-0.32.2-${process.pid}` );
35 if (result.error || result.status !== 0 ) throw Error ("LAYA runtime setup failed; check Python >=3.11, network access to PyPI, free disk space and Metal supp
"/usr/local/bin"
"/usr/sbin"
"/usr/bin"
"/sbin"
"/bin"
36 return process.env.WAND_NPM_BIN || DEFAULT_NPM_BIN;
84 const { stdout } = await execFileAsync (npmBin (), ["view" , getInstallSpecForChannel (channel), "version" ], { timeout: timeoutMs, env: getChildEnv (), maxBuffer: INSTA
103 const PKG_JSON = JSON.parse (readFileSync (path.join (RUNTIME_ROOT_DIR, "package.json" ), "utf8" ));
104 const PKG_NAME = PKG_JSON.name;
175 process.stderr.write (`\n✗ [wand] ${label}:${message}\n` );
209 if (config.shell?.trim ())