registry  /  @xulongzhe/clawbench  /  0.57.4

@xulongzhe/clawbench@0.57.4

Mobile-first AI workstation — Go backend + Vue3 frontend

Static Scan Results

scanned 3h ago · by rust-scanner

Static analysis flagged 9 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessEnvironmentVarsFilesystemShell
Supply chainNo supply-chain packaging signals triggered.
ManifestNo manifest risk signals triggered.
scanned 2 file(s), 3.14 KB of source

Source & flagged code

4 flagged · loading source
package.jsonView file
scripts.postinstall = node install.js
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node install.js
Medium
Ambiguous Install Lifecycle Script

Install-time lifecycle script is not statically allowlisted and needs review.

package.jsonView on unpkg
bin/clawbench.jsView file
1#!/usr/bin/env node L2: import { spawn } from "child_process"; L3: import { resolve, dirname } from "path";
High
Child Process

Package source references child process execution.

bin/clawbench.jsView on unpkg · L1
38console.error(`clawbench: 平台包 "${pkg}" 未安装`); L39: console.error(` 请运行: npm install ${pkg}`); L40: console.error(` 或设置环境变量: CLAWBENCH_BINARY_PATH=/path/to/clawbench`); ... L44: L45: const child = spawn(binPath, process.argv.slice(2), { L46: stdio: "inherit",
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

bin/clawbench.jsView on unpkg · L38

Findings

4 High3 Medium2 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processbin/clawbench.js
HighShell
HighRuntime Package Installbin/clawbench.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem