Loading npm security reports…
Loading npm security reports…
eai-cli@3.20.2: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
18 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 16, 2026, 23:58 UTC · by lpm-firewall-ai The package has no install lifecycle hook, and the flagged agent configuration behavior is gated behind an explicit CLI action with project-scoped effects. The inspected runtime call sites do not establish a concrete attack.
Static reason
No blocking static signals were detected.; previous stored version diff introduced dangerous source
Trigger
A user runs the CLI init command with Gofer installation enabled.
Impact
No confirmed attack surface was established; the inspected paths do not show unconsented installation-time mutation or credential disclosure.
Mechanism
The installer copies project resources and can install a session hook that writes session state to a project-local bridge file.
Decision evidencepublic snapshot Evidence for AI clean decision
package.json identifies dist/index.js as the CLI entry point and declares no lifecycle scripts or runtime self-dependency.
Gofer asset installation is gated by the explicit init --gofer option and writes project-scoped resources; the session hook updates a project-local bridge file.
The inspected runtime locations handle request redirection, credential redaction, support reporting, command validation, and API error handling; they do not establish an unrequested account action or credential export. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell
Supply chain High entropy strings · URL strings
Manifest No manifest risk signals triggered.
Scanned 195 files · 3.10 MB of source
50 external domains referenced
abc.com admin-portal.ca.myenterprise.ai admin-portal.eu.myenterprise.ai admin-portal.example.com admin-portal.myenterprise.ai antigravity.google api.au.myenterprise.ai api.au.myenterprise.ai.attacker.example api.ca.myenterprise.ai api.eu.myenterprise.ai api.typesafe.ai attacker.example careful-8000.eai.devtunnels.ms changed-8000.aue.devtunnels.ms claude.ai claude.com code.claude.com code.visualstudio.com dev-admin-portal.myenterprise.ai dev-api.au.myenterprise.ai dev-api.au.myenterprise.ai.attacker.example docs.eai.software docs.github.com eai-support.github.io evil.dev-api.au.myenterprise.ai git-scm.com github.com json-schema.org learn.chatgpt.com my-app.example.com other-3010.aue.devtunnels.ms other-8000.aue.devtunnels.ms otherowner-8000.aue.devtunnels.ms owner-run-3000.use1.devtunnels.ms owner-run-3010.use1.devtunnels.ms owner-run-3010.use1.devtunnels.ms.attacker.example owner-run-8000.bad owner-run-8000.use1.devtunnels.ms owner-run-8000.use1.devtunnels.ms.attacker.example owner-run-8001.use1.devtunnels.ms owner-run-name-3010.aue.devtunnels.ms owner-run-name-8000.aue01.devtunnels.ms ownerrun-3000.aue.devtunnels.ms ownerrun-3010.aue.devtunnels.ms ownerrun-8000.aue01.devtunnels.ms ownerrun-8001.aue.devtunnels.ms registry.npmjs.org test-admin-portal.myenterprise.ai test-api.au.myenterprise.ai test-api.ca.myenterprise.ai Findings7 high · 6 medium · 5 low Source & flagged code11 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Child processCleared
Package source references child process execution.
dist/lib/eai-managed-source.js View on unpkg · L1 Code excerpt · 3 lines 1 import { createHash } from 'node:crypto' ;
2 import { execFile } from 'node:child_process' ;
3 import { constants } from 'node:fs' ;
High ShellCleared
Package source references shell execution.
dist/lib/update-maintenance.js View on unpkg · L161 Code excerpt · 3 lines 161 return {
162 command: "cmd.exe" ,
163 args: ["/d" , "/s" , "/c" , "eai.cmd" , ...args],
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/index.js View on unpkg · L11 Code excerpt · 3 lines 11 import chalk from 'chalk' ;
12 const require = createRequire (import .meta.url);
13 const pkg = require ('../package.json' );
resources/deploy/eai-app-template/tests/source-unknown-deployment-evidence.test.mjs View file Medium Unsafe vm contextCleared
Package source executes code through a VM context API.
resources/deploy/eai-app-template/tests/source-unknown-deployment-evidence.test.mjs View on unpkg · L1 Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
resources/deploy/eai-app-template/tests/source-unknown-deployment-evidence.test.mjs View on unpkg · L1 Shared code excerpt · 2 findings · 12 lines 1 import assert from 'node:assert/strict' ;
2 import { execFileSync, spawnSync } from 'node:child_process' ;
3 import { createHash } from 'node:crypto' ;
High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/lib/update-check.js View on unpkg · L6 Code excerpt · 9 lines 6 import { readFile, writeFile, mkdir } from 'node:fs/promises' ;
7 import { spawn } from 'node:child_process' ;
8 import { join } from 'node:path' ;
⋯
13 const CACHE_FILE = join (EAI_DIR, 'update-check.json' );
14 export const STATIC_REGISTRY_URL = 'https://eai-support.github.io/eai/registry/' ;
15 export const STATIC_PACKUMENT_URL = ;
resources/gofer/hook-scripts/session-lifecycle.mjs View file High External AI agent control surface mutationCleared
Runtime or CLI source writes behavior-bearing configuration into a user or project AI-agent control surface.
resources/gofer/hook-scripts/session-lifecycle.mjs View on unpkg Scanner record · 22 lines Runtime or CLI code links a write operation to an explicit external AI-agent control path:
#!/usr/bin/env node
High Trigger reachable external AI agent control surface mutationCleared
Manifest-trigger-reachable source writes behavior-bearing configuration into a user or project AI-agent control surface.
dist/lib/gofer-installer.js View on unpkg Scanner record · 20 lines Manifest-trigger-reachable source links an external AI-agent control path to a behavior-bearing write operation.
eturn path;
}
async function writegoferversionmarker(workspacepath, version) {
const target = join(workspacepath, '.specify', '.gofer-version');
let exists = false;
try {
const status = await lstat(target);
if (!status.isfile() || status.nlink !== 1)
throw new error('gofer version marker must be a regular file.');
exists = true;
if (await readfile(target, 'utf-8') === `${version}\n`)
return 'unchanged';
}
catch (error) {
High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/commands/init.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_trace_path_limit_exceeded; limitedFiles = 29
resources/gofer/node-scripts/package-agent-plugin.mjs View file High Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
resources/gofer/node-scripts/package-agent-plugin.mjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = eai-cli@3.19.4
matchedIdentity = npm:ZWFpLWNsaQ:3.19.4
similarity = 0.850
summary = stored previous version shares package body but lacks this dangerous source file
High Semantic analysis limited Code↓ Cleared
Package metadata 7 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low High entropy strings Cleared
⋯
28 import { runInNewContext } from 'node:vm' ;
29 import { gunzipSync } from 'node:zlib' ;
47 'https://dev-api.au.myenterprise.ai/public' ,
48 'https://dev-admin-portal.myenterprise.ai' ,
369 process.platform !== 'win32' && typeof process.getuid === 'function' ,
370 'Controlled local routing requires POSIX owner protection.' ,
`${STATIC_REGISTRY_URL}@enterpriseai/cli`
21 function shouldSkip () {
22 if (process.env['NO_UPDATE_NOTIFIER' ] === '1' ) {
import { readfilesync, writefilesync, renamesync, mkdirsync } from 'fs';
import { join, dirname } from 'path';
const project_dir = process.env.claude_project_dir || process.cwd();
const bridge_path = join(project_dir, '.specify', 'hooks', 'context-bridge.
if (error.code !== 'enoent')
const staged = join(dirname(target), `.gofer-version.${randomuuid()}.tmp`);