registry  /  beltsh  /  1.14.11

beltsh@1.14.11

inference.sh CLI — run AI apps, manage skills, connect MCP servers

Static Scan Results

scanned 4d ago · by rust-scanner

Static analysis flagged 10 finding(s) at 93.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.; previous stored version diff introduced dangerous source

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoFilesystemNetwork
Supply chain
UrlStrings
ManifestNo manifest risk signals triggered.
scanned 2 file(s), 4.91 KB of source, external domains: dist.inference.sh

Source & flagged code

5 flagged · loading source
package.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 unpkg
install.jsView file
2L3: const https = require("https"); L4: const fs = require("fs"); ... L6: const os = require("os"); L7: const { execSync } = require("child_process"); L8: const crypto = require("crypto"); ... L12: const PLATFORM = { darwin: "darwin", linux: "linux", win32: "windows" }[ L13: process.platform L14: ]; ... L26: if (process.platform === "win32") { L27: return path.join(os.homedir(), ".local", "bin"); L28: }
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 · L2
2L3: const https = require("https"); L4: const fs = require("fs"); ... L6: const os = require("os"); L7: const { execSync } = require("child_process"); L8: const crypto = require("crypto"); ... L12: const PLATFORM = { darwin: "darwin", linux: "linux", win32: "windows" }[ L13: process.platform L14: ]; ... L26: if (process.platform === "win32") { L27: return path.join(os.homedir(), ".local", "bin"); L28: }
High
Install Named Payload File

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

install.jsView on unpkg · L2
matchType = previous_version_dangerous_delta matchedPackage = beltsh@1.14.10 matchedIdentity = npm:YmVsdHNo:1.14.10 similarity = 0.500 summary = stored previous version shares package body but lacks this dangerous source file
High
Previous Version Dangerous Delta

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

install.jsView on unpkg

Findings

4 High3 Medium3 Low
HighInstall Time Lifecycle Scriptspackage.json
HighSandbox Evasion Gated Capabilityinstall.js
HighInstall Named Payload Fileinstall.js
HighPrevious Version Dangerous Deltainstall.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowUrl Strings