Auditing Ios App Group And Pasteboard Exposureのロゴ

Auditing Ios App Group And Pasteboard Exposure

組織
UnboundCompute
auditing-ios-app-group-and-pasteboard-exposure

iOSアプリの保護領域から共有コンテナやシステム全体のチャネルを通じて機密データが流出しないか監査します。シークレットや個人情報が共有App Groupコンテナ、共有Keychainアクセスグループ、一般のペーストボード、またはスナップショットやエクステンションに保存されるアプリ状態に書き込まれ、共有範囲がデータの機密性に対して広すぎるため、ほかのアプリ、アプリエクステンション、またはペーストボードを読み取れるプロセスから復元されるケースが対象です。iOSアプリが自分のエクステンションやほかのアプリと何を共有するか、またシステム全体に何をコピーまたは公開するかを確認する場合に使用してください。App Groupコンテナからの漏えい、広すぎる共有Keychainグループ、一般のペーストボード上のシークレット、スナップショットやエクステンションを通じたデータ露出を対象とします。共有領域に置かれた機密情報がソースで、その領域を読み取るほかのアプリまたはプロセスがシンクです。アプリの境界外で情報を復元できることが脆弱性です。

概要

公開者UnboundCompute
リポジトリsecurity-agent-skills
スキル名auditing-ios-app-group-and-pasteboard-exposure
スター
27
フォーク
8
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    UnboundComputeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Auditing Ios App Group And Pasteboard Exposure」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-ios-app-group-and-pasteboard-exposure
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-ios-app-group-and-pasteboard-exposure .claude/skills/auditing-ios-app-group-and-pasteboard-exposure
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAuditing Ios App Group And Pasteboard Exposureを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAuditing Ios App Group And Pasteboard Exposureを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Auditing Ios App Group And Pasteboard Exposureは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Auditing iOS app group and pasteboard exposure: when a secret leaves the app through a shared door

An iOS app is meant to be a sealed container, but it has several legitimate doors through which data leaves: an app-group container it shares with its own extensions, a shared keychain access group, the general pasteboard any app can read, and the state the system captures in snapshots or hands to extensions. Each door is fine for data whose sensitivity tolerates the audience on the other side, and a leak when a secret goes through a door wider than it should. A token written to an app-group container is readable by every extension and app in that group; a secret in an over-broad shared keychain group is reachable by apps that should not have it; a value copied to the general pasteboard is readable by any app, including ones the user never launched deliberately; and sensitive data left on screen or in memory lands in a snapshot or an extension context. The bug is a sensitive value on a shared surface whose audience exceeds the app's own boundary. You audit these by listing what the app writes to each shared surface and who can read it.

When to use

  • An iOS app shares data with its own extensions through an app group or a shared keychain access group.
  • The app copies or exposes values through the general pasteboard or hands data to an extension.
  • Sensitive data may appear in a snapshot, a shared container, or a channel other apps can read.

Scope check

Audit shared-surface exposure only on apps and devices you own or are authorized to assess, on test devices and accounts, recovering only test data from the shared surface rather than a real user's. A confirmed leak lets another app or process read the app's private data, so keep every probe within scope. If you can't name the authorization, stop.

The loop

  1. Establish the audience of each shared surface and the sensitivity of what is written to it first. For each shared surface the app uses, an app-group container, a shared keychain group, the general pasteboard, a snapshot, or an extension handoff, determine who can read it and whether the data written there tolerates that audience. This is the false-positive killer: a shared surface carrying only data whose sensitivity matches its audience is not a leak, and a sensitive value never written to a shared surface is not exposed. Name the surface, its audience, and the sensitive value before claiming a leak.

  2. Enumerate the shared surfaces and their contents. List the app-group containers, shared keychain access groups, pasteboard uses, and extension or snapshot data paths, and for each what the app writes there. Note which carry secrets, tokens, or private data.

  3. Check the app-group and shared-keychain scope. Determine whether the app-group container or shared keychain access group is scoped only to the app and its own extensions, or is broad enough that another app can join or read it, and whether the data placed there needs to be shared at all.

  4. Check the pasteboard and snapshot exposure. Determine whether sensitive values reach the general pasteboard, readable by any app, rather than a scoped or expiring pasteboard, and whether sensitive data left visible or in memory is captured in a snapshot or exposed to an extension that should not see it.

  5. Check whether the sharing is necessary. Determine whether each sensitive value genuinely needs the shared surface, or whether it could stay in the app's private container or keychain scope. Data that need not be shared should not be on a shared surface at all.

  6. Confirm and record. Confirm by recovering a sensitive test value from the shared surface as another app, an extension, or a pasteboard reader on a test device, or observing it in a snapshot. Kill the lead if every shared surface carries only data whose sensitivity matches its audience, if no secret reaches the general pasteboard or a snapshot, and if shared scopes are limited to the app and its own extensions. Record the surface, its audience, the leaked value, and the recovery, or set a kill_reason.

Where shared-surface exposure leaks

  • The audience of the surface is the finding. A shared door is expected; the leak is a sensitive value whose audience on the far side exceeds the app's boundary. Name the surface and who reads it.
  • App-group containers are readable by the whole group. A token or secret written to an app-group container is available to every extension and app in that group, not just the one that wrote it.
  • Over-broad shared keychain groups widen reach. A shared keychain access group larger than the app and its own extensions lets apps that should not hold a secret read it.
  • The general pasteboard is world-readable. A value copied to the general pasteboard can be read by any app, so sensitive data belongs on a scoped or expiring pasteboard, or not copied at all.
  • Snapshots and extensions capture on-screen state. Sensitive data left visible or in memory is captured in a snapshot or handed to an extension, leaking it outside the deliberate flow.

Worked example (a confirm and a kill)

Confirm. An app writes an authentication token to an app-group container so its extension can use it, but the group is broad and the token is stored in the clear. A separate app in the group reads the token from the shared container on a test device, recovering a usable test credential. Confirmed private data exposure through an over-broad shared container, high, remediation = scope the app group and shared keychain access group to the app and its own extensions only, store shared secrets bound to a key the reader must hold, and keep values that need not be shared in the app's private container.

Kill. The same app shares only a non-sensitive value through an app group scoped to the app and its own extensions, keeps the token in its private keychain scope, never copies secrets to the general pasteboard, and marks sensitive screens so they are excluded from snapshots. No other app or process recovers a sensitive value. Killed, kill_reason = "shared surfaces carry only data whose audience matches its sensitivity, the token stays in a private scope, and no secret reaches the pasteboard or a snapshot; nothing sensitive leaves the app boundary."

Rationalizations to reject

  • "The app group is only for our own extension." -> Confirm the group and shared keychain scope actually exclude other apps; a broad group or access group lets an app the user did not intend read the data.
  • "The pasteboard is convenient for the user." -> The general pasteboard is readable by any app; use a scoped or expiring pasteboard for sensitive values, or do not copy them at all.
  • "That container is inside the sandbox." -> A shared container is shared by design; its audience is the whole group, so sandbox membership does not make it private to one app.
  • "Snapshots are internal to the OS." -> A snapshot of a sensitive screen can be read from the device or a backup; exclude sensitive screens from capture rather than assuming the snapshot is safe.
  • "The value has to be shared." -> Confirm it does; much shared data need not be, and the fix is often to keep it in the private container rather than to widen the audience.

Executing this in practice

You need every shared surface the app uses, app-group containers, shared keychain access groups, pasteboard uses, snapshot and extension data paths, with the audience of each and what the app writes there. For each sensitive value, decide whether its surface's audience exceeds the app's boundary and whether it needs to be shared at all. Reading what is written and the scope of each surface settles most leads; recovering a sensitive test value as another app, an extension, or a pasteboard reader on a test device settles the rest.

Related

  • hunting-ios-keychain-and-data-protection-gaps - a secret that leaves the keychain onto a shared surface loses the protection class that skill audits, so storage class and sharing scope are adjacent.
  • hunting-mobile-secret-and-storage-exposure - the broader secret-at-rest hunt, of which a shared-container or pasteboard leak is one exposure channel.
  • auditing-android-component-exposure - the Android analogue, where a content provider or exported component is the shared door another app reads through.
  • auditing-mobile-webview-bridge-exposure - a WebView that reads a shared surface can hand its contents to web content, chaining a shared-data leak into the bridge that skill audits.
  • FINDING-SCHEMA.md - source = the sensitive value placed on a shared surface, sink = the other app or process reading that surface, evidence = recovering the value outside the app's boundary on a test device.

よくある質問

AIスキル「Auditing Ios App Group And Pasteboard Exposure」では何ができますか?

iOSアプリの保護領域から共有コンテナやシステム全体のチャネルを通じて機密データが流出しないか監査します。シークレットや個人情報が共有App Groupコンテナ、共有Keychainアクセスグループ、一般のペーストボード、またはスナップショットやエクステンションに保存されるアプリ状態に書き込まれ、共有範囲がデータの機密性に対して広すぎるため、ほかのアプリ、アプリエクステンション、またはペーストボードを読み取れるプロセスから復元されるケースが対象です。iOSアプリが自分のエクステンションやほかのアプリと何を共有するか、またシステム全体に何をコピーまたは公開するかを確認する場合に使用してください。App Groupコンテナからの漏えい、広すぎる共有Keychainグループ、一般のペーストボード上のシークレット、スナップショットやエクステンションを通じたデータ露出を対象とします。共有領域に置かれた機密情報がソースで、その領域を読み取るほかのアプリまたはプロセスがシンクです。アプリの境界外で情報を復元できることが脆弱性です。

TypingMindでAuditing Ios App Group And Pasteboard Exposureを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Auditing Ios App Group And Pasteboard Exposureはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAuditing Ios App Group And Pasteboard Exposureをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-ios-app-group-and-pasteboard-exposureを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Auditing Ios App Group And Pasteboard Exposureを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Auditing Ios App Group And Pasteboard Exposureで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAuditing Ios App Group And Pasteboard Exposureを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Auditing Ios App Group And Pasteboard Exposure」は無料ですか?

はい。UnboundComputeがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇