Loading npm security reports…
Loading npm security reports…
@cgh567/agent@2.4.7: Clean npm security report (Allow) | LPM Firewall
npm / @cgh567/agent / 2.4.7 Helios agent runtime — full stack: extensions, skills, daemon, brain-v2, HEMA, governance
Allowed — no malicious behavior detected
33 low-signal patterns reviewed and cleared.
AI security reviewscanned on Jul 1, 2026, 15:44 UTC · by lpm-firewall-ai Static source inspection found high-risk primitives, but they are consistent with the declared Helios AI-agent runtime and guarded by explicit user/session flows rather than covert install-time execution. No source evidence showed credential exfiltration, hidden payload execution, destructive behavior, or unconsented agent control mutation.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
npm install postinstall; user runs helios/helios-rpc/helios-daemon or starts a Pi session
Impact
No evidence of unconsented exfiltration, persistence abuse, destructive action, or AI-agent control-surface hijack.
Mechanism
local agent runtime setup, credential injection for Bedrock provider, local Memgraph orchestration, prompted updater
Evidence
package.json postinstall.cjs bin/helios-rpc.js daemon/helios-company-daemon.js extensions/bedrock-login.ts extensions/memgraph-autostart.ts extensions/auto-update.ts bin/file-polyfill.cjs lib/graph/erd/parse-erd.js node_modules/better-sqlite3/build/Release/better_sqlite3.node
auth.json
~/.pi/agent/auth.json
~/.helios/daemon.token
data/api-token.txt
.update-state.json
.update-lock
.update-log.jsonl
.update-tarball.tar.gz
Network endpoints4
console.aws.amazon.com /iam/home#/security_credentialsgithub.com /helios-agi/helios-team-installer/releases/latest/downloadbedrock-runtime.${REGION}.amazonaws.com /model/${encodeURIComponent(MODEL_ID)}/invokebolt://127.0.0.1:7687
Decision evidencepublic snapshot Evidence for AI clean decision
postinstall.cjs runs at install time and copies a packaged better_sqlite3.node into node_modules/better-sqlite3/build/Release extensions/auto-update.ts performs git/curl/pi update logic after session_start, but prompts before applying updates extensions/memgraph-autostart.ts can start/stop Docker/WSL Memgraph infrastructure during agent sessions Evidence against
No install-time credential harvesting or network calls found in postinstall.cjs bin/helios-rpc.js reads auth.json only to pass Bedrock credentials into child process env for the local agent runtime extensions/bedrock-login.ts registers an explicit login provider and uses AWS console/Bedrock credentials for configured provider auth auto-update has user confirmation, lock controls, checksum verification, and package-aligned GitHub release URL memgraph-autostart targets local Docker/WSL Memgraph service and localhost Bolt, aligned with graph-agent functionality scanner secret in bedrock-login.ts is a documented placeholder/example, not a hardcoded live secret Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell
Supply chain High entropy strings · Telemetry · URL strings
Manifest No license · Wildcard dependency
Scanned 1,835 files · 18.9 MB of source
50 external domains referenced
10.0.0.1 127.0.0.1 127.0.0.2 127.255.255.255 169.254.169.254 172.16.0.1 192.168.1.1 2captcha.com accounts.google.com accounts.zoho.com acme.vc api.2captcha.com api.anti-captcha.com api.apollo.io api.capsolver.com api.github.com api.guerrillamail.com api.hubapi.com api.hunter.io api.mail.tm api.notion.com api.porkbun.com api.resend.com api.search.brave.com api.slack.com aws.amazon.com calendar.google.com cdn.jsdelivr.net clients2.google.com console.aws.amazon.com console.cloud.google.com deb.nodesource.com docs.example.com docs.google.com en.wikipedia.org example.com external-api.com fetched.example.com first.com fonts.googleapis.com freedesktop.org github.com gmail.googleapis.com graph.microsoft.com hacker-news.firebaseio.com helios.dev hn.algolia.com httpsms.com inbox.dog login.microsoftonline.com Findings4 critical · 10 high · 11 medium · 8 low Source & flagged code23 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 || echo '[helios-agent] postinstall skipped'
Critical Critical secretCleared
Package contains a critical-looking secret pattern.
extensions/bedrock-login.ts View on unpkg · L141 Critical Secret patternCleared
AWS access key ID in extensions/bedrock-login.ts
extensions/bedrock-login.ts View on unpkg · L141 Shared code excerpt · 2 findings · 4 lines 141 patternName = aws_access_key
severity = critical
line = 141
matchedText = placehol.....',
High Child processCleared
Package source references child process execution.
bin/helios-rpc.cjs View on unpkg · L36 Code excerpt · 3 lines 36 const fs = require ('fs' );
37 const { spawn } = require ('child_process' );
38
High ShellCleared
Package source references shell execution.
extensions/upgrade-reviewer.ts View on unpkg · L740 Code excerpt · 3 lines 740 const declRegex = /export \s+(?:declare\s+)?(?:interface|type|function |class |const |let |var |enum)\s+(\w+)/g;
741 let match: RegExpExecArray | null ;
742 while ((match = declRegex.exec (dtsContent)) !== null ) {
Low EvalCleared
Package source references a known benign dynamic code generation pattern.
lib/graph/erd/parse-erd.js View on unpkg · L244 Code excerpt · 3 lines 244 * that define entities/relationships as JS object literals.
245 * Backend Mapping: Pure regex — no eval (), no external deps, safe for CI.
246 * Integration Points: Merges into parseMermaidBlock → mergeResults → Memgraph pipeline.
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
bin/file-polyfill.cjs View on unpkg · L5 Code excerpt · 3 lines 5 if (typeof globalThis.File === 'undefined' ) {
6 const { Blob } = require ('buffer' );
7 globalThis.File = class File extends Blob {
extensions/memgraph-broker-launcher.ts View file Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
extensions/memgraph-broker-launcher.ts View on unpkg · L3 Code excerpt · 11 lines 3 *
4 * Uses Node.js fork () with IPC channel for readiness signaling.
5 * The broker sends { type: 'ready' } after its socket is listening.
⋯
22 // HELIOS_SKIP_INFRA=1 or HELIOS_SKIP_MEMGRAPH=1: broker not started
23 if (process.env.HELIOS_SKIP_INFRA === '1' || process.env.HELIOS_SKIP_MEMGRAPH === '1' ) { console.warn ('[WARN][memgraph-broker-launcher] HELIOS_SKIP_INFRA/MEMGRAPH=1 - skipping br...
24 // Fast path: if broker socket already exists and process alive, emit ready immediately.
⋯
Medium Install persistenceCleared
Source writes installer persistence such as shell profile or service configuration.
extensions/session-reaper.ts View on unpkg · L17 Code excerpt · 12 lines 17 import type { ExtensionAPI } from "@helios-agent/pi-coding-agent" ;
18 import { execFile, execFileSync, spawn } from "node:child_process" ;
19 import { join } from "node:path" ;
⋯
59 fs.mkdirSync (dir, { recursive: true , mode: 0o700 });
60 } catch (e) { process.stderr.write (`[extensions] never crash session: ${String(e)}\n` ); }
61 }
⋯
66
Critical Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version.
extensions/memgraph-autostart.ts View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @cgh567/agent@2.4.6
matchedIdentity = npm:QGNnaDU2Ny9hZ2VudA:2.4.6
similarity = 0.992
summary = stored previous version shares package body but lacks this dangerous source 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/memgraph-autostart.ts View on unpkg · L12 Code excerpt · 8 lines 12 */
13 import { execFile } from 'child_process' ;
lib/graph/web-research/auto-capture/queue.test.mjs View file High Cloud metadata accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
lib/graph/web-research/auto-capture/queue.test.mjs View on unpkg · L21 Code excerpt · 9 lines 21 queue.enqueue ([
22 'https://example.com/a' ,
23 'https://example.com/a' ,
⋯
114 const queue = new CaptureQueue ({ drainDelayMs: 60_000 });
115 queue.enqueue (['http://169.254.169.254/latest/meta-data/' ]);
116 assert.deepEqual (queue.getStats (), { queued: 0 , ingested: 0 , failed: 0 });
Critical Trojan source unicodeCleared
Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.
lib/triage-core/types.ts View on unpkg · L853 Code excerpt · 2 lines 853 contains invisible/control Unicode U+FEFF (zero width no-break space)
<U+FEFF>
High Cross file remote execution contextCleared
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
extensions/codebase-index.ts View on unpkg · L16 Code excerpt · 11 lines Cross-file remote execution chain: extensions/codebase-index.ts spawns bin/helios-rpc.js; helper contains network access plus dynamic code execution.
16 import { Type } from "@sinclair/typebox" ;
17 import { spawn } from "node:child_process" ;
18 import * as path from "node:path" ;
⋯
129 if (lockAge < LOCK_EXPIRY_MS) return false ;
130 } catch (e) { process.stderr.write (`[codebase-index.ts] operation failed: ${String(e)}\n` ); }
extensions/helios-governance/gates/h65-confidence-gate.ts View file High Runtime package installCleared
Package source invokes a package manager install command at runtime.
extensions/helios-governance/gates/h65-confidence-gate.ts View on unpkg · L503 Code excerpt · 3 lines 503 const { execSync } = require ('node:child_process' );
504 const result = execSync (`npx tsc --noEmit --pretty false "${filePath}" 2>&1` , {
505 timeout: 10000 ,
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]
Medium Ships build helperCleared
Package ships non-JavaScript build or shell helper files.
bin/helios-rpc-wrapper.sh View on unpkg Scanner record · 4 lines path = bin/helios-rpc-wrapper.sh
kind = build_helper
sizeBytes = 789
magicHex = [redacted]
skills/helios-design-system/assets/logo/web/avif/helios-logo-wordmark@4x.avif View file High Ships high entropy blobCleared
Package ships high-entropy non-source blobs.
skills/helios-design-system/assets/logo/web/avif/helios-logo-wordmark@4x.avif View on unpkg Scanner record · 4 lines path = skills/helios-design-[redacted]-logo-wordmark@4x.avif
kind = high_entropy_blob
sizeBytes = 6407
magicHex = [redacted]
extensions/__tests__/session-path-fixes.test.sh View file High Payload in excluded dirCleared
Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
extensions/__tests__/session-path-fixes.test.sh View on unpkg Scanner record · 4 lines path = extensions/__tests__/session-path-fixes.test.sh
kind = payload_in_excluded_dir
sizeBytes = 4962
magicHex = [redacted]
extensions/__tests__/helpers/test-mail.ts View file Medium Secret patternCleared
Hardcoded password in extensions/__tests__/helpers/test-mail.ts
extensions/__tests__/helpers/test-mail.ts View on unpkg · L139 Code excerpt · 4 lines 139 patternName = generic_password
severity = medium
line = 139
matchedText = const pa...6 !';
extensions/helios-governance/lib/crawl4ai-client.ts View file Medium Secret patternCleared
Hardcoded password in extensions/helios-governance/lib/crawl4ai-client.ts
extensions/helios-governance/lib/crawl4ai-client.ts View on unpkg · L884 Code excerpt · 4 lines 884 patternName = generic_password
severity = medium
line = 884
matchedText = SETVAR p..._ME"
Package metadata 10 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Medium Wildcard dependency Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
61
const uid = typeof process.getuid === 'function' ? process.getuid () : 0 ;
62 return join (homedir (), '.helios' , 'run' , `memgraph-broker-${uid}.sock` );
114 // No lock file → broker not running. On POSIX also clean up stale socket.
115 if (process.platform !== 'win32' ) {
const raw = fs.readFileSync (tombstonePath, "utf-8" );
67 return JSON.parse (raw) as SessionTombstone;
83 // /proc/self/fd/0 is Linux-only; macOS uses environment variables
84 if (process.platform === 'darwin' ) {
85 return process.env.TERM_SESSION_ID ?? process.env.TERM_PROGRAM ?? "unknown" ;
14 import { promisify } from 'util' ;
15 import * as net from 'net' ;
16 import { join } from 'path' ;
23 const require = createRequire (import .meta.url);
24 const QUIET = process.env.PI_QUIET === '1' || process.env.PI_LOG_LEVEL === 'error' ;
High Sandbox evasion gated capabilityCleared
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
extensions/memgraph-autostart.ts View on unpkg · L12 Code excerpt · 12 lines 12 */
13 import { execFile } from 'child_process' ;
14 import { promisify } from 'util' ;
15 import * as net from 'net' ;
16 import { join } from 'path' ;
⋯
23 const require = createRequire (import .meta.url);
24 const QUIET = process.env.PI_QUIET === '1' || process.env.PI_LOG_LEVEL === 'error' ;
25
⋯
53 if (!driver) {
54 process.stderr.write ('[memgraph-autostart] ⚠️ Driver not available yet — skipping MAGE module load (will retry on next tick)\n' );
55 return ;
⋯
266 // AGENT_DIR: resolved from HELIOS_ROOT env var (canonical), then from helios-root.js
125 test ('CaptureQueue SSRF: rejects RFC1918 private IPs' , () => {
126 const queue = new CaptureQueue ({ drainDelayMs: 60_000 });
152 saveManifest (current);
153 if (process.env.DEBUG) {
154 process.stderr.write (`[codebase-index] skip: 0 file changes in ${repoPath}\n` );
229 function runLexicalFallback (query: string, limit: number, project?: string): { text: string; count: number } {
230 const searchRoot = project || findGitRoot (process.cwd ()) || (require ('path'