Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@vercel/drives

Latest version: v1.1.0-snapshot-224301946cd2

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: matheuss, matt.straka, vercel-release-bot, zeit-bot
16,678 Stars
3,925 Forks
6 Versions
53.6K Downloads
TypeScript Repo language
Risk score Not yet analysed

Scan summary

The assessment of @vercel/drives is not complete yet. It was last scanned on 27 Nov 2026.

  • Releases: 6 versions; the latest 3 were published within 3 days (25–27 Nov 2026).
  • Downloads: 53,627 downloads.

Findings

Not yet analysed. We have a registry record for this package but have not finished assessing it, so there is no verdict here — neither positive nor negative.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.0-snapshot-224301946cd2 LATEST 27 Nov 2026 No rules fired
1.1.0-snapshot-c9dfd83f2293 26 Nov 2026 No rules fired
1.0.1 25 Nov 2026 No rules fired
1.0.0 19 Nov 2026 Not shown
0.0.0 16 Nov 2026 Not shown

No rules fired in 1.1.0-snapshot-224301946cd2

The score describes 1.1.0-snapshot-224301946cd2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@vercel/drives

The TypeScript SDK for Vercel Drives. Create, list, fork, and delete persistent storage that you can mount in Vercel Sandbox.

The default maximum size is 1 TiB (1 GiB for Hobby) and can be increased to 16 TiB or more on request. See Mount a drive in a sandbox and the documentation for more details.

Getting started

Install the SDK:

pnpm add @vercel/drives

Link your Vercel project and download a development OIDC token to .env.local:

npx vercel link
npx vercel env pull

Create an index.mts file:

import { Drive } from "@vercel/drives";

const drive = await Drive.getOrCreate({
  name: "my-drive",
  region: "iad1",
  maxSize: 1 * 1024 ** 4, // 1 TiB
});

console.log(drive.driveId, drive.name, drive.region);

Run it:

node --env-file .env.local index.mts

Authentication

Vercel OIDC token

The SDK uses Vercel OIDC when available. Enable OIDC for your project to authenticate on Vercel. For local development, load the .env.local file as shown above.

In an interactive local session, the SDK can also use Vercel CLI credentials or start a device authorization flow.

Access token

To authenticate outside Vercel without OIDC, create an access token scoped to your team. Pass the token, team ID, and project ID to the SDK method:

import { Drive } from "@vercel/drives";

const drive = await Drive.getOrCreate({
  name: "my-drive",
  token: process.env.VERCEL_TOKEN!,
  teamId: process.env.VERCEL_TEAM_ID!,
  projectId: process.env.VERCEL_PROJECT_ID!,
});

Usage

Get an existing drive

Drive.get() retrieves a drive by name and throws if it does not exist. Drive.getOrCreate() creates the drive if needed.

import { Drive } from "@vercel/drives";

const drive = await Drive.get({ name: "my-drive" });
List drives

Drive.list() returns the first page and a paginator. Use for await to read drives across all pages:

import { Drive } from "@vercel/drives";

const drives = await Drive.list({
  limit: 20,
  sortBy: "name",
  sortOrder: "asc",
});

for await (const drive of drives) {
  console.log(drive.name, drive.driveId);
}

Use drives.pages() to iterate over pages, or await drives.toArray() to collect all drives into an array.

Fork and delete a drive

Fork a drive into a new, separate drive. Delete the fork when you no longer need it:

import { Drive } from "@vercel/drives";

const drive = await Drive.get({ name: "my-drive" });
const fork = await drive.fork({ name: "my-drive-fork" });

await fork.delete();
Mount a drive in a sandbox

Install @vercel/sandbox alongside @vercel/drives:

pnpm add @vercel/sandbox

Create the sandbox in the same project and region as the drive:

import { Drive } from "@vercel/drives";
import { Sandbox } from "@vercel/sandbox";

const drive = await Drive.getOrCreate({ name: "my-drive", region: "iad1" });
const sandbox = await Sandbox.create({
  region: drive.region,
  mounts: {
    "/data": drive,
  },
});

Mount paths must be absolute and must not overlap. To mount a read-only snapshot, use drive.snapshot() as the mount value.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @vercel/drives

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229