Loading npm security reports…
Loading npm security reports…
@cgh567/agent@2.6.68: Clean npm security report (Allow) | LPM Firewall
Allowed — no malicious behavior detected
30 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 22, 2026, 11:12 UTC · by lpm-firewall-ai The postinstall hook performs package setup, and the inspected credential flows send tokens to their relevant service or the configured Elyntic API. The routed RPC shell reference is a printed upgrade instruction rather than an executed download.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
The postinstall hook runs during installation; OAuth and daemon API calls occur as part of their respective integration flows.
Impact
No malicious impact was identified from the reviewed source.
Mechanism
The install hook prepares package bindings and local scripts. Reviewed credentials go to the corresponding OAuth or configured Elyntic API service.
Network endpoints5
inbox.dog oauth2.googleapis.com gmail.googleapis.com slack.com elynticConfig.apiUrl
public snapshot
Evidence for AI clean decision
The manifest declares CLI entry points and a postinstall hook. The postinstall hook prepares the package's native binding and runs package-local build and alias scripts. Inbox Dog credentials are used in an explicit OAuth flow with inbox.dog. The daemon sends its configured Elyntic API key to the configured Elyntic API URL to poll runs. Evidence against
The reviewed credential and network flows have destinations consistent with their integrations. The routed RPC shell reference is printed as a Node upgrade remedy; the inspected entrypoint does not execute it. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Filesystem · Network · Shell
Supply chain High entropy strings · Possible obfuscation · Telemetry · URL strings
Manifest No license · Wildcard dependency
Scanned 2,500 files · 30.8 MB of source
50 external domains referenced
127.0.0.1 acme.vc advance.lexis.com api.apollo.io api.github.com api.hubapi.com api.hunter.io api.notion.com api.pipedrive.com api.search.brave.com api.slack.com boards-api.greenhouse.io calendar.google.com cdn.jsdelivr.net console.cloud.google.com console.developers.google.com deb.nodesource.com delcode.delaware.gov docs.example.com docs.google.com echo.epa.gov elyntic-harada.fly.dev en.wikipedia.org example.com external-api.com first.com github.com gmail.googleapis.com graph.com graph.microsoft.com hacker-news.firebaseio.com hn.algolia.com httpsms.com huggingface.co inbox.dog jobs.lever.co login.microsoftonline.com mcp.context7.com mcp.mail.superhuman.com mcp.zapier.com new-url.com news.ycombinator.com oauth2.googleapis.com other.com porkbun.com publications.tnsosfiles.com r.jina.ai raw.githubusercontent.com registry.npmjs.org second.com Findings3 critical · 11 high · 8 medium · 8 low Source & flagged code19 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Install time lifecycle scriptsCleared
Package defines install-time lifecycle scripts.
package.json View on unpkg Medium Ambiguous install lifecycle scriptCleared
Install-time lifecycle script is not statically allowlisted and needs review.
package.json View on unpkg Shared scanner record · 2 findings · 1 line scripts.postinstall = node postinstall.cjs
High Child processCleared
Package source references child process execution.
bin/elyntic-ollama-models.cjs View on unpkg · L25 Code excerpt · 2 lines 26 const { spawnSync } = require ('child_process' );
27 // BROKER-ISOLATION-1: every process.execPath spawn below builds its child env here.
High ShellCleared
Package source references shell execution.
extensions/upgrade-reviewer.ts View on unpkg · L746 Code excerpt · 3 lines 746 const declRegex = /export \s+(?:declare\s+)?(?:interface|type|function |class |const |let |var |enum)\s+(\w+)/g;
747 let match: RegExpExecArray | null ;
748 while ((match = declRegex.exec (dtsContent)) !== null ) {
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
internal-backfill-worker.mts View on unpkg · L165 Code excerpt · 3 lines 165 // ── Pre-warm graph-transport broker before Phase 1 ─────────────────────────────
166 // The broker auto-starts on first require('./lib/graph/graph-transport.js') which normally
167 // fires mid-Phase-1 when unified-graph.js is loaded. This causes the warm gate to
extensions/design-elevation/index.ts View file Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
extensions/design-elevation/index.ts View on unpkg · L22 Code excerpt · 11 lines 23 const HOME = homedir ();
24 const LOG_DIR = join (HOME, ".pi" , "agent" , "governance" );
⋯
110 appendFileSync (EVENTS_FILE, JSON.stringify ({ ts: new Date ().toISOString (), type, ...data }) + "\n" );
111 } catch (e) { process.stderr.write (`[design-elevation] never crash: ${String(e)}\n` ); }
112 }
extensions/pi-autoresearch/triage-card-code-worker.cjs View file High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
extensions/pi-autoresearch/triage-card-code-worker.cjs View on unpkg · L5 Code excerpt · 9 lines 5 // never inherited by the sandboxed child; the whole owned group dies on EOF.
6 const {spawn}=require ('node:child_process' ),fs=require ('node:fs' );
7 const stop=()=>process.kill (-process.pid,'SIGKILL' );
8 try {
9 const life=new (require ('node:net' ).Socket)({fd:4 ,readable: ,writable: });
Critical Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
daemon/routes/inbox.js View on unpkg · L5 Code excerpt · 12 lines 5 const { homedir } = require ('os' );
6 const { spawn } = require ('child_process' );
7 const { nodeChildEnv } = require ('../../lib/child-node-env.js' );
8 const https = require ('https' );
9 const http = require ('http' );
⋯
60
61 // H4: SSRF guard — block private/loopback addresses in user-supplied URLs
extensions/pi-autoresearch/triage-card-code.ts View file High Command output exfiltrationCleared
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
extensions/pi-autoresearch/triage-card-code.ts View on unpkg · L307 Code excerpt · 7 lines 307 if (failure||closed)fail (failure??'RPC_CLOSED' );
308 const r=spawnSync ('/bin/ps' ,['-o' ,'rss=' ,'-p' ,String (supervisedPid (custody,child.pid!))],{encoding:'utf8' ,timeout:1000 });if (r.status!==0 ){kill ('RPC_CLOSED' );fail ('RPC_CLOSED' );}
High Hidden inline dependency executionCleared
Source silently spawns a Node process to execute an inline dependency payload.
backfill-dashboard.js View on unpkg · L10 Code excerpt · 12 lines 10 * - Metrics panel (right): emails, edges, episodes, deltas, memory, triage counts
11 * - Live log panel (bottom): rolling stderr/stdout stream, color-coded by severity
12 * - Header bar: status, account, elapsed time
⋯
29 const fs = require ('fs' );
30 const { spawn } = require ('child_process' );
31
⋯
45 // ── Config ────────────────────────────────────────────────────────────────────
46 const REPO = __dirname;
High Sandbox evasion gated capabilityCleared
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
extensions/email/auth/inbox-dog.js View on unpkg · L48 Code excerpt · 12 lines 48 var import_node_os = require ("node:os" );
49 var import_node_https = __toESM (require ("node:https" ));
50 const GOOGLE_TOKEN_URL = "https://oauth2.googleapis.com/token" ;
⋯
53 function resolveClientId () {
54 return process.env.INBOX_DOG_CLIENT_ID || INBOX_DOG_BUILTIN_CLIENT_ID;
55 }
⋯
66 (process.env.INBOX_DOG_CLIENT_SECRET) process.env.INBOX_DOG_CLIENT_SECRET;
High Cross file remote execution contextCleared
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
daemon/daemon-manager.js View on unpkg · L21 Code excerpt · 12 lines Cross-file remote execution chain: daemon/daemon-manager.js spawns daemon/elyntic-company-daemon.js; helper contains network access plus dynamic code execution.
21 const fs = require ('fs' );
22 const { spawn } = require ('child_process' );
23
24 const DEFAULT_PORT = parseInt (process.env.ELYNTIC_DAEMON_PORT || '9093' , 10 );
25 const DAEMON_SCRIPT = path.join (__dirname, 'elyntic-company-daemon.js' );
26 // AGENT-DAEMON-INSTANCE-1: the lease this manager inspects must be the SAME file
Medium Ships native binaryCleared
Package ships native binary artifacts.
bin/fd View on unpkg Scanner record · 4 lines path = bin/fd
kind = native_binary
sizeBytes = 2953808
magicHex = [redacted]
Critical Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
bin/elyntic-rpc.cjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @cgh567/agent@2.6.67
matchedIdentity = npm:QGNnaDU2Ny9hZ2VudA:2.6.67
similarity = 0.633
summary = stored previous version shares package body but lacks this dangerous source file
High Child process Code↓ Cleared
Package metadata 11 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Medium Wildcard dependency Cleared
Low Non install lifecycle scripts Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
353 // Scan package.json for framework
354 const pkgPath = join (projectPath, 'package.json' );
357 const pkg = JSON.parse (readFileSync (pkgPath, 'utf-8' ));
358 const deps = { ...pkg.dependencies, ...pkg.devDependencies };
true
false
10 life.on ('data' ,stop);life.on ('end' ,stop);life.on ('error' ,stop);life.on ('close' ,stop);life.resume ();
11 const [policy,input,output,custody]=process.argv.slice (3 );
12 const child=spawn ('/bin/sh' ,['-c' ,'ulimit -f 512; exec "$@"' ,'triage-code-child' ,'/usr/bin/sandbox-exec' ,'-f' ,policy,process.execPath,'--max-old-space-size=128' ,__filename,input,ou...
13 const fd=fs.openSync (custody,fs.constants.O_WRONLY|fs.constants.O_NOFOLLOW);
174 res.on ('data' , (c) => data += c);
175 res.on ('end' , () => { try { resolve (JSON.parse (data)); } catch { resolve ({ status: res.statusCode }); } });
177 req.on ('error' , reject); req.write (body); req.end ();
Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
daemon/routes/inbox.js View on unpkg · L5 Code excerpt · 12 lines Trigger-reachable chain: manifest.bin -> bin/elyntic-rpc.js -> bin/elyntic-rpc.cjs -> daemon/lib/local-task-prompt-profile.js -> daemon/lib/canonical-task-runtime.js -> daemon/lib/harada/cascade-research-dispatcher.js -> daemon/lib/task-sse.js -> daemon/elyntic-api.js -> daemon/routes/inbox.js
5 const { homedir } = require ('os' );
6 const { spawn } = require ('child_process' );
7 const { nodeChildEnv } = require ('../../lib/child-node-env.js' );
8 const https = require ('https' );
9 const http = require ('http' );
⋯
60
61 // H4: SSRF guard — block private/loopback addresses in user-supplied URLs
62 /**
⋯
174 res.on ('data' , (c) => data += c);
175 res.on ('end' , () => { try { resolve (JSON.parse (data)); } catch { resolve ({ status: res.statusCode }); } });
176 });
177 req.on
High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
daemon/routes/inbox.js View on unpkg · L5 Code excerpt · 10 lines Trigger-reachable credential exfiltration chain: manifest.bin -> bin/elyntic-rpc.js -> bin/elyntic-rpc.cjs -> daemon/lib/local-task-prompt-profile.js -> daemon/lib/canonical-task-runtime.js -> daemon/lib/harada/cascade-research-dispatcher.js -> daemon/lib/task-sse.js -> daemon/elyntic-api.js -> daemon/routes/inbox.js
5 const { homedir } = require ('os' );
6 const { spawn } = require ('child_process' );
7 const { nodeChildEnv } = require ('../../lib/child-node-env.js' );
8 const https = require ('https' );
9 const http = require ('http' );
⋯
60
61 // H4: SSRF guard — block private/loopback addresses in user-supplied URLs
62 /**
⋯
174 res.on ('data' , (c) => data += c);
175 res.on ('end' , () => { try { resolve (JSON.parse (data)); } catch { resolve ({ status: res.statusCode }); } })
309 if (Number (r.stdout.trim ())>256 *1024 ){kill ('RSS_LIMIT' );fail ('RSS_LIMIT' );}
321 const response=await fetch (row.url,{method:'POST' ,headers:{'content-type' :'application/json' },body:JSON.stringify (row.request),signal:controller.signal,redirect:'error' });const pay...
322 if (!closed&&!failure)child.stdin.write (JSON.stringify ({id:row.id,status:response.status,payload})+'\n' );
47 const LOG_FILE = path.join (path.dirname (REPO), 'backfill-run.log' );
472 const startTimestamp = new Date ().toISOString ().replace ('T' , ' ' ).slice (0 , 19 );
473 logStream.write (`\n=== Backfill dashboard started: ${startTimestamp} args: ${ARGS.join(' ')} ===\n` );
High Runtime package installCleared
Package source invokes a package manager install command at runtime.
backfill-dashboard.js View on unpkg · L715 Code excerpt · 3 lines 715 } else {
716 child = spawn ('npx' , ['tsx' , scriptPath, ...ARGS], {
717 cwd: __dirname, stdio: ['inherit' , 'pipe' , 'pipe' ], env: { ...process.env }
High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
backfill-dashboard.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 3
if
return
67 const platform = process.platform;
69 if (platform === "darwin" ) {
70 const { execFileSync } = require ("node:child_process" );
71 const result = execFileSync (
43 async function isHealthy (port = DEFAULT_PORT) {
44 const url = `http://localhost:${port}/api/health` ;
112 // Write daemon stderr to a log file so crashes are visible for diagnosis.
113 // stdout is ignored (daemon uses log() internally