AS

acunningham-ship-it/veilbrowser

浏览器自动化

本页由 AI 翻译,技术细节请以原文为准。 查看原文

50 stars 8 forks 质量 82 趋势 20MIT

AI代理隐秘浏览器——真实Chrome基于原始CDP,无Playwright/Puppeteer。TypeScript + MCP原生。通过Sannysoft 57/57,绕过Cloudflare。

概览

由——我们打造生产级人工智能代理;Veil就是证明。 Veil 驾驶真正的 Chrome:bot.sannysoft.com 全绿,然后直接通过 Cloudflare 的 JS 挑战——没有补丁,没有插件。 对Instagram、Google、Reddit、Cloudflare来说——Veil就是Chrome。同样的二进制,相同的TLS,同样的JS引擎,和人类浏览器一样的Canvas/WebGL/字体指纹。我们不重新实现浏览器(那是Chromium花了20年、1000名工程师完成的工作,手工制作的引擎更容易被指纹识别,而不是更难)。我们替换的是会让你被抓的部分: 它们很强大,非常适合脚本化质量保证。对于敌对网站上的代理来说,它们存在三个结构性问题: Veil 是——Node 24 / Bun 提供一个全局 WebSocket,所以整个 CDP 传输是我们拥有的 ~120 条线路。不需要修补,也不需要泄露。 “真正的Chrome胜过原始CDP”的想法并不新鲜——Python的nodriver开创了这一理念,Camoufox(一款C++补丁的Firefox)在纯隐形方面表现更好。Veil并不声称自己隐形性能优于他们。

概述(AI 翻译)

** 为 AI 代理打造的隐形自动化运行时。通过原始 CDP 驱动真正的 Chrome——没有 Playwright、没有 Puppeteer、没有 WebDriver,零运行时依赖。**

由HamTek打造——我们打造生产级AI代理;Veil就是证明。

Veil驾驶真正的Chrome:bot.sannysoft.com 全绿,然后直接通过Cloudflare的JS挑战——没有补丁,没有插件。

对Instagram、Google、Reddit、Cloudflare来说——Veil就是Chrome。同样的二进制,同样 翻译系统,同样的JS引擎,同样的画布/WebGL/字体指纹,就像人类浏览器一样。我们 不要重新实现浏览器(这是Chromium花了20年、1000名工程师完成的任务,还有 手工轧制的发动机更容易进行指纹采集,而不是更难)。我们更换了 让你被抓到:自动化层。


为什么不做剧作家/木偶师?

它们很强大,非常适合脚本化的质量保证。对于敌对网站上的代理,它们存在三个结构性问题:

问题 剧作家/木偶师 面纱
可检测 navigator.webdriver=true、--enable-automation,Runtime.enable CDP tell,HeadlessChrome UA webdriver已清除,无自动化开关,无Runtime.enable,UA + 客户端提示归一化

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Veil

A stealth automation runtime for AI agents. Drives real Chrome over raw CDP — no Playwright, no Puppeteer, no WebDriver, zero runtime dependencies.

Built by HamTek — we build production-grade AI agents; veil is the proof.

Veil driving real Chrome: bot.sannysoft.com all-green, then straight through Cloudflare’s JS challenge — no patches, no plugins.

To Instagram, Google, Reddit, Cloudflare — Veil is Chrome. Same binary, same TLS, same JS engine, same canvas/WebGL/font fingerprint a human’s browser has. We don’t reimplement the browser (that’s Chromium’s 20-year, 1000-engineer job, and a hand-rolled engine is easier to fingerprint, not harder). We replace the part that gets you caught: the automation layer.


Why not Playwright / Puppeteer?

They’re powerful and great for scripted QA. For agents on hostile sites they have three structural problems:

Problem Playwright/Puppeteer Veil
Detectable navigator.webdriver=true, --enable-automation, the Runtime.enable CDP tell, HeadlessChrome UA webdriver scrubbed, no automation switches, no Runtime.enable, UA + client-hints normalized
Robotic input instant teleport clicks, fixed-cadence typing → behavioural detection curved Bézier mouse paths, eased timing, human keystroke cadence
Brittle for agents CSS/XPath selectors that break constantly accessibility-tree snapshot → stable integer refs; agents never write a selector

Veil is dependency-free — Node 24 / Bun ship a global WebSocket, so the entire CDP transport is ~120 lines we own. Nothing to patch, nothing to leak.

How Veil compares (honest)

The “real Chrome over raw CDP” idea isn’t new — Python’s nodriver pioneered it, and Camoufox (a C+±patched Firefox) scores even better on pure stealth. Veil isn’t claiming to out-stealth them. Its wedge is where it lives and how agents use it:

  • TypeScript-native. The JS/TS agent ecosystem (Vercel AI SDK, LangChain.js, MCP) has no strong raw-CDP stealth driver — it’s stuck on Playwright + stealth plugins, or shelling out to Python nodriver. Veil is that missing piece.
  • MCP-native. Ships an MCP server, so any agent gets stealth browsing as tools with zero glue.
  • Agent-first, not scraper-first. Accessibility-tree refs and human input are built for
在 GitHub 查看完整 README

安装

npx -y -p @achamm/veilbrowser veil-mcp
新手?先看 mcpskill.org 教程 →