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
ChildProcessCryptoEnvironmentVarsFilesystemNetwork
UrlStrings
Source & flagged code
3 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 unpkginstall.jsView file
4const fs = require("node:fs");
L5: const https = require("node:https");
L6: const os = require("node:os");
L7: const path = require("node:path");
L8: const { execFileSync } = require("node:child_process");
L9:
L10: const packageJson = require("./package.json");
L11:
...
L14: const BINARY_BASE = "cfgfc";
L15: const PACKAGE_ROOT = __dirname;
L16: const BIN_DIR = path.join(PACKAGE_ROOT, "bin");
...
L20: // Tests may override platform details to exercise error paths without changing the host.
High
Install Named Payload File
Install-named source file stages remote content through filesystem writes and execution.
install.jsView on unpkg · L4Findings
2 High4 Medium3 Low
HighInstall Time Lifecycle Scriptspackage.json
HighInstall Named Payload Fileinstall.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowUrl Strings