Static Scan Results
scanned 1h 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
ChildProcessEnvironmentVarsFilesystemNetwork
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
1const { spawnSync, spawn } = require('child_process');
L2: const http = require('http');
L3: const fs = require('fs');
...
L17: res.on('data', c => d += c);
L18: res.on('end', () => { try { resolve(JSON.parse(d)); } catch(e) { resolve(null); } });
L19: });
...
L34: req.on('timeout', () => { req.destroy(); resolve(false); });
L35: req.write(data); req.end();
L36: });
...
L42: });
L43: return { output: (r.stdout || '') + (r.stderr || ''), exit_code: r.status != null ? r.status : 1 };
L44: }
High
Install Named Payload File
Install-named source file stages remote content through filesystem writes and execution.
install.jsView on unpkg · L1Findings
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