Develop, provision, and deploy Newly backends from your terminal
Allowed — no malicious behavior detected
19 low-signal patterns reviewed and cleared.
AI security review
scanned · by lpm-firewall-ai
The flagged credential flow is reachable through the explicit diagnose command and uses Google authentication to obtain an ID token for the CLI’s control-plane diagnosis service. I found no evidence that it sends credentials to an unrelated collector or acts without a user command.
The user runs `newly diagnose`; session tracing requires a supplied session, project, or user selector. Bundle output requires `--out`.
Impact
Performs the requested control-plane or session diagnosis; optional output contains the resulting diagnostic report and related files.
Mechanism
Uses Google authentication and IAM to obtain an ID token, then calls the selected diagnosis endpoint. Optional bundle files are written under the user-selected output directory.
`diagnose` is a distinct CLI command described as tracing control-plane health or a cloud session for dev/ops.
The diagnosis flow uses Google authentication and Google IAM to mint an ID token for its requested audience.
The command sends that token to the configured diagnosis target; its defaults are the package’s control-plane services, and URLs can be overridden with diagnosis-specific environment variables.
Writing a diagnostic bundle is optional and requires the user to supply `--out`.
The update command only runs when the user supplies `--update`.
Evidence against
Behavioral surface
SourceChild process · Crypto · Dynamic require · Environment variables · Filesystem · Network · Shell · Web socket
Automated scan signals; the review checked them and cleared this version. Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.