registry  /  relay-companion  /  0.1.35

relay-companion@0.1.35

Relay companion: connects local coding agents to Relay tasks, approvals, and connector tools.

Static Scan Results

scanned 5d ago · by rust-scanner

Static analysis completed at 93.0% confidence. No malicious behavior was detected; 10 low-signal pattern(s) were surfaced and cleared.

Static reason
No blocking static signals were detected.; previous stored version diff introduced dangerous source

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
Manifest
NoLicense
scanned 27 file(s), 332 KB of source, external domains: aia6vj5pgp.us-east-1.awsapprunner.com, registry.npmjs.org, sendrelays.com, www.apple.com

Source & flagged code

3 flagged · loading source
bin/relay.jsView file
275const overlayMain = path.resolve(here, "../overlay/main.cjs"); L276: // require("electron") returns the path to the electron binary when resolved under node. L277: let electronPath;
Medium
Dynamic Require

Package source references dynamic require/import behavior.

bin/relay.jsView on unpkg · L275
src/auto-update.jsView file
14// the same install directory in place, so the plists' absolute paths stay valid and L15: // `launchctl kickstart -k` relaunches with the new code. L16: // ... L22: import fs from "node:fs"; L23: import { spawn } from "node:child_process"; L24: import { fileURLToPath } from "node:url"; ... L28: const PILL_LABEL = "work.relay.companion.pill"; L29: const DEFAULT_REGISTRY = "https://registry.npmjs.org"; L30: const DEFAULT_CHECK_INTERVAL_MS = 30 * 60 * 1000; // poll the registry at most every 30 min ... L68: L69: export function autoUpdateEnabled(env = process.env) { L70: const raw = String(env.RELAY_AUTO_UPDATE ?? "").trim().toLowerCase();
Medium
Install Persistence

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

src/auto-update.jsView on unpkg · L14
overlay/main.cjsView file
matchType = previous_version_dangerous_delta matchedPackage = relay-companion@0.1.21 matchedIdentity = npm:cmVsYXktY29tcGFuaW9u:0.1.21 similarity = 0.462 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.

overlay/main.cjsView on unpkg

Findings

1 High4 Medium5 Low
HighPrevious Version Dangerous Deltaoverlay/main.cjs
MediumDynamic Requirebin/relay.js
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistencesrc/auto-update.js
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
LowNo License