Loading npm security reports…
Loading npm security reports…
@cgh567/agent@2.6.60: Clean npm security report (Allow) | LPM Firewall
Allowed — no malicious behavior detected
28 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 3, 2026, 03:18 UTC · by lpm-firewall-ai The install hook prepares a native dependency using pinned assets, and the flagged credential and messaging flows send data to the corresponding service for their features. The source also shows approval gating for sends and enforced isolation checks for candidate code execution.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
The postinstall hook prepares a native dependency; runtime OAuth, messaging, and code evaluation occur when their corresponding features are used.
Impact
No malicious impact was identified in the inspected flows.
Mechanism
The hook stages pinned native assets. OAuth credentials go to the relevant token endpoint, messaging uses the selected platform, and candidate evaluation checks its sandbox restrictions.
Evidence
scripts/prepare-ladybug-native.mjs scripts/native/prepare-openssl.cjs scripts/native/openssl-runtime.pins.json
Network endpoints5
ghcr.io formulae.brew.sh oauth2.googleapis.com inbox.dog
slack.com
Decision evidencepublic snapshot Evidence for AI clean decision
The postinstall hook runs native preparation and optional local source preparation; the inspected hook contains no host or project data collection. The native preparation uses pinned OpenSSL assets from Homebrew infrastructure with a recorded SHA-256 hash. OAuth refresh tokens and client credentials are sent to the configured Google or inbox.dog token endpoint. Email and message sending is marked unsent until governance gate approval, then uses the selected platform provider. The code evaluation worker requires filesystem, process, and network restrictions to pass before loading candidate code. Evidence against
The package defines a postinstall hook that launches local preparation scripts. Email authentication reads credentials from environment variables, the OS keychain, or local token files. 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,291 files · 27.7 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 Findings1 critical · 11 high · 8 medium · 8 low Source & flagged code17 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.
brainv2/task-context-strategy.ts View on unpkg · L35 Code excerpt · 3 lines 35 try {
36 const { shannonEntropy } = require ('../lib/graph/analytics/quantum-entropy-detector.js' );
37 // If task text itself contains error-like keywords, boost governance context
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: });
extensions/email/commands/compose.ts View file High Credential exfiltrationCleared
Source combines credential-like environment material and outbound requests; review data flow before blocking.
extensions/email/commands/compose.ts View on unpkg · L22 Code excerpt · 12 lines 22 subject?: string;
23 body: string;
24 };
⋯
135 try {
136 const config = JSON.parse (readFileSync (configPath, 'utf-8' ));
137 botToken = config.botToken;
⋯
141 }
142 botToken ||= process.env.SLACK_BOT_TOKEN;
143 if (!botToken) return { sent: false , error: 'Slack not configured' };
⋯
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]
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);
146 const response = await fetch ('https://slack.com/api/chat.postMessage' , {
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 = 107
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