Loading npm security reports…
Loading npm security reports…
neon@9.6.2: Clean npm security report (Allow) | LPM Firewall
Allowed — no malicious behavior detected
27 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 18, 2026, 00:49 UTC · by lpm-firewall-ai The suspicious process and network references have reachable, package-related purposes: a constrained CLI update check and a Gateway catalog lookup using the Gateway’s own token. The environment/network/process combination is in a test fixture, and the manifest has no install lifecycle hook.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
The update check may start after a successful interactive CLI command; the gateway catalog request follows an env pull with Gateway credentials. The test fixture runs only in tests.
Impact
No unauthorized credential transfer, unrelated collection, or harmful default action was identified.
Mechanism
The update worker retrieves a public version, the AI Gateway notice queries the configured Neon Gateway, and the test fixture launches a local CLI process against a mock server.
Evidence
dist/update_notifier.js dist/update_check_worker.js dist/_chunks/env-Bko0oXq9.js dist/utils/ai_gateway_notice.js dist/test_utils/fixtures.js
npm registry via npm view
NEON_AI_GATEWAY_BASE_URL (configured Neon Gateway)
Decision evidencepublic snapshot Evidence for AI clean decision
package.json lists build, lint, and test scripts but no install, preinstall, or postinstall hook. The CLI update notifier is limited to successful, interactive, table-output commands outside CI and can be disabled with NO_UPDATE_NOTIFIER. The update worker checks the Neon package version through npm or the Homebrew formula API and caches the result. The AI Gateway notice sends its bearer token to the gateway base URL and only runs when env pull has both Neon Gateway variables. The flagged child-process and network behavior in test_utils/fixtures.js belongs to a Vitest test fixture. Evidence against
The package identifies itself as Neon’s CLI, with dist/cli.js as its executable entry point. The GitHub token hint in bootstrap.js is used for a GitHub template download, consistent with the explicit bootstrap command. 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 manifest risk signals triggered.
Scanned 382 files · 2.75 MB of source
23 external domains referenced
127.0.0.1 api.example.com api.github.com app.example.com br-frosty-cell-a5smzg39-assistant.compute.c-1.us-east-2.aws.neon.tech claimable.neon.tech codeload.github.com console-stage.neon.build console.neon.tech example.com feedback.neon.tech formulae.brew.sh github.com mcp.neon.tech neon.com neon.tech neonstatus.com oauth2.neon.tech raw.githubusercontent.com tools.ietf.org track.neon.tech www.databricks.com www.postgresql.org Findings17 high · 4 medium · 6 low Source & flagged code19 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/update_notifier.js View on unpkg · L8 Code excerpt · 3 lines 8 import { fileURLToPath } from "node:url" ;
9 import { spawn } from "node:child_process" ;
10 import semver from "semver" ;
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/update_notifier.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = neon@8.15.1
matchedPath = dist/update_notifier.js
matchedIdentity = npm:bmVvbg:8.15.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High ShellCleared
Package source references shell execution.
dist/psql/core/prompt.js View on unpkg · L34 Code excerpt · 3 lines 34 * - Backtick command interpolation (`%` \`` cmd`\`` ) is executed synchronously
35 * via `child_process.execSync` on `sh -c <cmd>` . Output is substituted
36 * verbatim minus one trailing newline. Errors print to stderr and yield
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/psql/core/prompt.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = neon@3.1.0
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/utils/esbuild.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = neon@3.1.0
matchedPath = dist/utils/esbuild.js
matchedIdentity = npm:bmVvbg:3.1.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/utils/esbuild.js View on unpkg · L15 Code excerpt · 3 lines 15 isPackaged: () => process.pkg !== void 0 ,
16 loadEsbuild: (name) => import (name)
17 };
Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
dist/_chunks/auth-B1AqRN6z.js View on unpkg · L54 Code excerpt · 9 lines 54 const cli = getCliName ();
55 return helpEpilogue (wrapAuthHelp ("Non-interactive (CI, scripts, agents):" ), wrapAuthHelp ("Use an existing API key or an API-key profile." ), ` ${cli} projects list --profile agent` ...
56 };
⋯
153 try {
154 const { data: { id, email } } = await apiClient.getCurrentUserInfo ();
155 return {
⋯
315
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/test_utils/fixtures.js View on unpkg · L79 Code excerpt · 9 lines 79 await use (async (args, options = {}) => {
80 const apiHost = options.unreachableHost ? await reserveClosedPort () : `http://localhost:${(await runMockServer(options.mockDir || "main", options.onRequest)).address().port}` ;
81 let output = "" ;
82 let error = "" ;
83 const cp = fork (join (process.cwd (), "./dist/index.js" ), [
84 ,
High Sandbox evasion gated capabilityCleared
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/update_check_worker.js View on unpkg · L3 Code excerpt · 12 lines 3 import { pathToFileURL } from "node:url" ;
4 import { execFile } from "node:child_process" ;
5 // src/update_check_worker.ts
⋯
18 const npm[redacted] = async () => {
19 const invocation = npm[redacted](process.platform);
20 const { stdout } = await execFileAsync (invocation.command, invocation.args, {
21 encoding: "utf8" ,
High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/psql/command/cmd_connect.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_alias_growth_limit_exceeded; limitedFiles = 8
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/_chunks/dev-DzLI_GsC.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = neon@9.3.2
matchedPath = dist/_chunks/dev-DWbOS3QN.js
matchedIdentity = npm:bmVvbg:9.3.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/mcp/install.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = neon@8.21.0
matchedPath = dist/mcp/install.js
matchedIdentity = npm:bmVvbg:8.21.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/psql/command/cmd_copy.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = neon@4.5.2
matchedPath = dist/psql/command/cmd_copy.js
matchedIdentity = npm:bmVvbg:4.5.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/_chunks/bucket-D06bvDSa.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = neon@8.12.0
matchedPath = dist/_chunks/bucket-BCdryTkD.js
matchedIdentity = npm:bmVvbg:8.12.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/env_file.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = neon@8.7.1
matchedPath = dist/env_file.js
matchedIdentity = npm:bmVvbg:8.7.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Sandbox evasion gated capability Code↓ Cleared
Package metadata 8 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
matchedPath = dist/psql/core/prompt.js
matchedIdentity = npm:bmVvbg:3.1.0
summary = normalized source hash matched finalized malicious source
apiHost: props.apiHost,
316 oauthHost: props.oauthHost ?? process.env.NEON_OAUTH_HOST ?? "https://oauth2.neon.tech" ,
317 clientId: props.clientId ?? "neonctl"
"--api-host"
94 PATH: `${join(process.cwd(), "mocks/bin")}:${process.env.PATH}` ,
95 NO_UPDATE_NOTIFIER: "1" ,
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/test_utils/fixtures.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = neon@8.15.1
matchedPath = dist/test_utils/fixtures.js
matchedIdentity = npm:bmVvbg:8.15.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
⋯
26 const value = JSON.parse (stdout);
27 return typeof value === "string" ? value : void 0 ;
29 const homebrewLatestVersion = async () => {
30 const response = await fetch ("https://formulae.brew.sh/api/formula/neonctl.json" , { signal: AbortSignal.timeout (LOOKUP_TIMEOUT_MS) });
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/update_check_worker.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = neon@7.0.1
matchedPath = dist/update_check_worker.js
matchedIdentity = npm:bmVvbg:7.0.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source