Loading npm security reports…
Loading npm security reports…
@cgh567/agent@2.6.53: Clean npm security report (Allow) | LPM Firewall
Allowed — no malicious behavior detected
28 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 14, 2026, 17:08 UTC · by lpm-firewall-ai Direct inspection resolved the prominent scanner hints to package setup, gated messaging, sandboxed evaluation, and normal local or configured service access. The source examined does not establish malicious behavior or an unresolved concrete attack surface.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
The declared install hook runs during installation; other reviewed behavior activates through package commands, extensions, or daemon operation.
Impact
No unconsented credential transfer, destructive behavior, or unauthorized account action was established.
Mechanism
The inspected code prepares package native components, performs scoped data queries, and gates account sends for approval.
Decision evidencepublic snapshot Evidence for AI clean decision
The manifest runs a postinstall hook; the inspected hook preserves an existing SQLite binding and performs package setup.
The flagged runtime worker queries records using selected source IDs; the inspected operations did not establish unrelated account actions.
The API defaults to loopback, the model helper queries its configured Ollama server, and the daemon health check targets localhost.
The upgrade reviewer runs upgrades only after a safe report; warning or breaking reports follow a confirmation path.
The email command returns an unsent draft for governance approval, and the queue gates reply and forward actions.
The flagged dashboard launches the named backfill script; the code worker checks that its sandbox blocks filesystem, process, and network access, and the Unicode flag corresponds to a byte-order mark. Evidence against
A postinstall lifecycle hook and subprocess or network primitives are present, but inspected uses are package setup, local health checks, or caller-directed operations. The scanner’s credential and inline-payload hints did not match the inspected email-send and dashboard-launch behavior. 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,180 files · 25.4 MB of source
50 external domains referenced
127.0.0.1 acme.vc 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 r.jina.ai raw.githubusercontent.com registry.npmjs.org second.com slack.com statutes.capitol.texas.gov 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 · L21 Code excerpt · 11 lines 22 const HOME = homedir ();
23 const LOG_DIR = join (HOME, ".pi" , "agent" , "governance" );
⋯
101 appendFileSync (EVENTS_FILE, JSON.stringify ({ ts: new Date ().toISOString (), type, ...data }) + "\n" );
102 } catch (e) { process.stderr.write (`[design-elevation] never crash: ${String(e)}\n` ); }
103 }
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.
daemon/scripts/send-queue.js View on unpkg · L13 Code excerpt · 12 lines 13 * 3 . On success → move to `completed` . On permanent failure → move to `failed` .
14 * 4 . Prints a JSON summary on stdout when done.
15 *
⋯
55 try {
56 return JSON.parse (fs.readFileSync (queuePath, 'utf8' ));
57 } catch (_) {
⋯
77 if (!account || !account.tokenPath) throw new ( );
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
344 // Scan package.json for framework
345 const pkgPath = join (projectPath, 'package.json' );
348 const pkg = JSON.parse (readFileSync (pkgPath, 'utf-8' ));
349 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 = 104
Error
'no_gmail_token'
78 const tokenPath = account.tokenPath.replace (/^~/, os.homedir ());
79 if (!fs.existsSync (tokenPath)) throw new Error ('no_gmail_token' );
115 process.stderr.write (`[send-queue] Gmail token refresh failed (using existing token): ${err.message}\n` );
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