registry  /  yaver-cli  /  1.99.271

yaver-cli@1.99.271

Unified npm bootstrap for the Yaver agent, SDK injection, and local-first developer runtime

Static Scan Results

scanned 6d ago · by rust-scanner

Static analysis flagged 16 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
ChildProcessDynamicRequireEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 21 file(s), 164 KB of source, external domains: api.github.com, github.com, registry.npmjs.org, unpkg.com

Source & flagged code

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

Package defines install-time lifecycle scripts.

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

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

package.jsonView on unpkg
src/hermesc-runtime.jsView file
24const https = require("https"); L25: const { spawnSync } = require("child_process"); L26:
High
Child Process

Package source references child process execution.

src/hermesc-runtime.jsView on unpkg · L24
23const path = require("path"); L24: const https = require("https"); L25: const { spawnSync } = require("child_process"); L26: L27: const HERMES_RN_VERSION = process.env.YAVER_HERMES_RN_VERSION || "0.81.5"; L28:
High
Same File Env Network Execution

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

src/hermesc-runtime.jsView on unpkg · L23
src/analyzer.jsView file
1const fs = require('fs'); L2: const semver = require('semver');
Medium
Dynamic Require

Package source references dynamic require/import behavior.

src/analyzer.jsView on unpkg · L1
src/postinstall.jsView file
122if (typeof process.geteuid !== "function" || process.geteuid() !== 0) { L123: log("linux/arm64 hermesc build needs cmake/ninja/clang/libicu-dev — re-run `npm install -g yaver-cli` as root to provision them, or install manually."); L124: return; ... L130: } L131: execSync("apt-get update -y", { stdio: ["ignore", "ignore", "ignore"] }); L132: execSync(`DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ${required.join(" ")}`, {
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

src/postinstall.jsView on unpkg · L122
10const { ensureHermesc } = require("./hermesc-runtime"); L11: const { execSync } = require("child_process"); L12: const fs = require("fs"); ... L27: function envEnabled(name) { L28: const raw = String(process.env[name] || "").trim().toLowerCase(); L29: return raw === "1" || raw === "true" || raw === "yes"; ... L120: try { L121: if (process.platform !== "linux") return; L122: if (typeof process.geteuid !== "function" || process.geteuid() !== 0) { ... L293: L294: const home = os.homedir(); L295: const rcFiles = [".bashrc", ".zshrc", ".profile"]
Medium
Install Persistence

Source writes installer persistence such as shell profile or service configuration.

src/postinstall.jsView on unpkg · L10

Findings

5 High6 Medium5 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processsrc/hermesc-runtime.js
HighShell
HighSame File Env Network Executionsrc/hermesc-runtime.js
HighRuntime Package Installsrc/postinstall.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumDynamic Requiresrc/analyzer.js
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistencesrc/postinstall.js
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings