cd /news/ai-safety/iroh-1-6-0-hardening · home › topics › ai-safety › article
[ARTICLE · art-180620] src=iroh.computer ↗ pub= topic=ai-safety verified=true sentiment=· neutral

iroh 1.6.0 - Hardening

N0 released iroh v1.6.0 and noq v1.6.0 on 2026-12-02, a hardening release that adds a new relay protocol version (v3) and fixes bugs and security issues across iroh, iroh-relay, iroh-dns-server and noq. The team prioritized reports from Anthropic's OSS Scanner after finding that every security advisory filed by an outside contributor, usually found and generated using LLMs, was also found by the scanner, and said the volume was not a human number of reports. n0 urged users to update relays, DNS servers and applications, and said it used AI for organizing, tracking and initial verification of the reports while keeping human review of every commit.

key takeaway

iroh 1.6.0 ships relay protocol v3, so operators running their own relays, DNS servers and applications must upgrade them to stay compatible.

by read8 min views2 publishedDec 2, 2026
iroh 1.6.0 - Hardening
Image: Iroh (auto-discovered)

2026-12-02 / ramfox Release of iroh v1.6.0, alongside noq v1.6.0

Welcome to a new release of iroh, a modular networking stack in Rust, for building direct connections between devices.

It's been quite an adventure at n0 the past few weeks. As promised in the 1.5.0 post, we've spent the last few weeks heads down on bugs and security. 1.6.0 is the result: a new relay protocol version, and a long list of hardening fixes across iroh, iroh-relay, iroh-dns-server and noq.

First things first: update your relays, DNS servers, and applications! Jump to the relay protocol v3 section for instructions on how to properly upgrade your network, if you run your own relays.

But, we wanted to use this blog post as a way to share our experience of getting ahead of AI-powered vulnerability hunting, and how we have had to use (and not use) AI to get there.

Anthropic's OSS Scanner #

Normally, doing an end-of-the-year bug squash is not that exciting. This year, however, things were quite different. We chose to prioritize the security issues (and the things that were flagged as security issues, but we would consider bugs) reported by Anthropic's OSS Scanner. Many of these reports detailed problems that we already knew existed, but were not high priority since, previously, they would be very difficult to abuse.

We chose to take these reports seriously when we realized that every single security advisory that was filed by an outside contributor (usually found and generated using LLMs) was also found by the OSS Scanner. And props to the Anthropic folks, the reports generated by the scanner came with appropriate repros and regression tests. Taken individually, each report had everything we needed to verify, understand, and begin working on fixes.

However, the sheer volume was overwhelming. This was not a "human" number of reports. Possibly the most difficult part of this process has been coming to terms with how quickly AI has made it possible to find and exploit vulnerabilities versus how long it takes humans to reason through them and find acceptable fixes.

Fighting fire with fire...or at least a really warm stick #

Let me side-bar here to describe how AI was used when writing iroh before: it wasn't. At n0, the organization that maintains iroh, each individual has a wildly different relationship to AI, from running their own models locally, to having subscriptions to every major AI model, to being incredibly suspicious of anything to do with it. We support folks exploring if they want, but there is no consequence to using it or not using it.

What I'm trying to get at here is we aren't a group of LLM-pilled coders. But facing this overwhelming new paradigm where the way many folks now determine what software they are going to rely on starts by turning to a model and prompting it to find exploits, well, you have to take a deep breath and come to terms with the fact that we aren't living in the same world that we were just a few months ago. People now expect different things and at a faster pace.

Well, the reports are generated, you might say, why not just generate fixes?

As an org, we aren't specifically against using LLMs to write code in principle (if the code is sound, the code is sound, whether or not you typed it), but the truth of the matter is that when all is said and done, our reputation is on the line every time we write a commit. You can generate fixes all day long, but a human still has to read, understand, and consider every change made to any repos in our organization that we are asking folks to rely on.

However, when we were staring down the barrel of this stack of reports, it sure did feel like we were trying to bring a knife to a gunfight.

So, we turned to AI for a large number of tasks in service of burning down these security and bug reports:

  • organizing them
  • tracking them
  • doing initial verifications
  • suggesting possible fixes
  • doing initial review
  • finding vulnerabilities in our fixes of these vulnerabilities 🙃

Between some of those steps, and always before merging, us boring old humans had to clog up the wheels with our "reasoning," and "considering," and "seeing the whole picture".

Some of these patterns may continue into our normal workflow, especially the parts that should happen for every fix, but as humans we sometimes let slide. For example, thorough regression tests for every fix, an AI-first self-review pass, and checking that our fixes don't introduce new vulnerabilities.

The less-smooth parts #

These reports have been decent to work with, if a little rigid. Many issues that we would consider bugs, it considered vulnerabilities, even if there was no reasonable way that someone could exploit the vulnerability.

This is why you will see a lot of fixes in our releases, but few advisories. If we made advisories for every vulnerability that the OSS scanner reported, it would drown out the ones we believe are actually reasonable to worry about and would muddy the communication on how folks should handle those cases. The only exception we have made is advisories that were also submitted by a human. We publish those out of respect for the person who reported it. Still, we encourage folks to look through our commit history to get more detailed accounts of the kinds of vulnerabilities that we have patched.

Another aspect that gummed up the works a bit was that the reports were not super helpful when it was clear that the structure or a design decision was really the root of a number of problems. In those cases, we are leaning away from doing hot fixes and instead try for a more holistic change. However, these kinds of fixes take longer, so they will land later.

Lastly, the scanner wasn't always able to understand that there are certain security aspects about which iroh doesn't make guarantees. For those cases, we have added context to our security policy.

What Kinds of Issues were found? #

The bulk of the issues were around DoS or otherwise disrupting service for particular endpoints on a relay as well as ways to interrupt service on our DNS servers.

And while those are serious enough that we are fixing them quickly, none of the exploits reported could lead to breaking encryption or remote code execution. Connections between endpoints stayed end-to-end encrypted throughout, including traffic passing through a relay.

Okay but what was fixed? #

Check out the changelog for a full list, but here are the greatest hits, starting with one that you should really care about if you run your own relays:

🚨 Relay Protocol v3

When a relay can't authenticate a client through TLS (for example behind a TLS-terminating proxy, or in the browser), it falls back to a challenge-response handshake. In protocol v1 and v2, that signature wasn't tied to a particular relay, so a malicious relay could replay it to another relay and kick the client off. The relayed traffic stays end-to-end encrypted either way.

Protocol v3 binds the signature to the relay URL the client dialed. To require it:

  • Relay operators should set relay_urls (it defaults tohttps:// URLs fromtls.hostname ) andmin_protocol_version in their relay config.
  • Endpoints should use the new min_relay_protocol_version on the endpoint builder.

Allowing v1 and v2 keeps older clients working, but leaves them open to this. ProtocolVersion::all and handshake::serverside are deprecated; use ProtocolVersion::at_least and handshake::serverside_url_bound instead.

Thanks to contributor bxff for first raising this. See GHSA-6c8f-xpqm-ff3v.

Other Fixes

iroh

  • One unreachable relay could stall every relay. A full send queue for one relay held up datagrams to all the others. They're now dropped and counted in the new send_relay_queue_full metric.

iroh-relay

  • Fails the WebSocket stream on non-binary messages.
  • Refuses streams and datagrams on QUIC address discovery (QAD) connections.

iroh-dns-server

  • Bounds the size and duration of request bodies, and copies them as they arrive.
  • Rate limits IPv6 publishers per /64, and keys the smart rate limit on the forwarded client IP.

noq

  • 🚨 Any client could crash a listening server with two forged Initial packets in a single datagram. The first closed the connection, and the second triggered a protocol violation while it was draining, which hit an assertion. noq now stops processing packets once a connection is draining. SeeGHSA-58v7-prvq-5462 .

  • Reset streams held their send buffers until the peer acknowledged the reset, so a peer could pin a lot of memory. The buffer is now dropped on reset.

  • read_to_end could read past its size limit when data arrived out of order. The fix was ported fromquinn#2861 .

  • A peer could stretch idle and close timers by acknowledging late, delaying Endpoint::close() andRouter::shutdown() . These timers are now capped at 60 seconds. And many more! Take a look at our changelog for the full breadth of what was fixed.

What's Next? #

More of the same: bug and security fixes through the end of the year.

As always, the full set of changes is in the [changelog](https://github.com/n0-computer/iroh/releases/tag/v1.6.0).

See you at the next release, and keep [filing](https://github.com/n0-computer/iroh/issues) those bugs!
── more in #ai-safety 4 stories · sorted by recency
── more on @iroh 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/iroh-1-6-0-hardening] indexed:0 read:8min 2026-12-02 · —