Static Scan Results
scanned 4h ago · by rust-scannerStatic analysis flagged 10 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 snapshotBehavioral surface
ChildProcessEnvironmentVarsFilesystemNetworkShell
HighEntropyStringsUrlStrings
Source & flagged code
3 flagged · loading sourcelib/channel.mjsView file
15import path from "node:path";
L16: import { execFileSync } from "node:child_process";
L17: import { CHANNEL_DIR, CHANNEL_REPO_URL } from "./config.mjs";
High
44else lines.push(`git clone --depth=1 ${CHANNEL_REPO_URL} ${dir}`);
L45: if (!s.hasDeps || s.isGit) lines.push(`bun install (in ${dir})`);
L46: else lines.push(`bun install skipped — node_modules already present`);
...
L50: function run(cmd, args, opts = {}) {
L51: execFileSync(cmd, args, { stdio: "ignore", ...opts });
L52: }
High
Runtime Package Install
Package source invokes a package manager install command at runtime.
lib/channel.mjsView on unpkg · L44lib/launchd.mjsView file
7import path from "node:path";
L8: import { execFileSync } from "node:child_process";
L9: import {
...
L17:
L18: const HOME = process.env.HOME || "";
L19:
...
L99: try {
L100: const out = execFileSync("launchctl", ["print", target], {
L101: encoding: "utf8",
...
L110: if (/state = running/.test(out)) running = true;
L111: const exitM = out.match(/last exit code = (\d+)/);
L112: if (exitM) lastExit = Number(exitM[1]);
Medium
Install Persistence
Source writes installer persistence such as shell profile or service configuration.
lib/launchd.mjsView on unpkg · L7Findings
3 High4 Medium3 Low
HighChild Processlib/channel.mjs
HighShell
HighRuntime Package Installlib/channel.mjs
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistencelib/launchd.mjs
MediumStructural Risk Force Deep Review
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings