225try {
L226: sha = execSync('git rev-parse HEAD', { cwd: opts.execDir, stdio: 'pipe' }).toString().trim() || null;
L227: }
...
L229: }
L230: const apiUrl = process.env.ORQUESTA_API_URL || 'https://getorquesta.com';
L231: 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 · L225 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 = [
...
L38: import { createSocketIOConnection, createExecutionChannel, setupSocketIOListeners, } from './socketio-transport.js';
L39: import { execSync, spawn } from 'child_process';
L40: import * as remoteDesktop from './remote-desktop.js';
...
L48: import { canStartPrompt } from './dispatch-gate.js';
L49: // Read version — try package.json first, fall back to env (for binary builds)
L50: const __filename = fileURLToPath(import.meta.url);
L51: const __dirname = path.dirname(__filename);
L52: // Every host-side git command (autoPull, checkout, merge, commit) ignores repo-controlled
..
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 = [
...
L38: import { createSocketIOConnection, createExecutionChannel, setupSocketIOListeners, } from './socketio-transport.js';
L39: import { execSync, spawn } from 'child_process';
L40: import * as remoteDesktop from './remote-desktop.js';
...
L48: import { canStartPrompt } from './dispatch-gate.js';
L49: // Read version — try package.json first, fall back to env (for binary builds)
L50: const __filename = fileURLToPath(import.meta.url);
L51: const __dirname = path.dirname(__filename);
L52: // Every host-side git command (autoPull, checkout, merge, commit) ignores repo-controlled
...
L57: const packageJsonPath = path.join(__dirname, '..'
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 = [
...
L38: import { createSocketIOConnection, createExecutionChannel, setupSocketIOListeners, } from './socketio-transport.js';
L39: import { execSync, spawn } from 'child_process';
L40: import * as remoteDesktop from './remote-desktop.js';
...
L48: import { canStartPrompt } from './dispatch-gate.js';
L49: // Read version — try package.json first, fall back to env (for binary builds)
L50: const __filename = fileURLToPath(import.meta.url);
L51: const __dirname = path.dirname(__filename);
L52: // Every host-side git command (autoPull, checkout, merge, commit) ig
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 = [
...
L38: import { createSocketIOConnection, createExecutionChannel, setupSocketIOListeners, } from './socketio-transport.js';
L39: import { execSync, spawn } from 'child_process';
L40: import * as remoteDesktop from './remote-desktop.js';
...
L48: import { canStartPrompt } from './dispatch-gate.js';
L49: // Read version — try package.json first, fall back to env (for binary builds)
L50: const __filename = fileURLToPath(import.meta.url);
L51: const __dirname = path.dirname(__filename);
L52: // Every host-side git command (autoPull, checkout, merge, commit) ignores repo-c
HighTrigger Reachable Persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/index.jsView on unpkg · L15 1403try {
L1404: const updateCmd = `npm install -g --force orquesta-agent@${version}`;
L1405: logger.info(`Trying: ${updateCmd}`);
L1406: execSync(updateCmd, { stdio: 'inherit' });
L1407: updated = true;
HighRuntime Package Install
Package source invokes a package manager install command at runtime.
dist/index.jsView on unpkg · L1403 15const nodeBin = process.execPath.slice(0, process.execPath.lastIndexOf('/'));
L16: const home = process.env.HOME || '/root';
L17: const extraPaths = [
...
L38: import { createSocketIOConnection, createExecutionChannel, setupSocketIOListeners, } from './socketio-transport.js';
L39: import { execSync, spawn } from 'child_process';
L40: import * as remoteDesktop from './remote-desktop.js';
...
L48: import { canStartPrompt } from './dispatch-gate.js';
L49: // Read version — try package.json first, fall back to env (for binary builds)
L50: const __filename = fileURLToPath(import.meta.url);
L51: const __dirname = path.dirname(__filename);
L52: // Every host-side git command (autoPull, checkout, merge, commit) ignores repo-controlled
...
L57: const packageJsonPath = path.join(__dirname, '..'
MediumInstall Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/index.jsView on unpkg · L15