175try {
L176: sha = execSync('git rev-parse HEAD', { cwd: opts.execDir, stdio: 'pipe' }).toString().trim() || null;
L177: }
...
L179: }
L180: const apiUrl = process.env.ORQUESTA_API_URL || 'https://getorquesta.com';
L181: const res = await fetch(`${apiUrl}/api/agent/assisted-report`, {
CriticalSame File Env Network Execution
A single source file combines environment access, network access, and code or shell execution with blocking evidence.
dist/index.jsView on unpkg · L175 15Trigger-reachable chain: scripts.start -> dist/index.js
L15: const nodeBin = process.execPath.slice(0, process.execPath.lastIndexOf('/'));
L16: const home = process.env.HOME || '/root';
L17: const extraPaths = [
...
L36: import { createSocketIOConnection, createExecutionChannel, setupSocketIOListeners, } from './socketio-transport.js';
L37: import { execSync, spawn } from 'child_process';
L38: import * as remoteDesktop from './remote-desktop.js';
...
L44: import { runFirstRunOnboarding } from './ui/onboarding.js';
L45: // Read version — try package.json first, fall back to env (for binary builds)
L46: const __filename = fileURLToPath(import.meta.url);
L47: const __dirname = path.dirname(__filename);
L48: let VERSION = '0.0.0';
...
L50: const packageJsonPath = path.join(__dirname, '..', 'pa
CriticalTrigger Reachable Dangerous Capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/index.jsView on unpkg · L15 15const nodeBin = process.execPath.slice(0, process.execPath.lastIndexOf('/'));
L16: const home = process.env.HOME || '/root';
L17: const extraPaths = [
...
L36: import { createSocketIOConnection, createExecutionChannel, setupSocketIOListeners, } from './socketio-transport.js';
L37: import { execSync, spawn } from 'child_process';
L38: import * as remoteDesktop from './remote-desktop.js';
...
L44: import { runFirstRunOnboarding } from './ui/onboarding.js';
L45: // Read version — try package.json first, fall back to env (for binary builds)
L46: const __filename = fileURLToPath(import.meta.url);
L47: const __dirname = path.dirname(__filename);
L48: let VERSION = '0.0.0';
...
L50: const packageJsonPath = path.join(__dirname, '..', 'package.json');
HighCredential Exfiltration
Source combines credential-like environment material and outbound requests; review data flow before blocking.
dist/index.jsView on unpkg · L15 15Trigger-reachable credential exfiltration chain: scripts.start -> dist/index.js
L15: const nodeBin = process.execPath.slice(0, process.execPath.lastIndexOf('/'));
L16: const home = process.env.HOME || '/root';
L17: const extraPaths = [
...
L36: import { createSocketIOConnection, createExecutionChannel, setupSocketIOListeners, } from './socketio-transport.js';
L37: import { execSync, spawn } from 'child_process';
L38: import * as remoteDesktop from './remote-desktop.js';
...
L44: import { runFirstRunOnboarding } from './ui/onboarding.js';
L45: // Read version — try package.json first, fall back to env (for binary builds)
L46: const __filename = fileURLToPath(import.meta.url);
L47: const __dirname = path.dirname(__filename);
L48: let VERSION = '0.0.0';
...
L50: const packageJsonPath = path.j
HighTrigger Reachable Credential Exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/index.jsView on unpkg · L15 15Trigger-reachable persistence chain: scripts.start -> dist/index.js
L15: const nodeBin = process.execPath.slice(0, process.execPath.lastIndexOf('/'));
L16: const home = process.env.HOME || '/root';
L17: const extraPaths = [
...
L36: import { createSocketIOConnection, createExecutionChannel, setupSocketIOListeners, } from './socketio-transport.js';
L37: import { execSync, spawn } from 'child_process';
L38: import * as remoteDesktop from './remote-desktop.js';
...
L44: import { runFirstRunOnboarding } from './ui/onboarding.js';
L45: // Read version — try package.json first, fall back to env (for binary builds)
L46: const __filename = fileURLToPath(import.meta.url);
L47: const __dirname = path.dirname(__filename);
L48: let VERSION = '0.0.0';
...
L50: const packageJsonPath = path.join(__dirnam
HighTrigger Reachable Persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/index.jsView on unpkg · L15 1269try {
L1270: const updateCmd = `npm install -g --force orquesta-agent@${version}`;
L1271: logger.info(`Trying: ${updateCmd}`);
L1272: execSync(updateCmd, { stdio: 'inherit' });
L1273: updated = true;
HighRuntime Package Install
Package source invokes a package manager install command at runtime.
dist/index.jsView on unpkg · L1269 15const nodeBin = process.execPath.slice(0, process.execPath.lastIndexOf('/'));
L16: const home = process.env.HOME || '/root';
L17: const extraPaths = [
...
L36: import { createSocketIOConnection, createExecutionChannel, setupSocketIOListeners, } from './socketio-transport.js';
L37: import { execSync, spawn } from 'child_process';
L38: import * as remoteDesktop from './remote-desktop.js';
...
L44: import { runFirstRunOnboarding } from './ui/onboarding.js';
L45: // Read version — try package.json first, fall back to env (for binary builds)
L46: const __filename = fileURLToPath(import.meta.url);
L47: const __dirname = path.dirname(__filename);
L48: let VERSION = '0.0.0';
...
L50: const packageJsonPath = path.join(__dirname, '..', 'package.json');
MediumInstall Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/index.jsView on unpkg · L15