Skip to main content

account-deletion

Generates a compliant account deletion flow for Apple apps, ensuring user data privacy and App Store compliance.

Install this skill

or
0/100

Security score

The account-deletion skill was audited on Mar 1, 2026 and we found 14 security issues across 2 threat categories, including 7 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

high line 3

Access to system keychain/keyring

SourceSKILL.md
3description: Generates an Apple-compliant account deletion flow with multi-step confirmation UI, optional data export, configurable grace period, Keychain cleanup, and server-side deletion request. Us
high line 9

Access to system keychain/keyring

SourceSKILL.md
9Generate a production account deletion flow compliant with Apple's App Store requirement (effective June 30, 2022) that any app offering account creation must also offer account deletion from within t
medium line 33

Access to system keychain/keyring

SourceSKILL.md
33Grep: "ASAuthorizationAppleIDProvider" or "SignInWithApple" or "Keychain" or "deleteAccount"
high line 40

Access to system keychain/keyring

SourceSKILL.md
40### 3. Keychain Usage Detection
medium line 42

Access to system keychain/keyring

SourceSKILL.md
42Grep: "SecItemAdd" or "SecItemDelete" or "SecItemCopyMatching" or "KeychainWrapper" or "keychain"
high line 45

Access to system keychain/keyring

SourceSKILL.md
45If Keychain usage found, ensure cleanup covers all stored items.
high line 74

Access to system keychain/keyring

SourceSKILL.md
74- No — local-only deletion (Keychain, UserDefaults, SwiftData/CoreData, files)
high line 85

Access to system keychain/keyring

SourceSKILL.md
853. `KeychainCleanup.swift` — Utility to remove all app Keychain items
medium line 108

Access to system keychain/keyring

SourceSKILL.md
108├── KeychainCleanup.swift # Keychain item cleanup
medium line 175

Access to system keychain/keyring

SourceSKILL.md
175keychainCleanup: MockKeychainCleanup()
medium line 197

Access to system keychain/keyring

SourceSKILL.md
197func keychainItemsRemovedOnDeletion() async throws {
medium line 198

Access to system keychain/keyring

SourceSKILL.md
198let cleanup = KeychainCleanup()
high line 249

Access to system keychain/keyring

SourceSKILL.md
249- **Keychain items persist after app uninstall** — You must explicitly call `SecItemDelete` for all item classes (generic password, internet password, certificate, key, identity) during account deleti
low line 250

External URL reference

SourceSKILL.md
250- **Sign in with Apple token revocation** — If your app supports Sign in with Apple, you must revoke the user's token via Apple's REST API (`https://appleid.apple.com/auth/revoke`). Failure to do so m
Scanned on Mar 1, 2026
View Security Dashboard