Auditing Ios App Group And Pasteboard Exposure 标志

Auditing Ios App Group And Pasteboard Exposure

组织
UnboundCompute
auditing-ios-app-group-and-pasteboard-exposure

审计敏感数据通过共享容器和系统级通道离开 iOS 应用保护范围的情况:机密或私人数据被写入共享应用组容器、共享钥匙串访问组、通用剪贴板,或会进入快照和扩展程序的应用状态,导致其他应用、应用扩展程序或任何读取剪贴板的进程都能获取这些数据;这是因为共享范围超出了数据敏感性所需的范围。适用于审查 iOS 应用与自身扩展程序或其他应用共享的内容,以及应用复制或暴露到系统范围内的内容。涵盖应用组容器数据泄露、范围过宽的共享钥匙串组、通用剪贴板中的机密,以及快照或扩展程序中的数据暴露。放置在共享表面上的敏感数据是源,读取该共享表面的其他应用或进程是汇,在应用边界之外获取数据即为漏洞。

Add to TypingMind

概览

发布者UnboundCompute
代码仓库security-agent-skills
技能名称auditing-ios-app-group-and-pasteboard-exposure
星标数
27
复刻数
8
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 UnboundCompute 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Auditing Ios App Group And Pasteboard Exposure AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

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

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Auditing Ios App Group And Pasteboard Exposure。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Auditing Ios App Group And Pasteboard Exposure 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 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.

常见问题

Auditing Ios App Group And Pasteboard Exposure AI 技能有什么作用?

审计敏感数据通过共享容器和系统级通道离开 iOS 应用保护范围的情况:机密或私人数据被写入共享应用组容器、共享钥匙串访问组、通用剪贴板,或会进入快照和扩展程序的应用状态,导致其他应用、应用扩展程序或任何读取剪贴板的进程都能获取这些数据;这是因为共享范围超出了数据敏感性所需的范围。适用于审查 iOS 应用与自身扩展程序或其他应用共享的内容,以及应用复制或暴露到系统范围内的内容。涵盖应用组容器数据泄露、范围过宽的共享钥匙串组、通用剪贴板中的机密,以及快照或扩展程序中的数据暴露。放置在共享表面上的敏感数据是源,读取该共享表面的其他应用或进程是汇,在应用边界之外获取数据即为漏洞。

为什么在 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,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Auditing Ios App Group And Pasteboard Exposure?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Auditing Ios App Group And Pasteboard Exposure 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Auditing Ios App Group And Pasteboard Exposure 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Auditing Ios App Group And Pasteboard Exposure AI 技能免费吗?

是的。UnboundCompute 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇