The JavaScript Vercel CLI, installed by vercel to run where its native binary can't
Flagged — allowed with a warning
Allowed by default policy, but 22 findings warrant review before installing.
AI security review
scanned · by lpm-firewall-ai
The OIDC client sends the machine hostname to Vercel without an evident control specific to that header, which is undisclosed identifying runtime data. The surrounding authentication and agent setup behavior serves the CLI’s purpose, and no install-time attack or unrelated credential collection was found.
When the CLI’s OIDC client discovers its token endpoint or refreshes a token during authentication.
Impact
Vercel receives identifying host information with CLI authentication requests.
Mechanism
It includes os.hostname() in a User-Agent sent to Vercel alongside runtime and platform details.
Evidence
dist/chunks/chunk-DY643UZ7.js
Network endpoints1
vercel.com
Decision evidence
public snapshot
Evidence for warning
The bundled @vercel/oidc client builds a User-Agent containing os.hostname(), Node version, platform, and architecture, then sends it with OpenID discovery requests.
The OIDC client uses Vercel as its issuer and makes refresh-token requests as part of CLI authentication.
The package manifest declares only a build script and no install lifecycle hook.
The OpenCode plugin setup asks for confirmation before installing the plugin.
The AI Gateway configuration points to ai-gateway.vercel.sh, consistent with the CLI’s agent integration feature.
Evidence against
The hostname is sent to Vercel during OIDC discovery and token refresh, which serve the CLI’s authentication function.
No install-time behavior or unrelated credential collector was identified.
Agent plugin installation is guarded by an explicit confirmation prompt.
109`}}],envExports:[{name:GATEWAY_API_KEY_ENV,value:ctx.apiKey}],notes:[`Mistral Vibe will default to ${activeModel} through the gateway; switch with /model.`,...models3.length?[`${mo...
110 ${import_chalk22.default.dim(" Detected agents are pre-selected \xB7")}${CHECKBOX_INSTRUCTIONS}`,instructions:!1,loop:!1,pageSize:Math.max(choices.length,7),choices})).map(id=>get...
8`),output_manager_default.success(`API key ${import_chalk.default.bold(result.apiKey.name)} (${result.apiKey.id}) created ${createStamp()}`),output_manager_default.log(budget!==voi...
9`),0;if(isEmpty(data)){let nextCursor=next?.(data)??null;return nextCursor?(output_manager_default.log("No results on this page."),printNextPageHint(client,nextCursor),0):(output_m...
High
Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
`),printNextPageCommand(command)}async function list2(client){let telemetry=new AgentRunsListTelemetryClient({opts:{store:client.telemetryEventStore}}),parsedArgs,flagsSpecificatio...
`)}async function assertValidCwd(cwd){try{if(!(await(0,import_promises.stat)(cwd)).isDirectory())throw new Error("not a directory")}catch{throw new VercelCliError2({code:"VERCEL_CL...
26- Use AI Gateway for model routing, set AI_GATEWAY_API_KEY, using a model string (e.g. 'anthropic/claude-sonnet-4.6'), Gateway is already defaultin AI SDK
27needed. Always curl https://ai-gateway.vercel.sh/v1/models first; never trust model IDs from memory
28- For durable agent loops or untrusted code: use Workflow (pause/resume/state) + Sandbox; use Vercel MCP for