registry  /  @rift-vs/rift  /  0.9.1

@rift-vs/rift@0.9.1

Mountebank-compatible Node.js bindings for Rift - A high-performance service virtualization proxy

Static Scan Results

scanned 20h ago · by rust-scanner

Static analysis flagged 13 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
ChildProcessEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 4 file(s), 22.9 KB of source, external domains: github.com

Source & flagged code

5 flagged · loading source
package.jsonView file
scripts.postinstall = node bin/postinstall.js
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

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

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

package.jsonView on unpkg
bin/postinstall.jsView file
13import { fileURLToPath } from 'url'; L14: import { execSync } from 'child_process'; L15:
High
Child Process

Package source references child process execution.

bin/postinstall.jsView on unpkg · L13
110execSync( L111: `powershell -Command "Expand-Archive -Path '${archivePath}' -DestinationPath '${destDir}' -Force"`, L112: { stdio: 'pipe' }
High
Shell

Package source references shell execution.

bin/postinstall.jsView on unpkg · L110
9L10: import https from 'https'; L11: import fs from 'fs'; ... L13: import { fileURLToPath } from 'url'; L14: import { execSync } from 'child_process'; L15: ... L23: // Use 'latest' to get the latest release, or specify a version like 'v0.1.0' L24: const VERSION = process.env.RIFT_VERSION || 'latest'; L25:
High
Same File Env Network Execution

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

bin/postinstall.jsView on unpkg · L9

Findings

4 High4 Medium5 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processbin/postinstall.js
HighShellbin/postinstall.js
HighSame File Env Network Executionbin/postinstall.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings