This article was translated from Japanese with AI. Read the original (日本語) · Report a translation issue

About a month ago, in early August 2026, the discovery of a vulnerability in Coldcard sent shockwaves through the Bitcoin community. In its shadow, a string of other incidents shook infrastructure that is widely used across the Bitcoin ecosystem.

Boltz, which runs a non-custodial swap service, suspended its service to deal with a vulnerability, and almost every other project that relied on its open source software (OSS) temporarily stopped offering swaps as well. BTCPay Server, a self-custody payment solution, also turned out to have a serious vulnerability, which came to light when users reported stolen funds, and an emergency update had to be rushed out.

Since then, one vulnerability-fix release after another has come out for Bitcoin-related open source software. One that stood out recently was Core Lightning (CLN), the Lightning node implementation whose development is led by Blockstream, which published a vulnerability fix as a closed-source release. Publishing the changes as source code would risk having them exploited right away, so to buy time, users were left with a choice for two weeks after the release: trust the developers and update, or make sure their node was configured to connect only to trusted peers.

💡
While I was writing this article, another incident occurred: a vulnerability in Liquid Network nodes combined with lax operational practices at a service called Sideswap was exploited, and 4,000 BTC was drained.

Behind these attacks and disclosures is a dramatic improvement in AI's ability to analyze vulnerabilities and generate exploit code. The AI models released this year in particular are very good at surfacing vulnerabilities hidden in program code when used by an attacker who knows the target technology well. Open source software, by definition, has its code out in the open, so it is a relatively easy target for such attackers.

To live up to the spirit of "Don't Trust, Verify," much of the software in the Bitcoin ecosystem is released as open source, or at least as source-available software with restrictions on use. Will this approach become harder to sustain in the age of AI?

In this article, I look at what the future may hold for the Bitcoin ecosystem and open source in the age of AI, mixing current events with some predictions.

There's also a video version of this explanation

The cost of finding vulnerabilities has plummeted

In the first half of 2026, Anthropic, the company known for Claude, decided that its in-house AI model Mythos showed such remarkable ability at finding cybersecurity vulnerabilities that it would first provide it only to select companies, such as banks, ahead of the rest of the world. The general release at one point even drew in the US government over safety concerns, and the model was ultimately released as Fable, with safeguards built in.

💡
When AI companies promote a model as "too powerful and too dangerous," there is of course real performance improvement behind it, but it's worth keeping in mind that marketing plays a big part too.

OpenAI, maker of ChatGPT, and others followed suit, and top-tier US AI models now come with safeguards and sometimes refuse to answer cybersecurity-related questions. But there is actually a way to get performance comparable to the top models without safeguards: use Chinese AI models, since the Chinese government does not require AI companies to build in safeguards. A prime example is Kimi K3, released on July 16, which claims performance on par with Fable/Mythos.

Right around the time Kimi K3 was released, two efforts picked up pace: one to find and fix vulnerabilities in Bitcoin-related open source software, and another to find and exploit them before they could be fixed. Especially after the Coldcard vulnerability, which Bitcoin Research Lab covered earlier, came to light, a volunteer effort called the Bitcoin Red Team, led by Rob Hamilton of AnchorWatch, ramped up its work on fixing vulnerabilities in open source software.

In terms of the threat model for open source software, nothing has changed: attackers could always find vulnerabilities in publicly available code. What has changed is that the human effort required to find them has dropped dramatically.

Of course, the same applies to defenders, so finding vulnerabilities before releasing code has also become much easier than before. But most existing code has never been reviewed by AI, so in the short term, the situation favors attackers.

💡
Beyond the question of who pays for auditing each release, the randomness inherent in LLMs likely means vulnerabilities can never be reliably caught in full before release, so this type of attack is unlikely to ever disappear completely.

How should newly discovered vulnerabilities be fixed and released?

These events raised a big question that applies to the Coldcard incident as well as to the BTCPay Server and Core Lightning fixes: in an era when AI can find vulnerabilities almost instantly, how do you announce and release a vulnerability fix?

In Coldcard's case, for example, the vulnerability affected seeds generated in the past, so protecting users' funds required them to generate a new seed and move their funds. But if the developer announces "Coldcard users should migrate to a new seed," that invites people to use AI to hunt for the underlying vulnerability (which, from the announcement, could be guessed to involve seed generation). At the same time, there are limits to how far you can quietly spread the word that migration is needed.

Seed generation vulnerabilities in open source software are, in principle, very hard to disclose.

💡
In Coldcard's case, as it happens, attackers noticed the vulnerability first, so there was no disclosure process at all.

For BTCPay and CLN, binaries/containers (executables) are normally released together with the source code, and users can choose to build from source themselves or use the prebuilt binaries. This time, however, to keep the nature of the fixes secret, the developers decided not to publish the source code at the time of release.

Users were forced into one of two options: trust the BTCPay or CLN developers and run software whose contents they couldn't see, or shut down the software they were running until the code was published. (In CLN's case, guidance was also given on a safer mode of operation as an alternative to shutting down.)

This is a very bad way for open source software to operate, because it means giving up on "Don't Trust, Verify." Then again, there may not have been any better option.

This approach seems to have bought some time. CLN, for example, published the source code two weeks after the release, and it reportedly took a few days for the source code to be decompiled (reconstructed) from the released binary, so CLN users had the first few days to consider and carry out countermeasures. But given that AI performance will keep improving, it's unclear how effective this method will remain.

The problem common to all these cases is that once the contents of a vulnerability fix are made public, the vulnerability itself is quickly analyzed and exploited. What's frightening is that this now happens even without the code being published.

What should individuals do from here?

In an era when attackers use AI to exploit vulnerabilities and vulnerability fixes themselves can trigger attacks, how should we as individual Bitcoin users respond? I think there are a few important principles to keep in mind.

Basic cybersecurity still matters

When handling bitcoin, basic cybersecurity knowledge to avoid phishing (knowing how to spot fake emails, using bookmarks rather than search, cross-checking multiple sources, and so on) is as important as ever. Whether you self-custody or use an exchange, neglecting this is dangerous.

暗号資産取引所を利用する上で取るべきセキュリティ対策とは
今週は読者からの質問コーナーです。 こんにちは。 暗号通貨を扱う上でのセキュリティに興味があります。 例えば常日頃、PCやスマホで取引所を利用する上で取るべきセキュリティ対策ですが、 私は専門用語などに疎く、研究所の記事を見ても自分のレベルにあった対策を選ぶのが 難しい所があります。 一般的にはPCはMACやwindows、ブラウザはgoogleやsafari、家の中ではhome wifi、外出時は データやフリーwifi(自分は使わないようにしています)といった環境だと思います。 この状況下でセキュリティを上げるために変更すべきことを初心者向けに教えて頂けると助かります。 2019年7/28にネットワークセキュリティのためのTORやVPNのレポートがあったようですが、研究所の検索では出てきませんでした。読みたいです。大分昔の記事ですが、今もセキュリティ力が高い方々はTORやVPNを使用して取引をしたりしてるのでしょうか? よろしくお願いします。 暗号資産を扱う際のセキュリティ対策についての質問をいただきました。 2024年現在、パソコンを利用される方の一般的な状況は次の通りかと

On security measures when using exchanges: this article is two years old, but its content is still important

One thing I'd add: if you use AI yourself, there is a risk that it downloads software containing malware, so it's best to use AI on a separate device from the one you use for anything Bitcoin-related whenever possible (especially AI agents). If you're only using a chatbot, using it in a browser, where it has a hard time accessing the host PC, is another option. Also, people such as employees of AI providers may be able to see your logs, so be careful not to send sensitive information when using AI.

🤦 6TB of data exchanged for credentials of 19 top enterpris | KuCoin
🤦 6TB of data exchanged for credentials of 19 top enterprises: Leakage of Xiaomi, Huawei, NIO credentials via leading Chinese LLM intermediary This is a major

As for the services called "routers," which bundle LLMs from multiple providers so you can switch between them, some apparently even sell logs of the files their users upload

Minimize the software you depend on

The more software you use, and the more software that software in turn depends on, the more likely it is that vulnerabilities will be found. Supply chain attacks are especially common right now: malicious code gets slipped into a library used as a component of a piece of software and is executed when that software is installed.

合計月間インストール数20億回超の人気npmパッケージ群を狙った大規模サプライチェーン攻撃が発生
JavaScript向けパッケージ管理サービス「npm」で、広く使われている数百個のパッケージに認証情報を盗むマルウェアが混入される大規模なサプライチェーン攻撃が発生しました。セキュリティ企業のAikido Securityによると、2026年8月4日までに侵害が確認されているのは少なくとも434パッケージの1381バージョンで、各パッケージの合計月間インストール数は20億回を超えているとのことです。

A simple way to think about defending against this: don't install software you don't need, don't install software that isn't actively maintained, and periodically review the software you have installed. If you're an engineer, you may be able to judge for yourself to some extent whether a piece of software seems to have many or few dependencies, or whether it looks risky.

Updates can introduce new vulnerabilities, but they may also fix existing ones, so in general I think it's better to keep up with updates. (This is a tricky area with no right answer, for instance when it comes to defending against malicious releases from hijacked accounts. The standard practice until now has been to wait about two days before updating.)

Especially if large amounts are involved, you may also want to consider using a dedicated device for Bitcoin-related tasks. On the computer or smartphone you use every day, other software will inevitably be a risk factor.

Cold wallets are orders of magnitude safer

Setting the Coldcard vulnerability aside, what Boltz, BTCPay Server, Core Lightning and Liquid Network/Sideswap have in common is that they are a type of software that heavily favors attackers: they act as always-online hot wallets and accept connections from others. Conversely, things that can't be accessed from outside are hard to attack even with AI. Seen this way, Lightning nodes and the like carry somewhat higher risk.

So run a cold wallet properly and keep the bulk of your funds there. Several articles on seed generation have also come out recently, so refer to those as you work out your self-custody setup.

セルフカストディは最初が肝心|サイコロ・トランプで安全なシードフレーズを生成する実践ガイド
Coldcardの乱数生成における脆弱性を受けて関心が集まっている、サイコロやトランプによるBIP39シードフレーズの生成について、その安全性の根拠となる数学とともに、実際の生成手順を紹介します。その上で、機械に生成させたエントロピーと比較したトレードオフについても解説します。
💡
Because the attacks so far have started with open source software, I think many people are feeling uneasy about self-custody, but I think it's quite likely the targets will shift to exchanges and the like going forward. On top of the social engineering that has long been common, we may see more technical hacks against exchanges over the next one to two years.

If you can, set up a way to stay informed about vulnerabilities

Finally, how to disclose vulnerability fixes remains an unsolved problem. So the best thing you can do right now is probably to "make sure you get information as early as possible." That increases your chances of responding before the attack method becomes widely known.

For example, you could follow the developers of the software you use on X. Ideally, it would be great to have some kind of alert service that pulls all this together in one place.

Fortunately, apart from Lightning nodes, the software that typical Bitcoin users run usually can't be connected to from outside, so vulnerability-fix updates may not be all that urgent for them. Response speed matters far more for businesses and service operators.

💡
Also, even when a vulnerability-fix release is published, it's wise to check carefully that the account publishing it hasn't been hijacked. I expect to see more attacks that use emails or tweets to stoke fear and trick people into installing malware.

Summary

Because AI has lowered the cost of finding vulnerabilities in open source software (OSS), existing open source projects are scrambling to deal with vulnerabilities. And since publishing the details of a fix gives attackers a big hint, there is also the challenge of how to get users to update.

For everyday users, it's important to stay rigorous about the same security practices as before, such as watching out for phishing and not installing unnecessary software, while also taking measures like using a separate device for AI so that it doesn't download malicious software or lead you to send secret information.

Businesses and service operators often run software that anyone can access, so being able to apply vulnerability-fix updates quickly is essential. Carefully verify that releases are genuine, and have a system for gathering information in place so you can respond at any time.

As the Liquid Network case shows, there is also a risk of losses through wallets or exchanges. All things considered, I believe keeping your bitcoin in your own cold wallet carries the lowest risk.