27754L27755: const execAsync$1 = promisify$1(exec$1);
L27756: const CLIENT_ID = "681255809395-[redacted].apps.googleusercontent.com";
L27757: const CLIENT_SECRET = process.env.GOOGLE_OAUTH_CLIENT_SECRET ?? "";
L27758: const AUTHORIZE_URL = "https://accounts.google.com/o/oauth2/v2/auth";
L27759: const TOKEN_URL = "https://oauth2.googleapis.com/token";
HighSame File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/index-BEbnUT5r.mjsView on unpkg · L27754 6import { l as logger, b as projectPath, d as delay, R as RawJSONLinesSchema, I as InvalidateSync, j as createReplayBuffer, c as configuration, k as AsyncLock, m as generateRepoMap,...
L7: import { spawn, exec, execSync, execFile as execFile$1, execFileSync as execFileSync$1 } from 'node:child_process';
L8: import { createInterface } from 'node:readline';
...
L401: }
L402: const sessionData = readFileSync(sessionFile, "utf-8").split("\n");
L403: const hasGoodMessage = !!sessionData.find((v, index) => {
...
L3353: const attachedTerminals = /* @__PURE__ */ new Map();
L3354: let reconnectBaseUrl = null;
L3355: let reconnectInflight = null;
HighRemote Agent Bridge
Source exposes local file and command tools to a remote model endpoint.
dist/index-BEbnUT5r.mjsView on unpkg · L6 5Cross-file remote execution chain: dist/index-BEbnUT5r.mjs spawns dist/runCodex-THe4hYfp.mjs; helper contains network access plus dynamic code execution.
L5: import path, { resolve, join, isAbsolute, dirname, basename, relative, sep } from 'node:path';
L6: import { l as logger, b as projectPath, d as delay, R as RawJSONLinesSchema, I as InvalidateSync, j as createReplayBuffer, c as configuration, k as AsyncLock, m as generateRepoMap,...
L7: import { spawn, exec, execSync, execFile as execFile$1, execFileSync as execFileSync$1 } from 'node:child_process';
L8: import { createInterface } from 'node:readline';
...
L11: import fs, { watch, mkdir as mkdir$1, writeFile as writeFile$1, unlink, readFile as readFile$1, rename } from 'fs/promises';
L12: import { useStdout, useInput, Box, Text, render } from 'ink';
L13: import React, { useState, useRef, useEffect, useCallback } from 'react';
L14: import axios from 'axios';
L15: import 'node:events';
...
L389: const projectId = resolve(workingDirectory).replace(/[^a-zA-Z0-9-]/g, "-");
L390: const claudeConfigDir = process.env.CLAUDE_CONFIG_DIR || join(homedir(), ".claude");
L391: return join(claudeConfigDir, "projects", projectId);
HighCross File Remote Execution Context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/index-BEbnUT5r.mjsView on unpkg · L5 5import path, { resolve, join, isAbsolute, dirname, basename, relative, sep } from 'node:path';
L6: import { l as logger, b as projectPath, d as delay, R as RawJSONLinesSchema, I as InvalidateSync, j as createReplayBuffer, c as configuration, k as AsyncLock, m as generateRepoMap,...
L7: import { spawn, exec, execSync, execFile as execFile$1, execFileSync as execFileSync$1 } from 'node:child_process';
L8: import { createInterface } from 'node:readline';
...
L11: import fs, { watch, mkdir as mkdir$1, writeFile as writeFile$1, unlink, readFile as readFile$1, rename } from 'fs/promises';
L12: import { useStdout, useInput, Box, Text, render } from 'ink';
L13: import React, { useState, useRef, useEffect, useCallback } from 'react';
L14: import axios from 'axios';
L15: import 'node:events';
...
L389: const projectId = resolve(workingDirectory).replace(/[^a-zA-Z0-9-]/g, "-");
L390: const claudeConfigDir = process.env.CLAUDE_CONFIG_DIR || join(homedir(), ".claude");
L391: return join(claudeConfigDir, "projects", projectId);
MediumInstall Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/index-BEbnUT5r.mjsView on unpkg · L5 5import path, { resolve, join, isAbsolute, dirname, basename, relative, sep } from 'node:path';
L6: import { l as logger, b as projectPath, d as delay, R as RawJSONLinesSchema, I as InvalidateSync, j as createReplayBuffer, c as configuration, k as AsyncLock, m as generateRepoMap,...
L7: import { spawn, exec, execSync, execFile as execFile$1, execFileSync as execFileSync$1 } from 'node:child_process';
L8: import { createInterface } from 'node:readline';
...
L11: import fs, { watch, mkdir as mkdir$1, writeFile as writeFile$1, unlink, readFile as readFile$1, rename } from 'fs/promises';
L12: import { useStdout, useInput, Box, Text, render } from 'ink';
L13: import React, { useState, useRef, useEffect, useCallback } from 'react';
L14: import axios from 'axios';
L15: import 'node:events';
...
L389: const projectId = resolve(workingDirectory).replace(/[^a-zA-Z0-9-]/g, "-");
L390: const claudeConfigDir = process.env.CLAUDE_CONFIG_DIR || join(homedir(), ".claude");
L391: return join(claudeConfigDir, "projects", projectId);
LowWeak Crypto
Package source references weak cryptographic algorithms.
dist/index-BEbnUT5r.mjsView on unpkg · L5