# Rust library solves Cloudflare Turnstile without a headless browser

Original title: Cloudflare Turnstile solver library (no headless browser required)

> Hacker News story 50277379 · language: en · submitted 2026-10-28
> Web version: https://zeli.app/story/50277379
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 313 · by [costco](<https://news.ycombinator.com/user?id=costco>) · 💬 112
[original](<https://github.com/chris124567/cfsolve>) · [HN discussion](<https://news.ycombinator.com/item?id=50277379>)

## Summary

cfsolve is a Rust library and CLI that impersonates a real Safari or Chrome profile to solve Cloudflare Turnstile widgets and challenge pages purely through requests, returning a token or cf_clearance cookie. It ships with an iPhone Safari profile, supports sitekey-only solving and custom HTML, and requires no headless browser. The project is MIT-licensed and includes a capture proxy for recording browser checks.

## Key quote

> Send the cf_clearance cookie from the same IP address and user agent as the profile, or Cloudflare will reject it.

## HN discussion (112 comments)

### [costco](<https://news.ycombinator.com/item?id=50311942>)

> Author here. I submitted this a few days ago but seems like it was added to the second chance pool so now it’s on the front page.  Anyways, I have received a report from a user that this solver did not work for them with European proxies but did with US proxies… so they may be serving different versions for different regions. I will fix that soon. I’m not at my computer right now but it was working when I tested it a few hours ago (Cloudflare constantly changes things).

### [jyrkesh](<https://news.ycombinator.com/item?id=50313570>)

> I've been using Edge Dev as my daily driver for years, and the last couple updates it's been failing Turnstile off and on. I get this error code on https://debug.challenges.cloudflare.com/ that's not currently throwing because it magically started working again.
>
> But when it's not working, I've realized that roughly 30-50% of the internet is walled off to me in this browser profile because I can't pass the black box of Cloudflare's challenge.
>
> What's truly maddening is that bypasses like this one are definitely ubiquitous and that at-scale actors are doing distillation and spamming social media and doing Dead Internet all over the place, but the end result is that I can't log into Letterboxd or whatever.
>
> I don't know, I'm not even mad at Cloudflare, they're doing their best too. And I use LLMs every day, they're powerful tools, and Pandora's box ain't closing. It just feels like the internet has hit peak saturation of DDoS-by-LLM

### [userbinator](<https://news.ycombinator.com/item?id=50313540>)

> "The walls have ears."
>
> Personally I would be careful about poking this bear so publicly. All it does is accelerate escalation and cause those of us who have been subjected to user-agent discrimination and found our own workarounds even more difficulty.
>
> With the rise of AI, this point may be moot, but this is still a war and anything you make public can and will be used against you.

### [paaloeye](<https://news.ycombinator.com/item?id=50312105>)

> For better or worse, it's like `yt-dlp` — constant race against CF, so it's not reliable. It's probably for better.

### [nomilk](<https://news.ycombinator.com/item?id=50313471>)

> My Cloudflare solver is command + w. It's 100% reliable in a headful browser and occasionally results in finding an alternative site that doesn't place its priorities (denying bots) over the user's (judicious use of time).

### [manofmanysmiles](<https://news.ycombinator.com/item?id=50312421>)

> I made something like this about a year ago. It worked until it didn't. My assessment is that an individual bypass isn't that hard, but doing it at scale is an entirely different and much harder game to play.
>
> It's a hard game to play because they analyze behaviors across their entire network and detect behavioral patterns that are almost impossible to emulate at scale.

### [whh](<https://news.ycombinator.com/item?id=50317500>)

> I’ve watched ChatGPT just click and solve several human checkers before. I think we need a new way to prove somebody’s human.

### [test_user369](<https://news.ycombinator.com/item?id=50313436>)

> What are the legal implications for bypassing turnstiles?

---

## Cite

- Page: https://zeli.app/story/50277379
- Date: 2026-10-28
- Source: github.com (https://github.com/chris124567/cfsolve)
- Hacker News: https://news.ycombinator.com/item?id=50277379

## Other languages

- zh: https://zeli.app/zh/story/50277379 · markdown: https://zeli.app/zh/story/50277379.md
- ja: https://zeli.app/ja/story/50277379 · markdown: https://zeli.app/ja/story/50277379.md
- ko: https://zeli.app/ko/story/50277379 · markdown: https://zeli.app/ko/story/50277379.md
- de: https://zeli.app/de/story/50277379 · markdown: https://zeli.app/de/story/50277379.md
- es: https://zeli.app/es/story/50277379 · markdown: https://zeli.app/es/story/50277379.md
- ru: https://zeli.app/ru/story/50277379 · markdown: https://zeli.app/ru/story/50277379.md
