Loading npm security reports…
Loading npm security reports…
@cgh567/agent@2.6.56: Clean npm security report (Allow) | LPM Firewall
Allowed — no malicious behavior detected
29 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 16, 2026, 15:33 UTC · by lpm-firewall-ai The postinstall hook and its network access support native dependency preparation: downloads use fixed pinned asset sources and hashes, with no inspected collection of host identifiers or unrelated outbound data. Reviewed runtime paths, including the scoped repair queries and gated email send flow, did not establish concrete attack behavior.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
npm installation runs the postinstall hook; the archive fetch occurs only when native preparation is needed and the archive is not cached.
Impact
The observed network request exposes the installer’s network address to the dependency asset host, but the inspected source ties that request to native dependency setup and does not establish unrelated installation tracking or another attack.
Mechanism
The preparation code requests pinned dependency archives from their configured hosts and checks their hashes. The reviewed request construction uses a fixed package-specific user-agent and showed no host or user identifier collection.
Network endpoints2
ghcr.io download.firedaemon.com
public snapshot
Evidence for AI clean decision
The manifest runs postinstall.cjs after installation. The hook checks native bindings and prepares them when needed. The install-time download is for pinned OpenSSL assets used by the declared native dependency. The request sends a fixed user-agent and uses pinned URLs and hashes; inspected source showed no host or user identifier collection. The required runtime paths describe local schema, scope, storage, and processing functions. The repair worker’s reported operations query by company and provider account IDs. The email compose command returns an unsent draft; sending is a separate operation after governance approval. The reviewed install and runtime behavior did not establish an unrelated collector, unauthorized account action, or other concrete attack. Evidence against
Installation can make a network request to fetch native dependency assets on supported platforms when the binding is not loadable and the cached archive is absent. The scanner flags include dynamic loading, network references, a native binary, and unusual Unicode; the inspected excerpts do not establish malicious behavior from those labels. 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,187 files · 25.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 Findings2 critical · 11 high · 8 medium · 8 low Source & flagged code18 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]
daemon/lib/hbo-workbook-registration.js View file Critical Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
daemon/lib/hbo-workbook-registration.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @cgh567/agent@2.6.55
matchedIdentity = npm:QGNnaDU2Ny9hZ2VudA:2.6.55
similarity = 0.817
summary = stored previous version shares package body but lacks this dangerous source file
↓
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 = 102
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