Skip to content
Back to skills

Ios Appgroup Keychain Sharing Ipc

ASecurity

Audit App Groups shared containers, Keychain access-group sharing, app extensions and XPC/Mach IPC for over-broad cross-app data exposure. Tier 1. Use when the app declares app-groups/keychain-groups or ships extensions. Needs a device for container inspection.

  • 16 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 17, 2026
securitysqltestingbackendsecurity

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill ios-appgroup-keychain-sharing-ipc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ios Appgroup Keychain Sharing Ipc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ios Appgroup Keychain Sharing Ipc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-ios-appgroup-keychain-sharing-ipc/badge)](https://www.skillsdirectory.com/skills/anandjogawade-ios-appgroup-keychain-sharing-ipc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ios-appgroup-keychain-sharing-ipc
description: Audit App Groups shared containers, Keychain access-group sharing, app extensions and XPC/Mach IPC for over-broad cross-app data exposure. Tier 1. Use when the app declares app-groups/keychain-groups or ships extensions. Needs a device for container inspection.
---

# iOS App Groups / Keychain Sharing / IPC [NEW/RARE]

Shared containers and shared Keychain groups let an app's extensions and sibling apps read data — often with weaker protection than the main sandbox. Audit the cross-app surface for leaked secrets and over-broad sharing (MASVS-PLATFORM, MASVS-STORAGE).

## Trigger phrases
`ios app groups, shared container ios, keychain-access-groups, ksecattraccessgroup, app extension ios, xpc ios, xara, shared appgroup`

## Method
1. **Enumerate entitlements:** `codesign -d --entitlements :- App` / `ldid -e App` → `com.apple.security.application-groups` (→ group IDs), `keychain-access-groups` (→ `kSecAttrAccessGroup` sharing).
2. **App Group shared container:** on device inspect `/private/var/mobile/Containers/Shared/AppGroup/{UUID}` (map via objection `env` / the group id). Enumerate plists/DBs/files there and check whether secrets live in the shared container with weaker protection than the main sandbox (`grep -rniE "token|secret|password|session"`).
3. **Keychain access groups:** dump Keychain (`ios-keychain-analysis`) and flag items whose `kSecAttrAccessGroup` is broad — shared across the vendor's apps/team or reachable by sibling apps. Historic cross-app resource access (XARA) is the risk model.
4. **App extensions:** enumerate `Payload/App.app/PlugIns/` (share/action/today/keyboard/notification extensions); review each extension's entitlements and its access to the shared container. A weaker extension can be the soft entry to shared secrets.
5. **XPC / Mach IPC:** per MASTG IPC, identify XPC services / Mach ports / `NSFileCoordinator` usage; check message validation and whether privileged operations are exposed without caller checks.

## Modern / rare techniques
- **Secret written to the App Group by the main app, read by a low-privilege extension** (or a malicious app sharing the group) = cross-boundary leak.
- **Over-broad `keychain-access-groups`** (wildcard/team-wide) → sibling-app read of tokens (XARA-class).
- **Unvalidated XPC method** → a co-resident process invokes privileged functionality.

## Escalation / chaining
Shared-container secrets → `ios-insecure-storage` / `ios-network-backend-testing`; broad keychain groups → `ios-keychain-analysis`; extension/WebView entry → `ios-webview-attacks`; pasteboard cross-app → `ios-pasteboard-snapshot-leakage`.

## Backend & tooling
`codesign`/`ldid` + objection/frida + `sqlite3`/`grep` over SSH (`iproxy 2222 22`) from Kali (WSL+Kali / Kali-SSH / HexStrike). **Requires a jailbroken device** for shared-container filesystem access; entitlement review works on the bundle.

## Verification (background, before reporting)
Confirm the exposure by reading the secret from the shared container / sibling-app access-group context (or demonstrating an extension/XPC reach) and verify it's live before marking CONFIRMED; redact values.

## Evidence
Capture the entitlements, the shared-container path + leaked (redacted) data or the broad access-group item, and the reachability proof. Remediation: minimize shared data, protect shared items with strong accessibility/access control, scope keychain-access-groups tightly, validate XPC callers. MASVS: MASVS-STORAGE-2, MASVS-PLATFORM-3.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.