
Security News
npm v12 Ships With Install Scripts Off by Default, Begins Deprecating 2FA-Bypass Tokens
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.
@vercel/cli-exec
Advanced tools
@vercel/cli-execHelpers for locating and executing the Vercel CLI from other Node packages.
findVercelCli(options?)Asynchronously resolves the Vercel CLI executable without running it.
Returns a Promise<VercelCliInvocation | null>.
node_modules/.bin/vercelPATHnull when no usable CLI installation is foundexecVercelCli(args, options?)Resolves and runs the Vercel CLI, returning:
stdoutstderrinvocationIt preserves access to local node_modules/.bin entries and Node itself even
when the caller passes a sanitized PATH.
clearVercelCliLookupCache()Clears cached CLI lookups. Use this when a long-lived process needs to pick up an install or uninstall that happened after an earlier resolution attempt.
VercelCliErrorThrown when resolution or execution fails. The code field is one of:
VERCEL_CLI_INVALID_CWDVERCEL_CLI_NOT_FOUNDVERCEL_CLI_PERMISSION_DENIEDVERCEL_CLI_ERROREDVERCEL_CLI_TIMED_OUTVERCEL_CLI_CANCELEDVERCEL_CLI_SIGNALEDVERCEL_CLI_EXEC_FAILEDAvailable fields:
message: human-readable error messagecode: stable machine-readable error codeinvocation: resolved CLI command metadata when a command was selectedstdout: captured standard output when the child process produced outputstderr: captured standard error when the child process produced outputexitCode: numeric exit code for non-zero process exitscause: original underlying error when availableFAQs
Helpers for locating and executing the Vercel CLI
The npm package @vercel/cli-exec receives a total of 641,956 weekly downloads. As such, @vercel/cli-exec popularity was classified as popular.
We found that @vercel/cli-exec demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.

Security News
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.