registry  /  @volcengine/mediakit-cli  /  0.1.7

@volcengine/mediakit-cli@0.1.7

MediaKit CLI with multi-platform binary distribution via npm

Static Scan Results

scanned 5d ago · by rust-scanner

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

Source & flagged code

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

Package defines install-time lifecycle scripts.

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

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

package.jsonView on unpkg
scripts/run.jsView file
4const path = require("node:path"); L5: const { spawnSync } = require("node:child_process"); L6:
High
Child Process

Package source references child process execution.

scripts/run.jsView on unpkg · L4
scripts/install.jsView file
6const path = require("node:path"); L7: const { spawnSync } = require("node:child_process"); L8: const https = require("node:https"); L9: const http = require("node:http"); ... L18: function readEnv(currentName, deprecatedName) { L19: const current = process.env[currentName]; L20: if (current !== undefined && current !== "") {
High
Same File Env Network Execution

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

scripts/install.jsView on unpkg · L6
6const path = require("node:path"); L7: const { spawnSync } = require("node:child_process"); L8: const https = require("node:https"); L9: const http = require("node:http"); L10: L11: const pkg = require("../package.json"); L12: ... L18: function readEnv(currentName, deprecatedName) { L19: const current = process.env[currentName]; L20: if (current !== undefined && current !== "") { ... L36: const TMP_PREFIX = "mediakit-cli-install-"; L37: const packageRoot = path.resolve(__dirname, "..");
High
Install Named Payload File

Install-named source file stages remote content through filesystem writes and execution.

scripts/install.jsView on unpkg · L6
scripts/install-wizard.jsView file
73const probeArgs = process.platform === 'win32' ? [cmd] : ['-v', cmd] L74: const result = spawnSync(probe, probeArgs, { stdio: 'ignore', shell: true }) L75: return result.status === 0 ... L78: function runNpmInstall(target) { L79: log(`installing ${target} via npm install -g`) L80: const result = spawnSync('npm', ['install', '-g', target], {
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

scripts/install-wizard.jsView on unpkg · L73
scripts/install.shView file
path = scripts/install.sh kind = build_helper sizeBytes = 3741 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

scripts/install.shView on unpkg

Findings

5 High5 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processscripts/run.js
HighSame File Env Network Executionscripts/install.js
HighInstall Named Payload Filescripts/install.js
HighRuntime Package Installscripts/install-wizard.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumShips Build Helperscripts/install.sh
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings