Skip to content
All tool news

Tool desk · Updated daily

Tool news·Vercel·

Vercel Blocks Malicious Npm Packages During Builds.

Vercel now blocks malicious npm packages before and during installation, failing affected builds before they reach deployment.

CW

Create With tool desk

3 sources checked · 2 min read · 3 sections

ShareLinkedIn
Vercel Blocks Malicious Npm Packages During Builds

Vercel’s malicious npm package blocking now checks dependencies before and during installation. A flagged package can fail the build before its install script runs or the deployment reaches production.

According to the Vercel changelog, the checks use a blocklist of specific package versions associated with malware or security vulnerabilities. New blocking rules typically reach new builds within minutes.

How Vercel Blocks Malicious npm Packages

Before installation starts, Vercel checks supported lockfiles for blocked package versions. This also happens when dependencies are restored from the build cache, so a cached dependency does not bypass the check.

During installation, Vercel blocks affected downloads from the public npm registry. Its existing checks of installed dependencies and function outputs still run before deployment.

  1. 1

    Check the lockfile

    Vercel scans supported lockfiles before dependency installation

  2. 2

    Monitor installation

    affected public npm downloads are blocked during the build

  3. 3

    Fail the deployment

    the build error identifies the blocked package and version

  4. 4

    Update and redeploy

    move to a safe version, update the lockfile and run the deployment again

If Vercel detects a blocked dependency, it fails the deployment and shows the package name and version in the error. It also attempts to invalidate the affected build cache. The fix is to update that dependency to a safe version, update the lockfile and redeploy.

The protection applies automatically to new builds on every Vercel plan. Teams do not need to switch it on or add configuration to their projects.

Earlier Checks Reduce Exposure During Installation

Vercel already checked installed dependencies and function outputs before deployment. The new checks move part of that protection earlier, covering the point before packages are installed and the period while public npm packages are being downloaded.

That timing is useful because npm packages can run scripts as part of installation. Blocking a known malicious or vulnerable version before or during that process helps prevent its install script from running inside the build environment.

The blocklist works at package-version level rather than blocking every release of a package. When a deployment fails, the error identifies the exact version involved, giving the builder a specific dependency to replace.

Frequently asked questions

What is Vercel’s malicious npm package blocking? It is an automatic build protection that checks supported lockfiles before installation and blocks affected public npm downloads during installation. It uses a blocklist of specific package versions associated with malware or security vulnerabilities.

Which Vercel plans include malicious npm package blocking? The checks apply to new builds on all plans. No configuration is required.

What happens when Vercel finds a blocked npm package? Vercel fails the deployment and identifies the package and version in the build error. It attempts to invalidate the affected build cache; builders must update the dependency and lockfile before redeploying.

Sources

3 checked

How we cover tool news: Create With's tool desk drafts these reports with AI from the sources listed above and checks them against those sources before publishing.

Worth passing on?

ShareLinkedIn

Go deeper on Vercel

Related reading, watching and going.

Everything on Vercel →

The briefing

19 May 2026

How to Migrate Your App from Lovable to Claude Code in 2025

Step-by-step guide to migrating your Lovable app to Claude Code. Learn how to move from Lovable's managed platform to a stack you own and control.

Read →

The briefing

10 Feb 2026

OpenClaw Review: 2 Weeks With This AI Agent

Honest 2-week review of OpenClaw — an autonomous AI agent powered by Claude. We test setup, safety, autonomy, and real value to see if it's worth using.

Read →
34 min

Podcast

My Daughter Built a Website Business, Claude Design First Look & Going All-In on Cloudflare

James and Kieran discuss practical AI-powered development through real-world examples, including a seven-year-old building a website business with Claude Code voice mode, Anthropic's new Claude Design tool, API security challenges in the AI agent era, and Cloudflare's expanding AI infrastructure offerings. The episode covers hands-on experiences with vibe coding, emerging design tools, and the evolving landscape of AI-assisted development.

Watch now ↗

Podcast

53. Why Your Vibe Code Needs Tests, Ditching SaaS & AI Agents That Work While You Sleep

James and Kieran discuss the practical realities of building AI-powered software, emphasizing the importance of testing in vibe-coded applications, exploring alternatives to traditional SaaS tools, and implementing autonomous AI agents for business operations. The episode covers technical topics like Convex databases, app store bottlenecks from AI-generated submissions, and using OpenClaw as a marketing automation agent.

Watch now ↗
38 min

Podcast

52. Your AI Co-Founder: OpenClaw, Manus & the Zero-Person Business

In this Create With podcast episode, James and Kieran are joined by Matt Roberts from Happy Operators for an in-depth discussion on using autonomous AI agents in production. The conversation covers practical experiences with OpenClaw, security considerations, comparison with emerging tools like Manus, and the broader shift toward AI-assisted development. They also discuss the VibeCoding Olympics results, Bubble's new AI capabilities, and research on Claude.MD file effectiveness.

Watch now ↗

Latest tool news

What else changed this week.

All tool news
FigmaDigest

What Figma Shipped in Early November

Figma shipped a small Community update aimed at people who want to show work inside the product, not just in an external portfolio. The new feature is riffs, which lets you add…

VercelDigest

What Vercel Shipped in Late October 2026

Vercel’s late October releases cover AI Gateway models, Daemon controls, IP geolocation, Runtime Cache and a new typeface. The changes give developers more model options, private…

The Create With Briefing

Don't watch forty changelogs. Read one email.

Every Tuesday: the tool changes worth knowing, real business use cases, and what's on near you. Free, unsubscribe any time.