Static Scan Results
scanned 12d ago · by rust-scannerStatic analysis completed at 65.0% confidence. No malicious behavior was detected; 9 low-signal pattern(s) were surfaced and cleared.
Static reason
No blocking static signals were detected.
Decision evidence
public snapshotBehavioral surface
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetworkShell
HighEntropyStringsUrlStrings
NoLicense
Source & flagged code
2 flagged · loading sourcebin/relay.jsView file
193const overlayMain = path.resolve(here, "../overlay/main.cjs");
L194: // require("electron") returns the path to the electron binary when resolved under node.
L195: let electronPath;
Medium
Dynamic Require
Package source references dynamic require/import behavior.
bin/relay.jsView on unpkg · L193src/install.jsView file
1import { spawnSync } from "node:child_process";
L2: import fs from "node:fs";
...
L49: const rootRes = spawnSync("npm", ["root", "-g"], { encoding: "utf8", timeout: 20_000 });
L50: const root = (rootRes.stdout || "").trim();
L51: const globalBin = path.join(root, ...PACKAGE_NAME.split("/"), "bin", "relay.js");
...
L66: try {
L67: const require = createRequire(path.join(packageRoot, "package.json"));
L68: const electronPath = require("electron");
...
L96: export function installDaemonAutostart(bin = relayBinPath(), node = process.execPath) {
L97: if (process.platform !== "darwin") return { ok: false, reason: "autostart_unsupported_platform" };
L98: const home = os.homedir();
L99: const plistPath = path.join(home, "Library", "LaunchAgents", `${DAEMON_LAUNCH_LABEL}.plist`);
Medium
Install Persistence
Source writes installer persistence such as shell profile or service configuration.
src/install.jsView on unpkg · L1Findings
4 Medium5 Low
MediumDynamic Requirebin/relay.js
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistencesrc/install.js
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
LowNo License