Logo Auditing Ios App Group And Pasteboard Exposure

Auditing Ios App Group And Pasteboard Exposure

Tổ chức
UnboundCompute
auditing-ios-app-group-and-pasteboard-exposure

Kiểm tra dữ liệu nhạy cảm thoát khỏi phạm vi bảo vệ của ứng dụng iOS thông qua container dùng chung và các kênh trên toàn hệ thống. Lỗi xảy ra khi bí mật hoặc dữ liệu riêng tư được ghi vào container app group dùng chung, nhóm quyền truy cập keychain dùng chung, general pasteboard hoặc trạng thái ứng dụng được lưu trong ảnh chụp màn hình và tiện ích mở rộng, khiến ứng dụng khác, phần mở rộng của ứng dụng hoặc bất kỳ tiến trình nào đọc pasteboard đều có thể lấy lại dữ liệu vì phạm vi chia sẻ rộng hơn mức cần thiết cho độ nhạy cảm của dữ liệu. Dùng khi rà soát những gì ứng dụng iOS chia sẻ với phần mở rộng của chính ứng dụng hoặc ứng dụng khác, cũng như nội dung ứng dụng sao chép hoặc để lộ trên toàn hệ thống. Phạm vi gồm rò rỉ qua container app group, nhóm keychain dùng chung có phạm vi quá rộng, bí mật trong general pasteboard và lộ dữ liệu qua ảnh chụp màn hình hoặc phần mở rộng. Giá trị nhạy cảm được đặt trên bề mặt dùng chung là nguồn, ứng dụng hoặc tiến trình khác đọc bề mặt đó là đích nhận, và lỗi nằm ở việc lấy lại được giá trị bên ngoài ranh giới của ứng dụng.

Tổng quan

Nhà phát hànhUnboundCompute
Kho mãsecurity-agent-skills
Tên kỹ năngauditing-ios-app-group-and-pasteboard-exposure
Sao
27
Bản fork
8
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được UnboundCompute công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Auditing Ios App Group And Pasteboard Exposure trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-ios-app-group-and-pasteboard-exposure
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Auditing Ios App Group And Pasteboard Exposure trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Auditing Ios App Group And Pasteboard Exposure ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Auditing Ios App Group And Pasteboard Exposure với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Auditing Ios App Group And Pasteboard Exposure làm được gì?

Kiểm tra dữ liệu nhạy cảm thoát khỏi phạm vi bảo vệ của ứng dụng iOS thông qua container dùng chung và các kênh trên toàn hệ thống. Lỗi xảy ra khi bí mật hoặc dữ liệu riêng tư được ghi vào container app group dùng chung, nhóm quyền truy cập keychain dùng chung, general pasteboard hoặc trạng thái ứng dụng được lưu trong ảnh chụp màn hình và tiện ích mở rộng, khiến ứng dụng khác, phần mở rộng của ứng dụng hoặc bất kỳ tiến trình nào đọc pasteboard đều có thể lấy lại dữ liệu vì phạm vi chia sẻ rộng hơn mức cần thiết cho độ nhạy cảm của dữ liệu. Dùng khi rà soát những gì ứng dụng iOS chia sẻ với...

Vì sao nên dùng Auditing Ios App Group And Pasteboard Exposure trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Auditing Ios App Group And Pasteboard Exposure là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Auditing Ios App Group And Pasteboard Exposure trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-ios-app-group-and-pasteboard-exposure. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Auditing Ios App Group And Pasteboard Exposure?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Auditing Ios App Group And Pasteboard Exposure với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Auditing Ios App Group And Pasteboard Exposure với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Auditing Ios App Group And Pasteboard Exposure có miễn phí không?

Có. Kỹ năng này được UnboundCompute phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇