SurSolver

BlogVercel Security Checkpoint vs BotID and the _vcrcs cookie

Vercel Security Checkpoint vs BotID and the _vcrcs cookie

· Updated · 6 min read

Two Vercel features get called "the Vercel captcha", and only one of them is something a cookie can clear. This post keeps the Security Checkpoint and BotID apart, describes the flow SurSolver actually supports (the checkpoint), and links the solver guide for the parameters. By the end you will know why a plain HTTP script gets blocked on a Vercel-hosted site and what a VercelCookie task can and cannot do about it.

Two protections, one platform

Security Checkpoint BotID
What the visitor sees An interstitial page that must be completed before the site loads Nothing; it is invisible at both check levels
How it works A security challenge served in front of the site by Vercel Firewall, typically with Attack Mode A client-side challenge the site validates on its own server with checkBotId(); an optional Deep Analysis layer, powered by Kasada according to Vercel's BotID documentation, adds machine-learning analysis of client signals
Where the decision is made In front of the site, by Vercel Firewall On the site's own server, for the routes it protects
Who switches it on The site owner, with Attack Mode or firewall custom rules The site owner, typically for high-value routes such as checkout or signup
Addressed by _vcrcs Yes No

The distinction matters because the two products block different things. The checkpoint gates the page load; BotID gates individual routes after the page loads. A cookie that clears one says nothing about the other.

What triggers the checkpoint

Vercel's Attack Mode documentation says that when it is enabled, visitors must complete a security challenge before accessing the site, while known bots such as search engines and webhook providers are allowed through. Traffic the browser initiated, including API calls a page makes, is supported; standalone APIs, other backend frameworks and non-recognised automated services may not be able to pass challenges and could be blocked.

That last sentence describes a plain requests or curl script exactly: a client that never runs the challenge is the kind of client Vercel warns about.

The checkpoint is not only Attack Mode. Site owners can challenge arbitrary traffic with firewall custom rules, so a checkpoint can guard one route and not the next, and a URL that is challenged today may not be tomorrow. Always confirm the exact URL you plan to send.

Tell them apart

No reliable on-the-wire marker for the checkpoint page is published: no page title, HTML fragment or response header is documented for it. The dependable test is the visible one.

  1. Open the exact URL in a normal browser through the proxy you plan to use.
  2. If an interstitial security page appears before the site content, you are facing the Security Checkpoint.
  3. If the page loads normally but your client is rejected on certain routes, BotID may be guarding those routes. What a rejected BotID request looks like on the wire is not documented, so confirm it in the Network panel rather than assuming.

Passing the checkpoint leaves a cookie named _vcrcs on the protected origin. Its value is JWT-shaped, a long string that begins eyJ. It is replayed as a cookie, not typed into a form.

The checkpoint ties _vcrcs to the browser that solved it, so replay with the user agent and the proxy of the solve. How long it lives, and whether it covers one route or the whole origin, is not documented. Do not plan around a fixed lifetime.

The supported flow: solve the checkpoint

SurSolver has one task type for Vercel, VercelCookie, and it addresses the checkpoint only. There is no BotID task.

websiteURL (the exact page that shows the checkpoint), scriptUrl and proxy are required. Copy the full challenge worker URL from the checkpoint page: it must be on the same origin, normally <origin>/.well-known/vercel/security/static/challenge.v2.min.js. Send it explicitly even at that standard path. The proxy is an http:// or socks5:// URL; a four-part string is read as user:password:host:port (see Proxies for accepted formats). Send the browser's userAgent in the task and replay with that same value.

The result carries the cookie value as _vcrcs. userAgent is a required task input, not a result key. When the result also carries cookies, it maps every returned cookie name to its value; set those entries alongside _vcrcs. Replay through the same proxy the task used, and wait for the protected page to actually load before you treat the session as cleared: the Vercel solver page is the short version of the rules.

What this flow does not cover

Little about this protection is documented from the solving side, so several practical answers are simply unknown. Plan for them instead of filling the gaps with folklore:

  • the lifetime of _vcrcs, and whether it covers one route or the whole origin;
  • what a request rejected by BotID looks like, and whether clearing the checkpoint is enough on a route that BotID also guards. Vercel's own architecture says BotID is validated by the site's server per request, so the cautious assumption is that it is not;
  • how the API reports a task for a URL that shows no checkpoint at all, since no error code specific to this type is documented.

The last point is why the browser check comes first: a task is charged when it is accepted, so measure on a handful of real URLs before you scale up.

Common failures

Symptom Likely cause Check
The result never clears the block No checkpoint at that URL Open the exact URL in a browser first; a task is charged when accepted, and a task that finishes as failed automatically returns its original charge once
ERROR_INVALID_REQUEST on createTask The required scriptUrl or proxy is missing, or the proxy is unreadable The description names the field; nothing was charged
Fresh cookie, still blocked Replayed from a different network or user agent than the solve Use the task's userAgent and the same proxy; this is the first thing to rule out
A cookie that worked yesterday fails today The undocumented lifetime ran out, or the site changed its firewall rules When the checkpoint reappears, run a new solve rather than retrying the old value
Cleared on some routes, blocked on others BotID also guards those routes _vcrcs addresses only the interstitial; the sources do not say a checkpoint solve ever satisfies BotID

Confirm the checkpoint in a browser, then send a VercelCookie task with the exact page URL, the challenge worker scriptUrl and the proxy, and set _vcrcs as the cookie of the same name on replay. The public catalog (GET /v1/task-types) lists the accepted names and result keys. For the header and proxy side of replaying session data, read browser headers and user agents and proxies for captcha solving.

More articles