Cloudflare、Apple や Microsoft のプライバシープロトコル用デバッガを公開
本文の状態
日本語全文を表示中
詳細モードで約7分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
The New Stack AI
Cloudflare は Apple や Microsoft が利用するプライバシープロトコルの検証ツールをオープンソース化し、AI エージェント対応とした。
AI深層分析を開く2026年8月4日 01:24
AI深層分析
キーポイント
プライバシープロトコルのデバッグ難易度
Apple の iCloud Private Relay や Microsoft の Edge Secure Network VPN に採用される OHTTP や MASQUE は、信頼を分割する構造上、単一組織が全体像を把握できずトラブルシューティングが極めて困難である。
Cloudflare によるツール公開
同社はプライバシープロキシとゲートウェイのインフラを提供する立場を活かし、OHTTP および将来的に MASQUE トラフィックを対象としたコマンドラインデバッガ「privacy-client (pvcli)」を Apache 2.0 ライセンスでリリースした。
中小企業への技術アクセス拡大
従来、この種の複雑な分割信頼インフラのテストやデバッグには大規模企業のリソースが必要だったが、同ツールの公開により小規模チームでも専門的な検証が可能になる。
プライバシープロトコルの運用課題と pvcli の役割
異なる事業者がプロトコルインフラの異なる部分を運用する環境では、デバッグに多くの手作業とカスタムスクリプトが必要となる。pvcli は専門知識やゼロからのツール開発なしに、中小規模企業でもプライバシー経由トラフィックをテスト・デバッグ可能にする。
AI エージェント向けに設計されたコマンドラインインターフェース
pvcli は AI エージェントによる推論処理のプライバシー保護課題に対応するため、エージェントが自律的にリクエストを構築・デバッグできるように設計された。その構文は広く使われている curl に基づいており、人間にとっても馴染みやすいものとなっている。
重要な引用
"Debugging privacy protocols where different operators need to operate different pieces of the protocol infrastructure is extremely difficult."
Cloudflare has now released “privacy-client” (pvcli), a command-line debugger for OHTTP and, eventually, MASQUE traffic, under an Apache 2.0 license.
"Debugging privacy protocols where different operators need to operate different pieces of the protocol infrastructure is extremely difficult," Darling tells The New Stack.
"Pvcli was explicitly designed for agent-based debugging. It just so happens that humans also appreciate an interface that feels familiar to curl's."
編集コメントを表示
編集コメント
プライバシープロトコルのデバッグは長年「大企業のみが解決できる課題」とされてきたが、Cloudflare がその壁を崩した点は業界にとって大きな転換点である。特に AI エージェントが複雑なネットワーク経路を自律的に利用する未来において、このツールの普及はセキュリティと開発効率の両面で不可欠となるだろう。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。

Apple の iCloud Private Relay などのプライバシー保護サービスを利用する際、私たちは「特定の企業だけがユーザーの身元と行動を同時に把握できない」ように設計されたシステムに信頼を寄せています。Oblivious HTTP(OHTTP)や MASQUE といったプロトコルを採用したシステムは、独立して運用されるインフラ間で信頼を分散させることで、このプライバシー保護を実現しています。
しかし、そのプライバシー保証には代償が伴います。何か問題が発生した際、原因箇所を特定するのは極めて困難です。リクエストは宛先に到達するまでに複数の別々のシステムを経由し、それぞれ異なる事業者によって運用されています。そのため、全体像を把握できる単一の当事者は存在せず、障害の追跡には全関係者との調整が必要になります。さらに、通信自体が暗号化・符号化されているため、手動での調査は時間がかかり、ミスも起こりやすくなります。
Cloudflare は、インターネットの基盤インフラを提供し、多くのサイトやアプリの稼働を支える企業として、この課題を解決する上で他社よりも有利な立場にあります。同社は「Privacy Proxy」および「Privacy Gateway」を運営しており、これらは Apple のインターネットプライバシーサービスや Microsoft の Edge Secure Network VPN など、数多くのプライバシーツールの背後にある信頼分散インフラそのものです。
例えば、Apple はリレーの半分を自前で運用し、Cloudflare のプライバシープロキシ製品がもう半分を担当しています。それぞれの側は情報の半分しか得られません。Apple 側のリレーでは、リクエストの発信元は特定できますが、どのサイトへ向かっているのかを確認する手段はありません。一方、Cloudflare 側のリレーにはユーザーの元の IP アドレスが届かないため、宛先からユーザーをリレー経由で結びつけることができません。この二つを組み合わせることで、「Apple や Cloudflare 自身を含め、特定のユーザーと特定の宛先を結びつけることは誰にもできない」という保証が得られます。
しかし、これがまさにトラブルシューティングが困難な理由でもあります。障害の原因を特定するために必要な可視性は、システムが意図的に排除しようとしている情報そのものだからです。この課題を踏まえ、Cloudflare は「privacy-client」(pvcli)を Apache 2.0 ライセンスの下で公開しました。これは OHTTP および将来的には MASQUE トラフィック向けのコマンドラインデバッガーです。
格差の解消
pvcli の背景にある考え方は、大規模企業しか自前で解決できない問題を解決しようとするものです。この種の分割信頼インフラのテストやデバッグには、深いプロトコル専門知識とカスタムツールの構築が必要であり、Apple や Microsoft ほどの規模の企業が投資できるようなレベルです。しかし、その壁は小規模チームにとっては高すぎるものでした。
「異なるオペレーターがプロトコルインフラの異なる部分を運用するプライバシープロトコルのデバッグは極めて困難です。」
Cloudflare のシステムエンジニア、フィッシャー・ダーリング氏は、ヘルスケアアプリ「Flo Health」を Cloudflare の OHTTP リレーに統合する事例を紹介しました。Cloudflare 側と Flo 側がそれぞれ実装を進め、統合は概ね成功しましたが、ダーリング氏によると、両社とも予期していなかった運用上のエッジケースへの対応に多くの時間を費やしたそうです。
「異なる事業者がプロトコルインフラの異なる部分を担当するプライバシープロトコルのデバッグは極めて困難です」とダーリング氏は The New Stack に語っています。「手作業が多く、カスタムスクリプトが必要で、情報も少ない中でトラブルシューティングを行うのは大変な作業です」。
そこで登場するのが pvcli です。ダーリング氏によれば、これは Apple や Microsoft ほどの規模ではない企業でも、プロトコルの専門家になる必要もなく、ゼロから独自のツールを開発しなくても、プライバシー保護されたトラフィックのテストとデバッグが可能にするためのものです。
開発者は pvcli をコマンドラインから自社のインフラに対して実行したり、ohttp.info のようなオープンなサービスに対してテストしたりできます。ohttp.info は、実際に本番環境に導入する前に誰でもツールを試せるサンドボックスです。
エージェントを意識して設計されたデバッグツール
人間向けに作られたデバッグツールは通常、出力を人が読み、コマンドを一つずつ実行し、何が間違っているかを推測することを前提としています。しかしダーリング氏によると、pvcli にはもう一つのユーザー像も想定されています。それが AI エージェントです。
AI システムがより多くの個人データを扱うようになると、新たなプライバシー課題が生じます。
「現在の AI エコシステムにおける大きな課題の一つは、推論プロバイダーに情報を漏らさずに、ユーザーの個人データ上でプライバシーを保護しながら推論を実行する方法です」とダリング氏は語ります。
これに対する単一の解決策はありません。ダリング氏によれば、答えは OHTTP、機密仮想マシン、バイナリ透明性ログなど、さまざまなプロトコルと技術の組み合わせにあるというのです。
OHTTP はそのパズルの一部であり、pvcli が起動時にデバッグの対象とするのがまさにこの部分です。コマンド構文は広く使われているコマンドラインツールである curl に非常に近く、エージェントが自らリクエストを構築し、デバッグすることを容易にしています。
「Pvcli は明示的にエージェントベースのデバッグのために設計されました」とダリング氏は説明します。「人間にとっても、curl のような馴染みのあるインターフェースは好まれるものです。」
オープンソースという要素
多くのオープンソースツールと同様、pvcli は Cloudflare 内のプロジェクトとして始まりました。いずれはコミュニティに還元されることを前提としていたのです。
「私たちの哲学では、より良いインターネットは協働して築かれるべきです。そのため、オープンソース化することは容易な決断でした」とダリング氏は述べています。
Cloudflare は主に、自社のプライバシー製品をデバッグおよびテストするためにこのツールを利用してきました。ただし今回のリリースに先立ち、Darling 氏はベータ版期間中に未公開の顧客数社で検証済みであることを明かしています。
pvcli を最も活用するのは誰かという点については、Darling 氏は「ユーザーの身元とリクエスト内容を分離して保護したい」と考える企業なら誰でも対象になると指摘。ただし、特定の業界において特に自然に受け入れられる可能性もあるとしています。
"どの業界でも重要ですが、医療や金融、あるいは厳格な規制が適用される他の分野ではとりわけ重要です" と Darling 氏は述べています。
原文を表示

Every time you use a privacy service like Apple’s iCloud Private Relay, you’re trusting a system designed so that no single company can see both who you are and what you’re doing online. Systems built using protocols such as Oblivious HTTP (OHTTP) and MASQUE can do this by splitting trust across independently operated infrastructure.
However, that privacy promise comes at a cost: When something goes awry, it’s hard to tell where. A request might touch several separate systems on its way to its destination, each run by a different operator, with no single party able to see the whole picture. Tracing a fault means coordinating across all of them, while the traffic itself is encrypted and encoded in a way that makes manual inspection slow and error-prone.
Cloudflare, the company that provides much of the internet’s plumbing to keep sites and apps running, is better positioned than most to solve that problem. The company operates Privacy Proxy and Privacy Gateway, which are essentially the trust-splitting infrastructure behind privacy tools such as Apple’s internet privacy service, Microsoft’s Edge Secure Network VPN, and many others.
Apple, for example, runs one half of the relay itself, while Cloudflare’s Privacy Proxy product runs the other. Each side only ever gets half the picture: Apple’s side of the relay can tell where a request is coming from, but has no way to read what site it’s headed to; Cloudflare’s side doesn’t receive the user’s original IP address, so it cannot link the destination back to the user through the relay. Put the two together, and you get the guarantee: Nobody, including Apple or Cloudflare themselves, can connect a specific user to a specific destination.
But this is also exactly why troubleshooting is so difficult. The visibility needed to diagnose a fault is the same visibility the system is purpose-built to deny. With that in mind, Cloudflare has now released “privacy-client” (pvcli), a command-line debugger for OHTTP and, eventually, MASQUE traffic, under an Apache 2.0 license.
Closing the gap
The idea behind pvcli is to address a problem that only larger companies have the resources to solve themselves. Testing and debugging this kind of split-trust infrastructure requires deep protocol expertise and custom-built tooling, the kind of investment companies the size of Apple and Microsoft can afford to make, but which puts the technology out of reach for smaller teams.
“Debugging privacy protocols where different operators need to operate different pieces of the protocol infrastructure is extremely difficult.”
Fisher Darling, systems engineer at Cloudflare, gave an example which involved onboarding health app Flo Health onto Cloudflare’s OHTTP relay: Cloudflare shipped its side, Flo shipped its side, and the integration “mostly worked” — but Darling says the two companies spent much time addressing operational edge cases neither had anticipated.
“Debugging privacy protocols where different operators need to operate different pieces of the protocol infrastructure is extremely difficult,” Darling tells The New Stack. “It’s a lot of manual work, custom scripts, and trying to troubleshoot without much information.”
That’s where pvcli enters the fray — it’s a way for companies “not even close to Apple or Microsoft-sized,” as Darling puts it, to test and debug privacy-proxied traffic without first becoming protocol experts or writing their own tooling from scratch.
Developers can run pvcli from the command line against their own infrastructure, or test it against any open service such as ohttp.info — a sandbox that lets anyone try the tool out before wiring it into a real deployment.
Built with agents in mind
Debugging tools built for humans typically assume a person is reading the output, running commands one at a time, and reasoning about what went wrong. Darling says pvcli was built with a different user in mind too: AI agents.
As AI systems handle more personal data, they create new privacy challenges.
“A huge issue in the AI ecosystem at the moment is: how can we run inference on a user’s personal data, in a privacy preserving manner, without leaking that information to the inference provider?,” Darling says.
There’s no single fix for that — the answer is a “combination of protocols and technologies,” as Darling puts it, spanning the likes of OHTTP, Confidential Virtual Machines, Binary Transparency logs, and so on.
OHTTP is one piece of that puzzle, and it’s the piece pvcli is built to debug at launch. Its command syntax is modeled closely on curl, a widely used command-line tool, making it easy for an agent to construct and debug requests on its own.
“Pvcli was explicitly designed for agent-based debugging,” Darling says. “It just so happens that humans also appreciate an interface that feels familiar to curl’s.”
“Pvcli was explicitly designed for agent-based debugging. It just so happens that humans also appreciate an interface that feels familiar to curl’s.”
The open source factor
As with many open-source tools, pvcli started out as an internal project at Cloudflare, with the assumption that it would eventually end up in the community.
“Our philosophy is that a better internet is built collaboratively, so open-sourcing it was an easy decision,” Darling says.
“A better internet is built collaboratively, so open-sourcing it was an easy decision.”
Cloudflare has mainly used it to debug and test its own privacy products, though ahead of this release, Darling confirms it was tested with an unnamed set of customers during a beta phase.
In terms of who’s going to get the most use out of pvcli, well, Darling reckons it’s really any company that “wants to protect users by separating identity from request content,” though it may find a more natural home in certain sectors.
“You could make a case that this is important in any vertical, but especially so for health, finance, or other heavily regulated verticals,” Darling says.
The post Cloudflare open-sources a debugger for privacy protocols used by Apple and Microsoft, with AI agents in mind appeared first on The New Stack.
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み