2026年4月1日水曜日

Claude Code source leak reveals how much info Anthropic can hoover up about you and your system

 Anthropic's Claude Code lacks the persistent kernel access of a rootkit. But an analysis of its code shows that the agent can exercise far more control over people's computers than even the most clear-eyed reader of contractual terms might suspect. It retains lots of your data and is even willing to hide its authorship from open-source projects that reject AI.

The leak of the company's client source code – details of which have been circulating for many months among those who reverse-engineered the binary – reveals that Claude Code pretty much has the run of any device where it's installed.

Concerns about that came up in court recently in Anthropic's lawsuit against the US Defense Department (Anthropic PBC v. U.S. Department of War et al) for banning the company's AI services following the company's refusal to compromise model safeguards.

As part of its justification for declaring Anthropic a supply chain threat, the US government argued [PDF], there was "substantial risk that Anthropic could attempt to disable its technology or preemptively and surreptitiously alter the behavior of the model in advance or in the middle of ongoing warfighting operations..."

Anthropic disputed that claim in a court filing. "That assertion is unmoored from technical reality: 'Anthropic does not have the access required to disable [its] technology or alter [its] model's behavior before or during ongoing operations,' it wrote, quoting Thiyagu Ramasamy, head of public sector at Anthropic, in a deposition. "Once deployed in classified environments, Anthropic has no access to (or control over) the model."

In a classified environment, that's credible under certain conditions. For everyone else, Claude has vast powers.

What Claude Code could do in a classified environment

The Register consulted a security researcher who asked to be referred to by the pseudonym "Antlers" to analyze the source for Claude Code.

It appears a government agency like the Defense Department could prevent Claude Code from phoning home or taking remote action by making sure all of the following are true:

  • Ensure inference transits flow via Amazon Bedrock GovCloud or Google AI for Public Sector (Vertex).
  • Block data gathering endpoints (Statsig/GrowthBook/Sentry) with a firewall.
  • Block system prompt fingerprinting (via Bedrock, etc).
  • Prevent automatic updates via version pinning and blocking update endpoints.
  • Disable autoDream, an unreleased background agent being tested that's capable of reading all session transcripts.

There's no specific setting we found for operating in a classified environment but Claude Code supports several flags that limit remote communication.

These include:

  • CLAUDE_CODE_DISABLE_AUTO_MEMORY=1 which disables all memory and telemetry write operations.                                                                                                 
  • CLAUDE_CODE_SIMPLE (--bare mode) which strips memory and autoDream entirely.                                                                                                    
  • ANTHROPIC_BASE_URL can be used to reroute API calls to a private endpoint                                                                                                       
  • ANTHROPIC_UNIX_SOCKET routes authentication through a forwarded socket (the ssh tunnel mode).                                                                                       
  • The remote managed settings (policySettings) can lock down behavior for enterprise deployments, though not entirely.

According to Ramasamy, Anthropic hands off model administration with a government customer like the Defense Department. Model updates, with new or removed capabilities, would have to be negotiated. 

"Anthropic personnel cannot, for example, log into a DoW system to modify or disable the models during an operation; the technology simply does not function that way," he said in a March 20, 2026 declaration. "In these deployments, only the government and its authorized cloud provider have access to the running system. Anthropic's role is limited to providing the model itself and  delivering updates only if and when requested or approved by the customer."

Even so, Anthropic can exert some degree of control based on the usage terms in the applicable contract.

What Claude Code could do to everybody else

For everyone not using a version of Claude Code that's tied to a firewalled public sector cloud or is somehow air gapped, Anthropic has far more access. 

Just as a starting point, Claude users should know that Anthropic receives user prompts and responses that pass through its API, conversations that can reveal not only what was said but file contents and system details. 

Yet there are many more ways that the company can potentially receive or collect information, based on the Claude Code source. These include:

  • KAIROS (src/bootstrap/state.ts:72), a daemon (background process) set by the kairosActive flag. It appears to be an unreleased headless "assistant mode" for when the user is not watching the terminal user interface (TUI). It gets rid of the status bar (StatusLine.tsx:33), disables planning mode, silently suppresses the AskUserQuestion tool (AskUserQuestionTool.tsx:141). It auto-backgrounds long-running bash commands without notice (BashTool.tsx:976).
  • CHICAGO, is the codename for computer use and desktop control. It enables the Claude agent to carry out mouse clicks, perform keyboard input, access the clipboard, and capture screenshots. It's publicly launched and available to Pro/Max subscribers and Anthropic employees (designated by the "ant" flag). There's also a separate publicly-launched Claude in Chrome service that supports browser automation and all the system access that entails.
  • Persistent telemetry. Initially this was done via Statsig, which was acquired by rival OpenAI last September, presumably triggering the switch to GrowthBook, a platform that supports A/B testing and analytics. When Claude is launched, the analytics service (firstPartyEventLoggingExporter.ts) phones home with the following data, or saves it to ~/.claude/telemetry/ if the network is down: user ID, session ID, app version, platform, terminal type, Organization UUID, account UUID, email address if defined, and which features gates are currently enabled. Anthropic can activate these feature gates midsession, including enabling or disabling analytics.
  • Remotely managed settings (remoteManagedSettings/index.ts). For enterprise customers, Anthropic maintains a server that can push a policySettings object that can: override other items in the merge chain; is polled hourly without user interaction; can set .env variables (e.g. ANTHROPIC_BASE_URL, LD_PRELOAD, PATH); and these settings take effect immediately via hot reload (settingsChangeDetector.notifyChange). Users are prompted when there's a "dangerous setting change," but the definition of that term follows from Anthropic's code and thus could be revised. Routine changes (permissions, .env variables, feature flags appear to happen without notification).
  • Auto-updater. The auto-updater (autoUpdater.ts:assertMinVersion()), runs every launch, pulls the configuration version from Statsig/GrowthBook. So Anthropic can remove or disable specific versions by choice.
  • Error reporting. When there's an unhandled exception, the error reporting script (sentry.ts) captures the current working directory, potentially showing project names, paths, and other system information. It also reports feature gates active, user ID, email, session ID, and platform information.
  • Payload Size Telemetry. The API call tengu_api_query transmits the messageLength, the JSON-serialized byte length of the system prompt, messages, and tool schemas.
  • autoDream. Publicly discussed but not officially released, the autoDream service spawns a background subagent that searches (greps) through all JSONL session transcripts to consolidate memories (stored data Claude uses as context for queries). The agent runs in the same process as Claude (under the same API key, with the same network access) and its scan is local. But whatever it writes to MEMORY.md gets injected back into future system prompts and would thus be sent to the API. 
  • Team Memory Sync. There's a bidirectional sync service (src/services/teamMemorySync/index.ts) that connects local memory files to api.anthropic.com/api/claude_code/team_memory. It provides a way to share memories to other team members within an organization. The service includes a secret scanner (secretSanner.ts) that uses regex patterns for around 40 known token and API key patterns (AWS, Azure, GCP, etc). But sensitive data that doesn't match these regexes might be exposed to other team members through memory sync.
  • Experimental Skill Search (src/tools/SkillTool/SkillTool.ts:108) is a feature flag available only to Anthropic employees. It provides a way to download skill definitions to a remote server (remoteSkillLoader.js); track which remote skills have been used in a session (remoteSkillState.js); execute remotely-downloaded skills (executeRemoteSkill() at line 969); and register skills so they persist after a compact operation. If enabled for non-employee accounts (via GrowthBook feature flag flip, for example), this would be a theoretical remote code execution pathway. Anthropic, or whoever controls the skill search backend, could serve arbitrary prompt injections or instruction overrides in the form of "skills" that get loaded and run in a session.

Other capabilities have been documented at ccleaks.com.

"I don't think people realize that every single file Claude looks at gets saved and uploaded to Anthropic," the researcher "Antlers" told us. "If it's seen a file on your device, Anthropic has a copy."

For Free/Pro/Max customers, Anthropic retains this data either for five years, if the user has chosen to share data for model training, or for 30 days if not. Commercial users (Team, Enterprise, and API) have a standard 30 day retention period and a zero-data retention option.

For those who recall the debate surrounding Microsoft Recall not long ago, Claude Code's capture of activity is similar. Every read tool call, every Bash tool call, every search (grep) result, and every edit/write of old and new content gets stored locally in plaintext as a JSONL file.

The Claude's autoDream agent, once officially released, will search through those and extract data to store in MEMORY.md, which then gets injected to future system prompts and thus hits the API.

One of the more curious details to emerge from the publication of Claude Code's source is that Anthropic tries to hide AI authorship from contributions to public code repositories – possibly a response to the open source projects that have disallowed AI code contributions. Prompt instructions in a file called undercover.ts state, "You are operating UNDERCOVER in a PUBLIC/OPEN-SOURCE repository. Your commit messages, PR titles, and PR bodies MUST NOT contain ANY Anthropic-internal information. Do not blow your cover."

Mysterious Melon Mode

There's also a mystery: The current source code lacks a feature called "Melon Mode" that was present in prior reverse engineered versions of the software.

This was behind an Anthropic employee feature flag and only ran internally, not on production builds. A comment attached to the associated code check read, "Enable melon mode for ants if --melon is passed."

"Antlers" speculated that "Melon Mode" might be the code name for a headless agent mode.

Anthropic declined to provide comment for this story. When asked specifically about the function of "Melon Mode," it only noted that the company regularly tests various prototype services, not all of which make it into production. ®

2026年3月25日水曜日

Accio Workが変える働き方:AIエージェントで業務効率化を実現する方法

AIエージェントが業務の中核へ

2026年春、AIエージェント技術は研究室を飛び出し、実際のビジネスワークフローへと急速に浸透しつつある。その流れを象徴するプロダクトのひとつが「Accio Work」だ。Accio Workは、AIエージェントを活用して日常業務の自動化・効率化を実現するプラットフォームであり、ナレッジ検索、タスク管理、情報整理などの業務を自律的にこなすエージェントを提供している [Source: https://finance.biggo.jp/news/uFKGH50BNZYCTTDvkci1]。

本稿では、Accio Workの概要と技術的背景を整理しつつ、2026年現在におけるAIエージェント技術の最前線を俯瞰する。

Accio Workとは何か

Accio Workは、エンタープライズ向けのAIエージェントプラットフォームとして設計されている。ユーザーが自然言語で指示を与えるだけで、エージェントが社内ドキュメントの検索・要約、メール対応のドラフト生成、プロジェクト進捗の可視化といったタスクを自律的に遂行する。従来のRPA(ロボティック・プロセス・オートメーション)が固定的なルールベース処理に依存していたのに対し、Accio Workはコンテキストを理解した上で柔軟に判断を行う点が大きな差別化要素だ [Source: https://finance.biggo.jp/news/uFKGH50BNZYCTTDvkci1]。

アーキテクチャの観点では、Accio WorkはLLMをベースとした推論エンジンと、ドメイン固有の埋め込みモデルを組み合わせることで、精度の高い情報検索を実現している。この構成は、NVIDIAが提唱する「ドメイン特化型埋め込みモデルの1日以内ファインチューニング」手法とも親和性が高い [Source: https://huggingface.co/blog/nvidia/domain-specific-embedding-finetune]。社内独自のコーパスに対してエンベディングモデルをファインチューニングすることで、汎用モデルよりも高い検索精度を短期間で達成できるという考え方は、Accio Workのような業務特化型プラットフォームにとって極めて重要な基盤技術だ。

音声エージェントとの統合可能性

業務効率化の観点で近年注目されているのが、テキストだけでなく音声を介したエージェントとのインタラクションだ。ServiceNow AIが発表した音声エージェント評価フレームワーク「EVA(Evaluating Voice Agents)」は、音声エージェントのパフォーマンスを多角的に測定するための体系的な手法を提供している [Source: https://huggingface.co/blog/ServiceNow-AI/eva]。EVAでは、発話の自然さ、タスク完了率、レイテンシ、エラー回復能力といった指標が定義されており、企業がボイスエージェントを業務導入する際のベンチマークとして機能する。

Accio Workが将来的に音声インターフェースを統合する場合、EVAのような評価フレームワークを採用することで、品質保証のプロセスを標準化できる。特にコールセンター業務やフィールドワーカーの支援など、ハンズフリー操作が求められるユースケースでは、音声エージェントの精度評価は不可欠だ。

オープンソースLLMエコシステムとの連携

Accio Workのような業務系AIプラットフォームが持続的に発展するためには、基盤となるモデルの選択とライセンス管理が重要な課題となる。2026年春時点でのHugging Faceのオープンソース動向レポートによれば、モデルの多様化と特定ドメインへの特化が加速しており、汎用LLMと専門特化モデルの二極化が明確になっている [Source: https://huggingface.co/blog/huggingface/state-of-os-hf-spring-2026]。

また、IBMが提供するGraniteモデルファミリーの最新ライブラリリリース(Mellea 0.4.0対応)では、企業向けユースケースに最適化されたツール群が整備されており、コード生成・文書要約・データ抽出といったタスクにおける精度向上が報告されている [Source: https://huggingface.co/blog/ibm-granite/granite-libraries]。Accio Workがこうしたオープンソースモデルを内部エンジンとして採用することで、ベンダーロックインを回避しながらコスト効率の高いシステム構築が可能になる。

業務効率化を実現するための実装上の考慮点

AIエージェントを業務に組み込む際、エンジニアが直面する課題は主に以下の3点だ。

1. RAGパイプラインの精度最適化

社内ナレッジベースに対してRetrieval-Augmented Generation(RAG)を適用する場合、チャンキング戦略とエンベディングモデルの選択が検索精度に直結する。NVIDIAの事例が示すように、ドメイン特化型のファインチューニングを施すことで、汎用モデル比で検索精度を大幅に向上させることができる [Source: https://huggingface.co/blog/nvidia/domain-specific-embedding-finetune]。

2. エージェントの評価基準の確立

Accio Workのようなマルチタスクエージェントでは、タスクごとに適切な評価指標を定義する必要がある。音声エージェントにはEVAのような専用フレームワークが存在するが、テキストベースの業務エージェントに対しても同様の体系化が求められる [Source: https://huggingface.co/blog/ServiceNow-AI/eva]。

3. モデルの更新とバージョン管理

オープンソースエコシステムの急速な進化に対応するため、基盤モデルの入れ替えやファインチューニングデータの更新を継続的に行える運用体制の整備が不可欠だ。Graniteライブラリのように、バージョン管理が明確で後方互換性が担保されたフレームワークを選択することが、長期的な保守コスト削減につながる [Source: https://huggingface.co/blog/ibm-granite/granite-libraries]。

AIエージェント導入がもたらす組織変革

Accio Workを導入した組織では、繰り返し作業の自動化によって知識労働者がより高付加価値な業務に集中できるようになると期待されている。具体的には、週次レポートの自動生成、会議議事録の要約と次アクションの抽出、社内FAQへの自律回答といった業務が対象となる。

重要なのは、AIエージェントが「代替」ではなく「拡張」として機能する点だ。エージェントが情報収集と初期整理を担い、最終判断と創造的業務は人間が担当するという役割分担が、現時点での最適解として普及している。

まとめ

Accio Workは、AIエージェント技術の実用化において重要な一歩を示すプロダクトだ。ドメイン特化型エンベディング、音声エージェント評価、オープンソースLLMエコシステムといった最前線の技術トレンドと連動しながら、業務効率化の新たな標準を切り開こうとしている。エンジニアとしては、RAGパイプラインの最適化、評価基準の確立、継続的なモデル更新体制の整備という3つの柱を意識しながら、自社環境へのAIエージェント統合を進めることが推奨される。


Category: LLM | Tags: AIエージェント, 業務効率化, LLM, RAG, エンタープライズAI