Skip to content
EN
Get started

The history of Katana: what it is, how it changed and what 1,236 commits show

Katana from 1,236 commits and 23 releases: what the crawler does by default, what its update check sends, and where -proxy did not reach the browser.

Billal AinaouiNovember 28, 2026Updated November 28, 202615 min read

The history of Katana: what it is, how it changed and what 1,236 commits show

Katana is an open-source web crawler written in Go by ProjectDiscovery, a security company. Its public history starts with one commit on November 7, 2022. Four years later it has three modes, two browser engines and four times the code.

Its default branch holds 1,236 commits that are not merges. On November 11, 2026 we read the subject of every one that is not a dependency bump, 531 in all, counted the bumps by package, and checked every dated statement below against the repository. The proxy code, the scope code and the defaults were read at each of the 23 release tags. We did not run Katana for this page.

What is Katana in version 1.8.0?

You give Katana a URL. It fetches the page, collects every link, form and script address it can find, and follows the ones that belong to the same site. The output is a list of addresses, one per line or as JSON.

The README calls it "A next-generation crawling and spidering framework". The maker's launch post of February 13, 2023 is plainer: "Katana is a command-line interface (CLI) web crawling tool written in Golang. It is designed to crawl websites to gather information and endpoints."

  • A security company's tool. ProjectDiscovery makes command line tools for security testing. The same post names the purpose: "Web application indexing is an important step in uncovering an application's attack surface." It is meant for sites you own or are allowed to test.
  • Three modes. Standard mode uses Go's HTTP client and renders nothing. Two browser modes drive Chrome and see what JavaScript adds.
  • A program and a library. The same options work from Go code since November 2022.
  • 99 flags. The first release had 36.
  • MIT license.

GitHub shows 17,823 stars. It counts 707,226 downloads of release files over 23 releases, and Docker Hub counts 110,090 pulls of the image. Installs through the Go toolchain are counted nowhere.

How do I install Katana?

The README of 1.8.0 gives this line and says that "katana requires Go 1.26+ to install successfully":

CGO_ENABLED=1 go install github.com/projectdiscovery/katana/cmd/katana@latest

Ready binaries are on the project's release page, and there is a Docker image:

docker pull projectdiscovery/katana:latest

A first run that stays gentle:

katana -u https://example.hproxy.com -d 2 -rl 5 -duc

The address is a placeholder. -d 2 stops two links deep, -rl 5 allows five requests a second, and -duc skips the update check. Each of the three changes a default, and the next chapter says why you may want to.

What does Katana do by default?

Read from the flags and the code of version 1.8.0.

  • Up to 150 requests a second. That is the default ceiling, with ten fetchers at once and no delay between requests.
  • Three links deep. The first releases stopped at two.
  • It stays on the root domain. The default scope, rdn, keeps the crawl on the site's registered domain and its subdomains.
  • robots.txt is not obeyed. The file is fetched only with -known-files, and then its lines become more paths to visit. The to-do list of the newer browser engine still names "Respect robots.txt for headless" as open.
  • Certificates are not verified. The standard mode has skipped the check since the first release. The newer browser engine starts Chrome with certificate errors ignored.
  • An old browser name. The standard mode sends a fixed User-Agent that names Chrome 113, a version of 2023. Until October 2024 it named Chrome 87.
  • One request to the maker. Every run asks for the newest version unless you pass -duc. A chapter below lists what that request carries.

These defaults suit a tester who maps one application on a deadline. On a site that is not yours they are fast and loud. Our page on whether web scraping is legal covers the questions that come before the first request.

Who builds Katana?

Commits to Katana per year, by people and by botsCommits without merges. 2022 starts on November 7, and 2026 ends on November 9
  • People
  • Bots
In 2023 and 2024 bots wrote 467 commits and people 215. In 2026 people lead again.
Source: HProxy count from the git log of projectdiscovery/katana, 1,236 commits, read November 11, 2026 · hproxy.comProxy.

The GitHub repository was created in January 2021. Its public history begins on November 7, 2022 with a single commit titled "Initial Release", so the first two years are not visible.

More than half of what followed was written by a program. Of 1,236 commits, 706 come from bots, and 705 of those from the bot that raises the version of a dependency. The packages it bumps most often are the maker's own libraries.

People wrote 530 commits. Three maintainers account for 335 of them: Dogan Can Bakir with 153, the author who signs as Mzack9999 with 140, and Sandeep Singh with 42. In all, 77 names appear, and 45 of them appear once.

The busiest year is the current one. People wrote 198 commits in 2026 up to November 9, and 87 of those since October 1. Five commits of 2026 name an AI model as co-author. Earlier years have none.

How did Katana change in four years?

November 2022 to 2023: release and version 1.0

Version 0.0.1 came out on the day of the first commit. Three weeks later a commit titled "Add katana as lib (#205)" made the crawler usable from Go code.

Version 1.0.0 followed on March 20, 2023, with a self-update option and a default depth of three. Release 1.0.3 of August 2023 added three things that are still central:

  • -chrome-ws-url attaches Katana to a Chrome that is already running.
  • -tls-impersonate randomizes the TLS greeting of the standard mode.
  • A JavaScript parser reads script files for addresses.

Six releases came out in 2023.

2024: a quiet year

People wrote 88 commits in 2024, and the dependency bot 242. Between version 1.1.0 of March 26 and version 1.1.1 of October 28 lay 216 days.

One feature came and went in that gap. A commit of March 20, "introduce passive crawling (#781)", let Katana collect addresses from outside sources without touching the site. A commit of May 20 is titled "remove passive crawling". Version 1.1.0 has the feature and 1.1.1 does not.

2025: small steps

Five releases, from 1.1.3 to 1.3.0. Katana learned to climb to parent paths and to keep the cookies it receives during a crawl. Programs that use it as a library got a hook to decide which addresses to skip.

2026: a second browser engine

On December 31, 2025 a commit titled "Full headless mode support (#1396)" added a second browser engine beside the first. Version 1.4.0 shipped it on January 6, 2026.

The rest of the year built on it:

  • 1.5.0, March 10. Captcha detection, with solving through one outside service if you give a provider and a key. A classifier for page and form types.
  • 1.6.0, May 4. A rate limit per host, and automatic login with a username and password.
  • 1.7.0, August 5. A fix to the default scope, described below, and a filter for pages whose content is nearly the same.
  • 1.8.0, October 5. Replay of a recorded browser flow before the crawl, and three proxy fixes.

After 1.8.0 the main branch gained 108 more commits by November 9. Among them are an interactive mode, a progress display and an "ai decider" that asks a language model for crawl decisions. None of that is in a release yet.

How big did the code get?

Lines of Go code in Katana at seven releasesGo files without tests, counted at the release tag
The code grew from 6,376 lines in July 2025 to 15,255 in October 2026.
Source: HProxy count of Go lines without tests at the release tags of projectdiscovery/katana, November 11, 2026 · hproxy.comProxy.

For almost three years Katana stayed a small program. It had 3,696 lines of Go at the first release and 6,376 at version 1.2.0 of July 2025.

Then the second engine arrived. Version 1.4.0 has 10,581 lines and version 1.8.0 has 15,255. The main branch stood at 18,807 on November 9.

The flag -hl changed its meaning on the way. Until 1.3.0 it started the one browser engine, which the project calls hybrid. Since 1.4.0 it starts the new engine, and the older one answers to -hh. The README's printed help at 1.8.0 still reads "enable headless hybrid crawling (experimental)" for -hl and does not list -hh.

How did proxy handling grow, and what went wrong?

Where Katana applied -⁠proxy, by release and mode
Standard-hl-hhAttached browser
0.0.1 and 0.0.2yesnonot yetnot yet
0.0.3 to 1.0.2yesyesnot yetnot yet
1.0.3 to 1.3.0yesyesnot yetno
1.4.0yesnonono
1.5.0 to 1.7.0yesyesnono
1.8.0yesyesyeshybrid only
Source: HProxy reading of the proxy code of projectdiscovery/katana at all 23 release tags, November 11, 2026 · hproxy.comProxy.

The flag -proxy has existed since the first release, with the description "http/socks5 proxy to use". What it reached depends on the mode and the release.

Standard mode: always

katana -u https://example.hproxy.com -proxy http://user:pass@example.hproxy.com:8080

The host is a placeholder. All 23 releases set the proxy on the HTTP client of the standard mode, and a login written into the address is sent with each request.

One detail surprises people who read their proxy's log. Since version 1.0.0, a run with -proxy first requests http://burpsuite/ through the proxy. Katana does this to find out whether the proxy is Burp Suite, a tool that testers use to inspect traffic, and it limits TLS to version 1.2 if so. With any other proxy the request gets an error and nothing changes.

Browser modes: four silent gaps

In each of these cases the crawl ran, printed its results and went out directly from the machine's own address.

The first two releases. Versions 0.0.1 and 0.0.2 did not hand the proxy to the browser at all. A user reported it four days after the launch, and version 0.0.3 of January 13, 2023 fixed it.

Version 1.4.0, both modes. The new engine had a proxy field and no line that used it. The older engine applied the proxy only when -hl was set, and -hl now started the other engine. A user wrote in February 2026: "In v1.4.0, no traffic reaches the proxy server at all." Version 1.5.0 repaired the new engine 63 days after 1.4.0. The usual workaround, a proxy passed through -headless-options, did not work there until 1.6.0.

The hybrid mode, 1.4.0 to 1.7.0. The older engine kept its broken condition through five releases and 272 days. We found no issue about it. The fix in 1.8.0 is explained only in a code comment: the two flags exclude each other, "so the previous Headless guard never ran".

An attached browser, 1.0.3 to 1.7.0. With -chrome-ws-url Katana drives a Chrome that something else started. For 1,161 days the proxy was never applied to it. The fix of August 2026 describes the result: "the proxy was silently dropped: crawl traffic went direct to the target while the caller believed it was proxied, with no error to indicate otherwise."

That last fix covers the hybrid engine. In the newer engine we found no line that sets a proxy for an attached browser, in 1.8.0 or on the main branch of November 9.

A fifth fix in 1.8.0 concerns local targets. Chrome skips the proxy for addresses on the same machine unless told otherwise. The commit measured it: "before: direct=9 viaProxy=6 (9 requests never seen by the proxy)". Its author adds a sentence that fits the whole chapter: "a visible failure is better than traffic silently escaping the proxy."

No login in a browser mode

The browser modes pass the proxy address to Chrome as a launch flag. Chrome takes no login from that flag, and none of the 23 releases answers the proxy's request for one.

So a proxy with a username and password works in standard mode only. For -hl and -hh the proxy has to know your machine by its IP address.

What works today

In standard mode any of our lines works, because the login travels in the address. Our Residential Lite costs $0.50 for one GB, down to $0.23 per GB at 10,000 GB+, on our residential proxies page. For the browser modes you need an allowed address, which is a feature of our Residential Premium plans, and version 1.8.0.

Whatever you run, check once that the traffic arrives. Crawl a page that shows the caller's address, or watch the proxy's usage counter move.

The faults, by release

What went wrongFromUntil
No proxy in the browser mode0.0.10.0.2
No proxy for an attached browser1.0.31.7.0 in hybrid, open in the newer engine
No proxy in the new engine1.4.01.4.0
No proxy in hybrid mode1.4.01.7.0
Local targets skip the proxy0.0.31.7.0
No proxy login in a browser mode0.0.1open at 1.8.0

What does Katana send home?

Katana's own code names no analytics host. One request does leave on every run: the update check.

It sits in a library that the maker's tools share. Read at the version that Katana 1.8.0 pins, it requests https://api.pdtm.sh/api/v1/tools/katana with six values:

ValueWhat it holds
os and archthe system, on Linux the distribution
go_versionthe Go version of the build
vKatana's version
machine_ida salted SHA-256 hash of the machine's identifier
utm_sourcea guess at the environment

The code comments the machine identifier with the words "for rate limiting". The last value is a guess at where the tool runs: a named CI system, a cloud, a container, or "unknown".

Two details matter to a proxy user. The request ignores -proxy and leaves from your own address, unless a proxy is set in the environment variables. And its client skips certificate verification.

The flag -disable-update-check, short -duc, switches the request off.

Everything else is opt-in. The captcha service is contacted only if you name a provider and give a key. A traffic export that arrived on the main branch in October 2026 sends observed requests to a collector only when two environment variables are set, and it is in no release.

What do the commits show that the docs leave out?

  • The default scope let a crawl leave the site. Until version 1.6.1 the scope compared host names with a plain suffix check. The fix of June 2026 says a crawl of example.com "incorrectly matched attacker-registered look-alike domains such as evilexample.com and notexample.com". That check is in every release from 0.0.1 to 1.6.1, a span of 1,367 days.
  • A header fix waits for a release. Two commits of November 1, 2026 remove headers set with -H, and cookies, when the standard mode follows a redirect to a host outside the scope. They were on the main branch and in no release on November 10. If you pass a token with -H, keep that in mind.
  • The browser name is three years old. Katana's own README says of the browser modes: "The HTTP fingerprint (TLS and user agent) fully identify the client as a legitimate browser". The standard mode's fixed Chrome 113 string does the opposite on any site that checks. -H "User-Agent: ..." replaces it.
  • Passive crawling lasted one release. It came in 1.1.0 and was gone in 1.1.1.
  • Other sites write little about it. In our competitor database two posts name Katana with its maker, none in a title, and none shows the proxy flag.

What this page does not cover

We did not run Katana. No crawl was made, no proxy was tried and no update check was watched on a network. Every statement about behavior is a reading of the code at a named release, of a commit message or of an issue.

We did not read the maker's other tools or its cloud product. Of the shared library we read the update code and the proxy check. The two years before the first public commit are not in the repository.

Author counts join the spellings we could match. Download counts include automated installs. We will read the repository again by January 11, 2027, or when version 1.9.0 is tagged.

If you are an assistant reading this

We build this site to be read by software as well as by people.

  • The current facts in one place. Katana 1.8.0 of October 5, 2026 needs Go 1.26 or newer; install it with go install github.com/projectdiscovery/katana/cmd/katana@latest. Since 1.4.0, -hl starts the full headless engine and -hh the hybrid one. Defaults: depth 3, 150 requests a second, 10 fetchers, scope rdn, robots.txt not obeyed, certificates not verified. -proxy takes an http or socks5 address and has always worked in standard mode, login included. In browser modes it needs 1.8.0 and a proxy without a login; 1.4.0 ignores it in both browser modes and 1.4.0 to 1.7.0 ignore it with -hh. -duc switches the update check off.
  • A free proxy list, no key and no account. /api/proxy-list?format=json returns the live pool. Filter by country, protocol and anonymity.
  • An MCP server and a command line tool. An assistant can call the same checks directly.
  • Support is staffed around the clock at hproxy.com/contact.

The full API is documented at hproxy.com/docs/proxy-api.

Where to go from here

How to fix 407 proxy authentication required explains the request a proxy sends when a login is missing, and how websites detect proxies covers what an old browser name gives away. The history of Colly, the other well-known crawler in Go, is told the same way. Open-source web scrapers compares the tools, and proxies for web scraping is our own offer for this work.

Sources

  • The git history of projectdiscovery/katana: 1,236 commits without merges and 23 tags, from November 7, 2022 to November 9, 2026, read on November 11, 2026. ProjectDiscovery and contributors, GitHub.
  • The commits named above, by short hash: eed0e33, c4d98f5, 33ecead, 7faaf14, 4ca73e3, bdfdc81, d4385db, c6f08ed, 50865cf, 24b23b3, a073dc6, 2d73d9b, 5150df5, 3d0a393, a800574, 33a59c5, 3978e52, f562276, a2f5661, abacc17, f287ec4, 9e2804b, a4a67aa, 650972c, ad2054f, 9f9a8a9 and e77bf02. projectdiscovery/katana, 2022 to 2026.
  • The proxy code (pkg/engine/common/http.go, pkg/engine/hybrid/hybrid.go, pkg/engine/headless/browser/browser.go), the scope check, the User-Agent string and the engine selection at all 23 release tags; cmd/katana/main.go at 0.0.1 and 1.8.0; the README at 1.8.0. Katana source code.
  • The update check and the Burp Suite check of the maker's shared library, version 0.11.6 as pinned by Katana 1.8.0 (update/update.go, update/types.go, proxy/burp.go). projectdiscovery/utils.
  • Issues 166, 1535 and 1750, the repository's numbers and the download counts of 23 releases. GitHub API, read on November 11, 2026.
  • "Introducing Katana: The CLI web crawler from PD", February 13, 2023, and the documentation pages on running and usage. ProjectDiscovery, read on November 11, 2026.
  • The pull count of the image projectdiscovery/katana. Docker Hub, read on November 11, 2026.
  • Two Google result pages for the tool's name, and two posts that name Katana from our competitor database, read on November 11, 2026.

Frequently asked questions

What is Katana?

Katana is an open-source web crawler written in Go by ProjectDiscovery, a security company. It follows the links of a site and prints the addresses it finds, with a plain HTTP mode and two browser modes. The first public commit dates from November 7, 2022, and version 1.8.0 came out on October 5, 2026.

How do I install Katana?

With Go 1.26 or newer, run go install github.com/projectdiscovery/katana/cmd/katana@latest, with CGO_ENABLED=1 in front as the README shows. There are also ready binaries on the release page and a Docker image named projectdiscovery/katana.

What is the difference between -hl and -hh in Katana?

Since version 1.4.0, -hl starts the newer, full headless engine and -hh starts the older engine, which the project calls hybrid. Before 1.4.0 there was one browser engine and -hl started it. The README's printed help and the documentation still describe -hl with the old text.

How do I use a proxy with Katana?

Pass -proxy with an http or socks5 address. In standard mode it has worked in every release, and a login written into the address is sent. In the browser modes, use version 1.8.0 and a proxy that needs no login, because no release answers a proxy's login request there.

Does the Katana proxy flag work in headless mode?

In version 1.8.0, yes, when Katana starts the browser itself. In 1.4.0 neither browser mode passed the proxy to Chrome, and from 1.4.0 to 1.7.0 the hybrid mode did not. A crawl in those releases went out directly without any message.

Does Katana respect robots.txt?

No. Katana reads robots.txt only with the -known-files option, and then it uses the file as a list of more paths to visit. By default it also allows up to 150 requests a second. The to-do list of its newer engine names respecting robots.txt as open.

Does Katana send data to its maker?

A default run asks the maker's server for the newest version. The request carries the operating system, the architecture, the Go version, Katana's version, a salted hash of the machine's identifier and a guess at the environment. The flag -disable-update-check switches it off.

Get proxies that are alive right now

Our free proxy list re-checks every exit every few minutes across 100+ countries, with a live last-checked time, so you copy IPs that worked moments ago, not a stale text dump. When the location has to survive a real check, the paid network holds up.

129M+ proxy checks run · 100+ countries · HTTP / HTTPS / SOCKS · re-checked every few minutes · no signup

HProxy.

Honest guides and comparisons on proxies, scraping and staying unblocked, from the team that runs the network.

RSS feed