224try {
L225: sha = execSync('git rev-parse HEAD', { cwd: opts.execDir, stdio: 'pipe' }).toString().trim() || null;
L226: }
...
L228: }
L229: const apiUrl = process.env.ORQUESTA_API_URL || 'https://getorquesta.com';
L230: 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 · L224 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';
...
L47: import { applyGitHardening, autoUpdateDisabled, isSafeVersionSpec } from './git-hardening.js';
L48: // Read version — try package.json first, fall back to env (for binary builds)
L49: const __filename = fileURLToPath(import.meta.url);
L50: const __dirname = path.dirname(__filename);
L51: // Every host-side git command (autoPull, checkout,
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 •matchType = previous_version_dangerous_delta
matchedPackage = orquesta-agent@0.2.274
matchedIdentity = npm:b3JxdWVzdGEtYWdlbnQ:0.2.274
similarity = 0.946
summary = stored previous version shares package body but lacks this dangerous source file
CriticalPrevious Version Dangerous Delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/index.jsView on unpkg 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';
...
L47: import { applyGitHardening, autoUpdateDisabled, isSafeVersionSpec } from './git-hardening.js';
L48: // Read version — try package.json first, fall back to env (for binary builds)
L49: const __filename = fileURLToPath(import.meta.url);
L50: const __dirname = path.dirname(__filename);
L51: // Every host-side git command (autoPull, checkout, merge, commit) ignores repo-controlled
...
L56: const p
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';
...
L47: import { applyGitHardening, autoUpdateDisabled, isSafeVersionSpec } from './git-hardening.js';
L48: // Read version — try package.json first, fall back to env (for binary builds)
L49: const __filename = fileURLToPath(import.meta.url);
L50: const __dirname = path.dirname(__filename);
L51: // Every host-side git comm
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';
...
L47: import { applyGitHardening, autoUpdateDisabled, isSafeVersionSpec } from './git-hardening.js';
L48: // Read version — try package.json first, fall back to env (for binary builds)
L49: const __filename = fileURLToPath(import.meta.url);
L50: const __dirname = path.dirname(__filename);
L51: // Every host-side git command (autoPul
HighTrigger Reachable Persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/index.jsView on unpkg · L15 1397try {
L1398: const updateCmd = `npm install -g --force orquesta-agent@${version}`;
L1399: logger.info(`Trying: ${updateCmd}`);
L1400: execSync(updateCmd, { stdio: 'inherit' });
L1401: updated = true;
HighRuntime Package Install
Package source invokes a package manager install command at runtime.
dist/index.jsView on unpkg · L1397 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';
...
L47: import { applyGitHardening, autoUpdateDisabled, isSafeVersionSpec } from './git-hardening.js';
L48: // Read version — try package.json first, fall back to env (for binary builds)
L49: const __filename = fileURLToPath(import.meta.url);
L50: const __dirname = path.dirname(__filename);
L51: // Every host-side git command (autoPull, checkout, merge, commit) ignores repo-controlled
...
L56: const p
MediumInstall Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/index.jsView on unpkg · L15