Static Scan Results
scanned 3h ago · by rust-scannerStatic 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 snapshotBehavioral surface
ChildProcessEnvironmentVarsFilesystemShell
Source & flagged code
4 flagged · loading sourcepackage.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 unpkgbin/clawbench.jsView file
1#!/usr/bin/env node
L2: import { spawn } from "child_process";
L3: import { resolve, dirname } from "path";
High
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 · L38Findings
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