neon@7.0.4
CLI tool for Neon, the cloud backend primitives built around Lakebase Postgres
AI security review
scanned · by lpm-firewall-aiThe bootstrap flow sends the user’s GitHub token to neon.com because it reuses GitHub download headers for the manifest request. This is a reachable credential disclosure to the package publisher’s service, even though the request occurs during an explicit bootstrap command.
Decision evidence
public snapshot- The bootstrap module reads GITHUB_TOKEN or GH_TOKEN and puts its value in a Bearer Authorization header.
- The default template manifest host is neon.com.
- fetchTemplates sends the shared download headers with each manifest request, so the GitHub token reaches neon.com when that host responds.
- The normal bootstrap flow fetches the template list unless the user specifies a built-in template ID; listing templates also fetches it.
- The manifest has no install lifecycle scripts.
- The credential-bearing request occurs in the user-run bootstrap feature; the token is also used for GitHub template downloads.
- 127.0.0.1
- br-frosty-cell-a5smzg39-assistant.compute.c-1.us-east-2.aws.neon.tech
- claimable.neon.tech
- codeload.github.com
- console.neon.tech
- formulae.brew.sh
- 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
Findings
17 high · 4 medium · 6 lowWhere they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
dist/update_notifier.js2 highdist/psql/core/prompt.js2 highdist/test_utils/fixtures.js2 highdist/update_check_worker.js2 highdist/psql/command/cmd_connect.js1 highdist/psql/command/cmd_meta.js1 highdist/psql/print/pager.js1 highdist/utils/package_manager.js1 highdist/mcp/install.js1 highdist/psql/command/cmd_copy.js1 highdist/utils/esbuild.js1 high · 1 mediumdist/commands/bucket.js1 highdist/env_file.js1 highdist/psql/wire/connection.js1 lowShow all 27 findings
dist/update_notifier.js2 findingsdist/psql/core/prompt.js2 findingsdist/test_utils/fixtures.js2 findingsdist/update_check_worker.js2 findingsdist/psql/command/cmd_connect.js1 findingdist/psql/command/cmd_meta.js1 findingdist/psql/print/pager.js1 findingdist/utils/package_manager.js1 findingdist/mcp/install.js1 findingdist/psql/command/cmd_copy.js1 findingdist/utils/esbuild.js2 findingsdist/commands/bucket.js1 findingdist/env_file.js1 findingdist/psql/wire/connection.js1 findingSource & flagged code
19 flaggedPackage source references child process execution.
dist/update_notifier.jsView on unpkg · L8Code excerpt · 3 lines
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/update_notifier.jsView on unpkgScanner record · 6 lines
Code excerpt · 3 lines
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/psql/core/prompt.jsView on unpkgScanner record · 6 lines
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/utils/esbuild.jsView on unpkgScanner record · 6 lines
Package source references dynamic require/import behavior.
dist/utils/esbuild.jsView on unpkg · L15Code excerpt · 3 lines
Package source references weak cryptographic algorithms.
dist/psql/wire/connection.jsView on unpkg · L6Code excerpt · 12 lines
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/test_utils/fixtures.jsView on unpkg · L58Code excerpt · 9 lines
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/test_utils/fixtures.jsView on unpkgScanner record · 6 lines
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/update_check_worker.jsView on unpkg · L3Code excerpt · 12 lines
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/update_check_worker.jsView on unpkgScanner record · 6 lines
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/psql/command/cmd_connect.jsView on unpkgScanner record · 1 line
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/psql/command/cmd_meta.jsView on unpkgScanner record · 6 lines
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/psql/print/pager.jsView on unpkgScanner record · 6 lines
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/utils/package_manager.jsView on unpkgScanner record · 6 lines
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/mcp/install.jsView on unpkgScanner record · 6 lines
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/psql/command/cmd_copy.jsView on unpkgScanner record · 6 lines
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/commands/bucket.jsView on unpkgScanner record · 6 lines
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/env_file.jsView on unpkgScanner record · 6 lines
Affected versions and remediation
This report applies to neon@7.0.4.
See all versions of neon for other recorded verdicts.
- Avoid installing neon@7.0.4. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, rotate the credentials this report says it sends to the publisher's service. This finding does not establish malware intent.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.