Skip to main content
  1. Agent directory
  2. HTTP libraries
  3. Bun

Bun

Operated by Unknown

HTTP librariesIdentified

CaptchaFox Research · Updated November 2026

What is Bun?

Bun is the default HTTP client of the open-source JavaScript runtime of the same name.

Bun’s built-in fetch sends its own user agent unless the developer overrides it. The traffic can be anything built on Bun, from API calls and build scripts to scrapers, so the label tells you the tooling rather than the intent.

How to detect Bun with CaptchaFox

With CaptchaFox on your site, requests from Bun are detected automatically based on their signals. Because Bun doesn’t provide proof of its identity, multiple signals are used to detect it. On sensitive endpoints such as login or signup, base your decision on the risk score.

Signals used for identification

  • CryptographicNot needed for this botNot used
  • NetworkOrigin of the traffic and whether it matches the operatorUsed
  • DeviceClient environment compared with the claimed botUsed
  • BehavioralNavigation through a site compared with regular visitors and other botsUsed

Similar bots

  • The most popular Python HTTP library, common in scripts and scrapers.

    Identified
  • An open-source Python framework for large-scale web scraping.

    Identified
  • A command-line tool for downloading files and mirroring websites.

    Identified
  • A popular JavaScript HTTP client for Node.js and browsers.

    Identified
  • Go’s standard library HTTP client.

    Identified
  • The agent of Lane, a payments platform that lets AI agents check out at online stores with a user’s card.

    Signed

Questions about Bun

What is Bun?
Bun is the default HTTP client of the open-source JavaScript runtime of the same name. Bun’s built-in fetch sends its own user agent unless the developer overrides it. The traffic can be anything built on Bun, from API calls and build scripts to scrapers, so the label tells you the tooling rather than the intent.
Is Bun a good bot or a bad bot?
Bun is a tool that anyone can use, so there is no single operator behind it. The same library might run your own backend or a scraper. On forms and logins, rely on the risk score instead of the name.
How does CaptchaFox detect Bun?
With CaptchaFox on your site, requests from Bun are detected automatically based on their signals. Because Bun doesn’t provide proof of its identity, multiple signals are used to detect it. On sensitive endpoints such as login or signup, base your decision on the risk score.
Can other bots pretend to be Bun?
Yes. Since Bun doesn’t provide proof of its identity, other bots can imitate it. CaptchaFox therefore scores every request on its actual behavior and doesn’t rely on the name alone.
Can I block Bun with robots.txt?
robots.txt contains instructions that well-behaved crawlers follow voluntarily. Bots acting on behalf of a user often ignore it, and malicious bots ignore it entirely. To reliably block requests to forms or logins, you need active protection such as CaptchaFox.

Detect Bun with CaptchaFox

Add CaptchaFox to your site to detect Bun automatically. Requests that use the name without matching the bot are scored like any other visitor. For each endpoint, you decide whether Bun gets through.