Prioritize user privacy and data security in your app. Discuss best practices for data handling, user consent, and security measures to protect user information.

All subtopics
Posts under Privacy & Security topic

Post

Replies

Boosts

Views

Activity

Privacy & Security Resources
General: Forums topic: Privacy & Security Privacy Resources Security Resources Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = "eskimo" + "1" + "@" + "apple.com"
0
0
1.5k
Jul ’25
macOS 27.3: how are "known apps" determined for System & App Protection Override?
The macOS 27.3 beta 3 release notes say: "Currently, known apps aren't affected and will keep the same experience without an entitlement." Is there anything published about how an app is considered "known"? And is there a way for an existing Mac App Store app to request inclusion? Context: I ship a sandboxed App Store app that uses a consuming CGEventTap (PostEvent) only to block keyboard input while the user has locked it. On 27.3 beta 3, new installs get the full System & App Protection Override flow. The entitlements mentioned in the notes cover assistive technology and backup apps, so neither seems to apply. I've filed FB25721881 (a narrower grant for input-blocking apps) and a request for inclusion. Any guidance on the right channel would be appreciated.
0
0
16
4h
Folder access Mail vs. Messages
I'm probably the only unlucky sod to need read access to both the Mail and the Messages folders for my apps to archive emails and messages. When I give the email archiving app access to the Mail folder then I can archive the email fine. When I give the message archiving app access to the Messages folder I can access chat.db but not the attachments. Is the bug with the Mail or with the Messages folder? If I read the scary and confusing dialog for full disk access my guess would be that I shouldn't have access to the Mail folder. If both folders are only accessible for full disk access then neither should be selectable for the folder access. FB25627431
2
0
187
11h
Required Reason API guidance for SQLite filesystem identification and locking on iOS
Hello, I am preparing the first release of an iOS application that stores user data locally in an SQLite database within the app container. I would appreciate some guidance on Apple's Required Reason API requirements for SQLite's internal filesystem identification and file-locking behavior. Development environment Flutter: 3.44.2 Dart: 3.12.2 Xcode: 27.2 Dart sqlite3 package: 3.5.0 Bundled SQLite version: 3.53.3 Minimum deployment target: iOS 15.0 SQLite is bundled as a dynamic framework through Dart Native Assets. Technical findings During a local inspection of the signed release archive, I identified the following imported symbols in the embedded SQLite binary: _stat _fstat _lstat _statfs _fstatfs Static analysis identified calls to statfs and fstatfs in the following SQLite functions: unixOpen autolockIoFinderImpl proxyTransformUnixFile These calls appear to be used for filesystem classification, mount flag inspection, and database file-locking behavior. The application does not display available disk space or implement storage-capacity-based behavior. However, runtime coverage of every SQLite call path has not been established. The archive contains privacy manifests for Flutter and url_launcher_ios, but no PrivacyInfo.xcprivacy was found inside sqlite3.framework. The current Native Assets build path does not appear to provide a standard mechanism for bundling a framework-specific privacy manifest. Questions Which approved reason, if any, applies to the use of statfs and fstatfs for filesystem identification and database file locking, rather than determining available disk space? Is C617.1 appropriate for the use of file metadata APIs when managing SQLite database files within the app container? If no existing approved reason covers the filesystem-locking use case, should a request for a new approved reason be submitted? When a dynamic framework is generated through Dart Native Assets and the current tooling does not support bundling a framework-specific privacy manifest, what is the appropriate location for the required declarations? Can the application's own privacy manifest cover these API calls, or is a manifest inside the framework required? If the application uses the system-provided SQLite library on iOS instead of bundling its own SQLite binary, are declarations still required for these APIs when they are called internally by the system SQLite library? Related upstream discussions https://github.com/simolus3/sqlite3.dart/issues/410 https://github.com/flutter/flutter/issues/140966 https://github.com/dart-lang/native/issues/878 Current status This is a proactive, pre-submission compliance review. The application has not yet been uploaded to App Store Connect or undergone Apple's Validate App process. No validation warning or rejection has been received. My goal is to ensure that the privacy declarations accurately reflect the application's actual API usage, rather than declaring an approved reason that does not match the underlying behavior. Any clarification from Apple engineers or developers with experience in this area would be greatly appreciated. Thank you for your time and guidance.
1
0
264
1d
iOS 27: “Malicious link blocked” for legitimate call forwarding codes
Hello! I develop a voicemail app service and I use MMI codes to let users enable/disable call forwarding to their voicemail number. For example, the app opens the Phone app with a code such as: **21*<phone number># This is expected behavior and is required for the service to work. However on iOS 27, those links are now blocked with a “Malicious link blocked” warning, saying that the link may forward incoming calls/messages. Is there any supported way for apps with a legitimate use case like this to request an exemption, or otherwise avoid this warning?
6
3
2.3k
1d
Sign in with Apple: account-deleted notification redelivered every ~5 minutes for over a week despite HTTP 200 (FB25789263)
We are seeing the issue reported in this thread: https://developer.apple.com/forums/thread/812159?parentId=878955022#878955022 Our Sign in with Apple server-to-server endpoint keeps receiving the same account-deleted notification, and it has not stopped. What we observe One account-deleted event (same sub, same event_time) has been redelivered every ~5 minutes since Nov 25, 2026. It passed 5,000 deliveries by Nov 30 and is still arriving as of Dec 3. Our endpoint returns HTTP 200 for every delivery. Each delivery is a newly signed JWT (new jti and iat), but the events payload is identical. email-enabled, email-disabled and consent-revoked events for other users are delivered only once. Questions Is this redelivery a known issue on Apple's side, and is a fix planned? Is there anything our endpoint should return, or anything else we can do, to acknowledge the event so redelivery stops? Should developers treat account-deleted as at-least-once delivery and deduplicate by sub + event_time? Feedback ID: FB25789263 Thank you.
2
0
229
1d
Secure Enclave key accessibility attribute differs from SecAccessControl creation policy
We created a persistent P-256 Secure Enclave private key on iPadOS using SecAccessControlCreateWithFlags with the following settings: kSecAttrAccessibleWhenUnlockedThisDeviceOnly privateKeyUsage userPresence Key generation, persistence across app launches and updates, and authenticated signing were successful. However, SecItemCopyMatching with kSecReturnAttributes returned an accessibility attribute of "dk" rather than the expected "aku". SecKeyCopyAttributes did not return the accessibility attribute. A signing attempt using a fresh non-interactive authentication context failed with LAError.notInteractive (-1004). Interactive signing succeeded following Face ID authentication, and the signature was independently verified. My questions are: Is the returned "dk" value expected for a persistent Secure Enclave private key created with this access control policy? Does this attribute describe the Keychain reference or the effective protection policy of the private key? Is there a supported public API to independently verify that the requested WhenUnlockedThisDeviceOnly protection is enforced? We do not intend to weaken the requested protection policy or treat these two accessibility values as equivalent without supporting evidence. Any clarification would be appreciated. Thank you.
2
0
63
1d
During server-side verification for DeviceCheck, a request to api.devicecheck.apple.com revealed that the certificate has less than one month of validity remaining.
Severity: critical Host: Category: certificate@availability Details: Alert Source:CMS. Domain certificate(default port:443) is expiring. From CloudMap > Third-party Service > Access address name. Please contact your domain provider {"domain":"api.devicecheck.apple.com","ip":"17.33.193.105","notAfter":"2026-12-18 04:54:12.0","sn":"["733ff4d10c140aa831a56a477f1a7b63"]","serviceName":"SecurityTSMService","cloudMapUrlName":"BG89S53FMB_YKSMR7P64G"}|Service:com.huawei.securitytsmservice|Template:unknown|alert_id: 658642636 Occur Time: 2026-12-04 09:00:07+08:00 Alert ID: 658642636 Application: com.huawei.wisesecurity Service: com.huawei.securitytsmservice
0
0
13
1d
Sign in with Apple migration after app transfer without a source-team key
An app using Sign in with Apple has already been transferred from an individual developer team to an organization. Existing backend accounts still reference the original team-scoped user identifiers. We are within the 60-day migration window, but no transfer identifiers were generated before the transfer. The original team has no existing Sign in with Apple private key. In Certificates, Identifiers & Profiles, creating one is disabled because there are no eligible identifiers to associate with the key after the app transfer. The recipient team has its own Sign in with Apple key. TN3159 describes using a client secret issued by the source team to generate transfer identifiers. What is the supported procedure to generate those identifiers in this situation and safely associate existing users with their new team-scoped identifiers? Is there a supported way to obtain an appropriate source-team credential after the App ID has transferred, or an alternative migration method? Does expiration of the source team’s Developer Program membership affect the availability of the 60-day migration process or the credentials required for it? We have not modified existing user identities and want to avoid creating duplicate accounts. No private keys, user identifiers, or account details are included here.
1
0
132
2d
macOS 27.3: sandboxed app that only blocks key events (PostEvent) has no prompt and gets the full override warning
I make a sandboxed Mac App Store keyboard-lock app (it stops pets from typing). Optional features block key presses with a consuming CGEventTap (.defaultTap at .cghidEventTap). It doesn't read, record, or control other apps. As Quinn explained in thread 857997, a consuming tap uses the PostEvent privilege, which on 27.3 beta 2 is filed under System & App Protection Override. What I'm seeing: Creating the tap no longer prompts, and the app isn't added to the list. AXIsProcessTrustedWithOptions doesn't prompt either (same as thread 860570). The user must add the app manually. A limited "Choose Apps" grant doesn't allow the tap; only "Bypass System Protections" works. That screen warns the app can read all data, view hidden photos, browse as the user, and change settings. As a sandboxed app, it can do none of that. The tap only sees key presses in order to block them, and nothing is stored or sent. Questions: Is there a supported way to request PostEvent on 27.3, such as CGRequestPostEventAccess? Will consuming event taps always require the full override, or is a narrower option planned for input-only apps (keyboard lockers, hotkey apps, text expanders)? Will the upcoming entitlements cover anything beyond assistive technology and backup? Filed as FB25721881
2
0
266
2d
Fraud
Hi everyone, Just be careful because I just received these unknown emails. Luckily, I checked emails before opening the attached links
0
0
56
2d
Foreign passkey offered in App Store Connect, signing certificates issued from an unknown Mac, and "Sealed: Broken" on macOS. Looking for insight
I'm an independent developer in Spain and I'm trying to understand a chain of events on my developer account and my Mac. I'm sharing what I've observed in case someone has seen something similar or can help me read the evidence. I have open cases with Apple Support, but no technical answer yet. 1. A passkey that isn't mine in App Store Connect When I sign in to appstoreconnect.apple.com in Safari, with Lockdown Mode enabled, Safari offers a passkey for an iCloud address that doesn't belong to me. My Touch ID can't unlock it. security find-internet-password doesn't find it (code 44), so it doesn't seem to live in the internet passwords keychain. That address isn't a user on my team in App Store Connect. Question: how can a third-party passkey be offered for an Apple domain on my Mac? Does it point to iCloud Keychain sync, a shared group, or something else? 2. Signing certificates whose private keys aren't on my Mac My only registered Mac holds the private keys for one Apple Development certificate and one Developer ID Application certificate. My provisioning profiles, though, embed several Apple Distribution certificates, an older Developer ID and another Development certificate whose private keys are not on this machine. Xcode says the certificate is "already on another Mac". I believe that Mac was called "Instamac", but I don't recognise it, and no device by that name is registered in my account. Question: is there any way, as a developer, to see which machine generated the CSR for a certificate? Is revoking and reissuing enough, or does it break the apps already published? 3. "Sealed: Broken" on the system volume diskutil info / shows Sealed: Broken on the system volume and its snapshot, with SIP and authenticated-root enabled. There is a com.apple.os.update-MSUPrepareUpdate snapshot, which suggests a half-finished update. Question: is a broken seal normal after a staged but incomplete update? How can I tell that apart from a real modification of the system? 4. Other behaviour I've seen and recorded (not yet independently verified) Photos accesses my files directly, and "Open in Finder" opens ChatGPT. Scripts running in Terminal that I didn't launch, and changes to my PATH. My FIDO security keys disappeared from Google and ChatGPT, and keys I didn't enrol were added. Secrets in my GitHub accounts were exposed or modified. A user who isn't me appears under Touch ID. An app-specific password was generated on my Apple ID without me asking for it. What I've checked so far No MDM enrolment (DEP or MDM), no Platform SSO, and no Mosyle, Jamf or Kandji agents. The only configuration profile installed is a Screen Time content filter, which I installed locally. I've kept the passkey and haven't revoked the certificates, so the evidence is preserved. What I'd appreciate Ideas on how to trace where the passkey came from and where the certificates were generated. The safest steps to take now without destroying evidence. Has anyone from Apple or the community seen this pattern? Thanks for reading. I can share sanitised logs or command output if it helps. Ten en cuenta dos cosas antes de publicarlo. Lo que pongas en el foro es público y lo puede leer quien te esté atacando. Y no pegues ningún registro sin quitarle antes los correos, los UDID y las IP. Si lo prefieres en español, te lo traduzco. me intereeaa poner luz a esto para que inclusmo me ayuden ç Entonces el borrador te sirve tal cual. Para que te ayuden más rápido, te recomiendo tres cosas: Etiquetas: ponle Security, Signing Certificates, Passkeys y macOS. Así lo ven los ingenieros de Apple y los desarrolladores que saben del tema. Pruebas: adjunta una o dos capturas tapadas, por ejemplo la de la llave ajena en App Store Connect con el correo tachado y la salida de diskutil con "Sealed: Broken". Las pruebas visuales generan más respuestas. Seguimiento: responde a quien comente y añade lo que te pida, siempre sin correos, UDID ni IP. Si quieres, también te preparo una versión más corta para Reddit, en r/macsysadmin o r/applehelp, que suelen responder antes. busca captiras que pueda poner no nos olvidemos de las app que pagiue durante 5meses que es falsa y la comopre en appstorre Busco ahora en tu Mac capturas que puedas publicar, y añado al informe la app falsa "Yi iot" que te estuvo cobrando 5,99 € a la semana. Mientras busco las capturas, esta es la sección de la app para añadir al informe del foro, justo después del punto 3: 4. A fraudulent App Store subscription I paid for 5 months I downloaded an app called "Yi iot" from the Mac App Store. It's published by an individual seller, not a company. It enrolled me in a weekly "Get Premuim" subscription (the typo is theirs) at €5.99 a week, starting on 16 August 2026. Apple charged me 14 times, €83.86 in total, until 23 November 2026. The app gave me nothing in return. I'm reporting it because it could be part of the same pattern, or simply a scam app that passed App Review. Question: has anyone else been charged by this app? What's the best way to get it reviewed and taken down? . Marcos alfonso
0
0
51
2d
Any chance of adding Face ID to app groups
i used to write code but that was when i was younger. I decided that it would very handy if i could set a property in an App group to force anyone trying to access anything in the group to successfully access FaceID or TouchID. This could be an easy and configurable level of user added security. SR00
1
0
85
3d
Detecting or restricting ScreenCaptureKit capture of a specific app's windows
Hi, I'm exploring macOS options to protect the windows of selected apps from being screen-captured or recorded by other apps (enterprise Macs, managed via MDM). Is there a supported API or Endpoint Security event that tells when a process starts a screen capture or recording (ScreenCaptureKit), and whether it captures a display or a single window? Is there a supported way, for example via MDM, to prevent other apps from capturing a specific app's windows? NSWindow.sharingType = .none no longer seems to exclude a window from ScreenCaptureKit on macOS 15 and later. Is this expected, and is there an alternative? Tested on macOS 26.3.1 (Apple silicon). Thanks.
4
0
185
4d
Reading Mouse Events with CGEvent tap from a background app in macOS 27.3
WIth macOS 27.3 (beta 2) things have changed quite a bit for security, see Updates to Device Control and Data Access, and Full Disk Access in macOS I have an app which uses what (used to be called) the Privacy & Security / Accessibility permissions in order to receive mouse events in the background to read them and occasionally modify them. The method used: The app checks AXIsProcessTrustedWithOptions to see if it has permission. If it doesn't have permission, it uses the kAXTrustedCheckOptionPrompt option which would open up the privacy & Security / Accessibility pane. Because that process has been a little flakey in macOS, my app has a backup option, where it runs 'open "x-apple.systempreferences:com.apple.settings.PrivacySecurity.extension?Privacy_Accessibility"' and then walks the user through the steps with onscreen instructions. When permission is granted, the app creates a CGEvent tap SessionEvent tap using the HeadInsertEvent option to receive mouse and touch mouse events. See CGEvent.tapCreate In macOS 27.3 beta 2, always returns false using kAXTrustedCheckOptionPrompt fails to do anything open "x-apple.systempreferences:com.apple.settings.PrivacySecurity.extension?Privacy_Accessibility fails to do anything. CGEvent tap fails A few questions: will my third party app be allowed to use CGEventTaps to read mouse and touchpad events? Or has this been cut off completely and only available to first party apps? If it is allowed, how? Has the permission for this moved to a different System Preference pane? is a CGEvent tap the way to do it? I totally understand that security is important, and apps should not have wide-ranging permissions. I'd love to find a way to keep my app running with the minimal permissions needed.
7
0
993
4d
Will Endpoint Security clients get an entitlement to keep the previous Full Disk Access UX in macOS 27.3?
Apple recent news "Updates to Device Control and Data Access, and Full Disk Access in macOS" describes a redesigned Full Disk Access (FDA) UX in macOS 27.3. I understand and support the goal of giving users more transparency and granular control over their data. However, I'd like to raise a concern about a specific class of apps: Endpoint Security clients (for example antivirus). The EndpointSecurity.framework requires Full Disk Access to create an es_client_t and to monitor system events. For these products, FDA is not an optional convenience - it is the only supported and recommended way to deliver their core functionality. The new onboarding flow actively discourages users from granting full access (red highlighting, warnings that granting FDA "Bypass System Protections"). For a security solution, this creates a contradictory and confusing situation: the user is told that installing security software will lower the protection level of their system. This makes first-time setup of such products significantly harder. The news states that developers of apps that use FDA for disk backup (and assistive technologies using the new Accessibility settings) can request entitlements to deliver the same onboarding experience as before macOS 27.3. That is great news for backup products. My questions are: Is a similar entitlement planned for Endpoint Security clients? The news explicitly mentions "disk backup" and assistive technologies, but not endpoint security, which arguably has an even stronger requirement for FDA since es_client_t creation depends on it. Would it make sense for Apple to let every app that holds the com.apple.developer.endpoint-security.client entitlement keep the previous FDA UX for new installations, similar to what is proposed for disk backup apps? If an entitlement is planned, when will the details be published, and how can developers of existing security products request it? I've also create the Feedback - FB25694046. Thank you.
2
2
133
4d
No lifecycle notification when entering App Switcher while app remains inactive after Face ID
We use LAContext.evaluatePolicy(.deviceOwnerAuthentication) for a local app lock. On an iPhone 16 Pro running iOS 26.6.2, after authentication succeeds, UIApplication.shared.applicationState can remain .inactive for approximately 2–8 seconds although the app UI is visible. If the user enters the App Switcher during this interval, the app receives no additional willResignActive or didEnterBackground notification. Returning to the app produces only didBecomeActive. This means the app cannot distinguish between: remaining in the app while the Face ID UI finishes dismissing; and entering the App Switcher and returning during the same inactive interval. Reproduction: Run a minimal UIKit app on a physical Face ID device. Call evaluatePolicy(.deviceOwnerAuthentication). Immediately after successful authentication, enter the App Switcher before didBecomeActive. Wait three seconds and return. Is there a supported public API or lifecycle pattern that lets an app lock immediately in this situation without keeping its content covered until didBecomeActive?
3
0
145
4d
Is the macOS 27 App Attest SIP check a csr_check() wrapper, or is SIP state actually attested?
On macOS 27, App Attest attestations include a key access control property (the aclBlob, OID 1.2.840.113635.100.8.6) that Apple says reflects SIP and Full Security mode being enabled. Is this just a wrapper around the CSR check (csr_check / what csrutil status reads) at attestation time, or is the SIP state actually enforced by the Secure Enclave and bound to the attested key?
1
0
521
4d
Supported per-operation fresh administrator authentication in macOS
I am developing a macOS security application that requires strictly controlled, attended administrative operations through a protected privileged helper. Security requirements Fresh native administrator authentication for every privileged operation. Explicit confirmation of the exact operation. Cryptographic binding between the operation, authorization and transaction. Durable single-use authorization and replay protection. No collection or storage of administrator passwords by the application. No reliance on previously cached administrative credentials. Testing performed In an isolated Apple silicon macOS virtual machine, we registered a temporary custom Authorization Services right with the following policy: class = user group = admin authenticate-user = true shared = false timeout = 0 allow-root = false session-owner = false Noninteractive authorization was correctly denied with OSStatus -60007. Interactive cancellation returned OSStatus -60006. However, an interactive authorization dialog did not display the operation-specific token supplied through kAuthorizationEnvironmentPrompt. Consequently, we could not establish that the administrator had been presented with the exact operation being authorized. We also reviewed the public Endpoint Security SDK declarations for authentication, authorization petition and authorization judgement events. Although audit tokens identify participating processes, we could not identify a documented per-evaluation causal identifier linking these events. The temporary authorization right was subsequently removed. Technical questions Does macOS provide a supported public API that guarantees fresh administrator authentication for each individual evaluation of a custom authorization right? Can a trusted privileged helper independently verify the freshness of that authentication, the authenticated administrator's identity and its association with a specific authorization evaluation? Is there a documented mechanism for causally correlating Endpoint Security authentication, authorization petition and authorization judgement events, including concurrent requests and event loss? Can AuthorizationCopyInfo, LocalAuthentication or a supported authorization plug-in provide the required evidence without the application collecting administrator credentials? What supported architecture does Apple recommend for cryptographically binding fresh native administrator authentication to a specific, single-use privileged operation? We are seeking a documented and supported security architecture rather than a workaround or a reduction of macOS security protections. If these guarantees are not currently available through public APIs, confirmation of that limitation would also be extremely helpful. Thank you for your technical guidance.
1
0
398
5d
Technical feasibility — Restricting PIV RSA signing to a specific signed macOS application
Hello, I'm developing BenStrukt, a macOS application that uses RSA-2048 signatures to authorize individual operations through a local IPC protocol. We are evaluating the YubiKey 5C NFC using an RSA private key generated on-device in PIV slot 9C, configured with PIN Policy Always and Touch Policy Always. Our critical security requirement is not only that the RSA private key must be non-exportable, but also that only our specifically signed macOS application can initiate authorized signing operations. According to Apple's documentation, external token items are exposed through kSecAttrAccessGroupToken, which is accessible by default without a specific keychain access-group entitlement. Could you clarify whether there is a documented, supported mechanism to enforce application-specific authorization for PIV private-key operations on macOS? In particular, can a second application running under the same macOS user obtain a reference to the key and request a signature when the correct PIN and physical touch are supplied? Would CryptoTokenKit, a custom token extension, code-signing requirements, or another supported mechanism prevent this, including access through alternative smart-card interfaces such as PC/SC? If application-specific isolation is not supported, could you explicitly confirm this limitation? We need to establish these guarantees before purchasing hardware or modifying our existing signing architecture. Thank you for your technical guidance. Oliver BenFounder — BenStrukt
1
0
86
5d
Privacy & Security Resources
General: Forums topic: Privacy & Security Privacy Resources Security Resources Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = "eskimo" + "1" + "@" + "apple.com"
Replies
0
Boosts
0
Views
1.5k
Activity
Jul ’25
macOS 27.3: how are "known apps" determined for System & App Protection Override?
The macOS 27.3 beta 3 release notes say: "Currently, known apps aren't affected and will keep the same experience without an entitlement." Is there anything published about how an app is considered "known"? And is there a way for an existing Mac App Store app to request inclusion? Context: I ship a sandboxed App Store app that uses a consuming CGEventTap (PostEvent) only to block keyboard input while the user has locked it. On 27.3 beta 3, new installs get the full System & App Protection Override flow. The entitlements mentioned in the notes cover assistive technology and backup apps, so neither seems to apply. I've filed FB25721881 (a narrower grant for input-blocking apps) and a request for inclusion. Any guidance on the right channel would be appreciated.
Replies
0
Boosts
0
Views
16
Activity
4h
Folder access Mail vs. Messages
I'm probably the only unlucky sod to need read access to both the Mail and the Messages folders for my apps to archive emails and messages. When I give the email archiving app access to the Mail folder then I can archive the email fine. When I give the message archiving app access to the Messages folder I can access chat.db but not the attachments. Is the bug with the Mail or with the Messages folder? If I read the scary and confusing dialog for full disk access my guess would be that I shouldn't have access to the Mail folder. If both folders are only accessible for full disk access then neither should be selectable for the folder access. FB25627431
Replies
2
Boosts
0
Views
187
Activity
11h
Required Reason API guidance for SQLite filesystem identification and locking on iOS
Hello, I am preparing the first release of an iOS application that stores user data locally in an SQLite database within the app container. I would appreciate some guidance on Apple's Required Reason API requirements for SQLite's internal filesystem identification and file-locking behavior. Development environment Flutter: 3.44.2 Dart: 3.12.2 Xcode: 27.2 Dart sqlite3 package: 3.5.0 Bundled SQLite version: 3.53.3 Minimum deployment target: iOS 15.0 SQLite is bundled as a dynamic framework through Dart Native Assets. Technical findings During a local inspection of the signed release archive, I identified the following imported symbols in the embedded SQLite binary: _stat _fstat _lstat _statfs _fstatfs Static analysis identified calls to statfs and fstatfs in the following SQLite functions: unixOpen autolockIoFinderImpl proxyTransformUnixFile These calls appear to be used for filesystem classification, mount flag inspection, and database file-locking behavior. The application does not display available disk space or implement storage-capacity-based behavior. However, runtime coverage of every SQLite call path has not been established. The archive contains privacy manifests for Flutter and url_launcher_ios, but no PrivacyInfo.xcprivacy was found inside sqlite3.framework. The current Native Assets build path does not appear to provide a standard mechanism for bundling a framework-specific privacy manifest. Questions Which approved reason, if any, applies to the use of statfs and fstatfs for filesystem identification and database file locking, rather than determining available disk space? Is C617.1 appropriate for the use of file metadata APIs when managing SQLite database files within the app container? If no existing approved reason covers the filesystem-locking use case, should a request for a new approved reason be submitted? When a dynamic framework is generated through Dart Native Assets and the current tooling does not support bundling a framework-specific privacy manifest, what is the appropriate location for the required declarations? Can the application's own privacy manifest cover these API calls, or is a manifest inside the framework required? If the application uses the system-provided SQLite library on iOS instead of bundling its own SQLite binary, are declarations still required for these APIs when they are called internally by the system SQLite library? Related upstream discussions https://github.com/simolus3/sqlite3.dart/issues/410 https://github.com/flutter/flutter/issues/140966 https://github.com/dart-lang/native/issues/878 Current status This is a proactive, pre-submission compliance review. The application has not yet been uploaded to App Store Connect or undergone Apple's Validate App process. No validation warning or rejection has been received. My goal is to ensure that the privacy declarations accurately reflect the application's actual API usage, rather than declaring an approved reason that does not match the underlying behavior. Any clarification from Apple engineers or developers with experience in this area would be greatly appreciated. Thank you for your time and guidance.
Replies
1
Boosts
0
Views
264
Activity
1d
iOS 27: “Malicious link blocked” for legitimate call forwarding codes
Hello! I develop a voicemail app service and I use MMI codes to let users enable/disable call forwarding to their voicemail number. For example, the app opens the Phone app with a code such as: **21*<phone number># This is expected behavior and is required for the service to work. However on iOS 27, those links are now blocked with a “Malicious link blocked” warning, saying that the link may forward incoming calls/messages. Is there any supported way for apps with a legitimate use case like this to request an exemption, or otherwise avoid this warning?
Replies
6
Boosts
3
Views
2.3k
Activity
1d
Sign in with Apple: account-deleted notification redelivered every ~5 minutes for over a week despite HTTP 200 (FB25789263)
We are seeing the issue reported in this thread: https://developer.apple.com/forums/thread/812159?parentId=878955022#878955022 Our Sign in with Apple server-to-server endpoint keeps receiving the same account-deleted notification, and it has not stopped. What we observe One account-deleted event (same sub, same event_time) has been redelivered every ~5 minutes since Nov 25, 2026. It passed 5,000 deliveries by Nov 30 and is still arriving as of Dec 3. Our endpoint returns HTTP 200 for every delivery. Each delivery is a newly signed JWT (new jti and iat), but the events payload is identical. email-enabled, email-disabled and consent-revoked events for other users are delivered only once. Questions Is this redelivery a known issue on Apple's side, and is a fix planned? Is there anything our endpoint should return, or anything else we can do, to acknowledge the event so redelivery stops? Should developers treat account-deleted as at-least-once delivery and deduplicate by sub + event_time? Feedback ID: FB25789263 Thank you.
Replies
2
Boosts
0
Views
229
Activity
1d
Secure Enclave key accessibility attribute differs from SecAccessControl creation policy
We created a persistent P-256 Secure Enclave private key on iPadOS using SecAccessControlCreateWithFlags with the following settings: kSecAttrAccessibleWhenUnlockedThisDeviceOnly privateKeyUsage userPresence Key generation, persistence across app launches and updates, and authenticated signing were successful. However, SecItemCopyMatching with kSecReturnAttributes returned an accessibility attribute of "dk" rather than the expected "aku". SecKeyCopyAttributes did not return the accessibility attribute. A signing attempt using a fresh non-interactive authentication context failed with LAError.notInteractive (-1004). Interactive signing succeeded following Face ID authentication, and the signature was independently verified. My questions are: Is the returned "dk" value expected for a persistent Secure Enclave private key created with this access control policy? Does this attribute describe the Keychain reference or the effective protection policy of the private key? Is there a supported public API to independently verify that the requested WhenUnlockedThisDeviceOnly protection is enforced? We do not intend to weaken the requested protection policy or treat these two accessibility values as equivalent without supporting evidence. Any clarification would be appreciated. Thank you.
Replies
2
Boosts
0
Views
63
Activity
1d
During server-side verification for DeviceCheck, a request to api.devicecheck.apple.com revealed that the certificate has less than one month of validity remaining.
Severity: critical Host: Category: certificate@availability Details: Alert Source:CMS. Domain certificate(default port:443) is expiring. From CloudMap > Third-party Service > Access address name. Please contact your domain provider {"domain":"api.devicecheck.apple.com","ip":"17.33.193.105","notAfter":"2026-12-18 04:54:12.0","sn":"["733ff4d10c140aa831a56a477f1a7b63"]","serviceName":"SecurityTSMService","cloudMapUrlName":"BG89S53FMB_YKSMR7P64G"}|Service:com.huawei.securitytsmservice|Template:unknown|alert_id: 658642636 Occur Time: 2026-12-04 09:00:07+08:00 Alert ID: 658642636 Application: com.huawei.wisesecurity Service: com.huawei.securitytsmservice
Replies
0
Boosts
0
Views
13
Activity
1d
Sign in with Apple migration after app transfer without a source-team key
An app using Sign in with Apple has already been transferred from an individual developer team to an organization. Existing backend accounts still reference the original team-scoped user identifiers. We are within the 60-day migration window, but no transfer identifiers were generated before the transfer. The original team has no existing Sign in with Apple private key. In Certificates, Identifiers & Profiles, creating one is disabled because there are no eligible identifiers to associate with the key after the app transfer. The recipient team has its own Sign in with Apple key. TN3159 describes using a client secret issued by the source team to generate transfer identifiers. What is the supported procedure to generate those identifiers in this situation and safely associate existing users with their new team-scoped identifiers? Is there a supported way to obtain an appropriate source-team credential after the App ID has transferred, or an alternative migration method? Does expiration of the source team’s Developer Program membership affect the availability of the 60-day migration process or the credentials required for it? We have not modified existing user identities and want to avoid creating duplicate accounts. No private keys, user identifiers, or account details are included here.
Replies
1
Boosts
0
Views
132
Activity
2d
macOS 27.3: sandboxed app that only blocks key events (PostEvent) has no prompt and gets the full override warning
I make a sandboxed Mac App Store keyboard-lock app (it stops pets from typing). Optional features block key presses with a consuming CGEventTap (.defaultTap at .cghidEventTap). It doesn't read, record, or control other apps. As Quinn explained in thread 857997, a consuming tap uses the PostEvent privilege, which on 27.3 beta 2 is filed under System & App Protection Override. What I'm seeing: Creating the tap no longer prompts, and the app isn't added to the list. AXIsProcessTrustedWithOptions doesn't prompt either (same as thread 860570). The user must add the app manually. A limited "Choose Apps" grant doesn't allow the tap; only "Bypass System Protections" works. That screen warns the app can read all data, view hidden photos, browse as the user, and change settings. As a sandboxed app, it can do none of that. The tap only sees key presses in order to block them, and nothing is stored or sent. Questions: Is there a supported way to request PostEvent on 27.3, such as CGRequestPostEventAccess? Will consuming event taps always require the full override, or is a narrower option planned for input-only apps (keyboard lockers, hotkey apps, text expanders)? Will the upcoming entitlements cover anything beyond assistive technology and backup? Filed as FB25721881
Replies
2
Boosts
0
Views
266
Activity
2d
Fraud
Hi everyone, Just be careful because I just received these unknown emails. Luckily, I checked emails before opening the attached links
Replies
0
Boosts
0
Views
56
Activity
2d
Foreign passkey offered in App Store Connect, signing certificates issued from an unknown Mac, and "Sealed: Broken" on macOS. Looking for insight
I'm an independent developer in Spain and I'm trying to understand a chain of events on my developer account and my Mac. I'm sharing what I've observed in case someone has seen something similar or can help me read the evidence. I have open cases with Apple Support, but no technical answer yet. 1. A passkey that isn't mine in App Store Connect When I sign in to appstoreconnect.apple.com in Safari, with Lockdown Mode enabled, Safari offers a passkey for an iCloud address that doesn't belong to me. My Touch ID can't unlock it. security find-internet-password doesn't find it (code 44), so it doesn't seem to live in the internet passwords keychain. That address isn't a user on my team in App Store Connect. Question: how can a third-party passkey be offered for an Apple domain on my Mac? Does it point to iCloud Keychain sync, a shared group, or something else? 2. Signing certificates whose private keys aren't on my Mac My only registered Mac holds the private keys for one Apple Development certificate and one Developer ID Application certificate. My provisioning profiles, though, embed several Apple Distribution certificates, an older Developer ID and another Development certificate whose private keys are not on this machine. Xcode says the certificate is "already on another Mac". I believe that Mac was called "Instamac", but I don't recognise it, and no device by that name is registered in my account. Question: is there any way, as a developer, to see which machine generated the CSR for a certificate? Is revoking and reissuing enough, or does it break the apps already published? 3. "Sealed: Broken" on the system volume diskutil info / shows Sealed: Broken on the system volume and its snapshot, with SIP and authenticated-root enabled. There is a com.apple.os.update-MSUPrepareUpdate snapshot, which suggests a half-finished update. Question: is a broken seal normal after a staged but incomplete update? How can I tell that apart from a real modification of the system? 4. Other behaviour I've seen and recorded (not yet independently verified) Photos accesses my files directly, and "Open in Finder" opens ChatGPT. Scripts running in Terminal that I didn't launch, and changes to my PATH. My FIDO security keys disappeared from Google and ChatGPT, and keys I didn't enrol were added. Secrets in my GitHub accounts were exposed or modified. A user who isn't me appears under Touch ID. An app-specific password was generated on my Apple ID without me asking for it. What I've checked so far No MDM enrolment (DEP or MDM), no Platform SSO, and no Mosyle, Jamf or Kandji agents. The only configuration profile installed is a Screen Time content filter, which I installed locally. I've kept the passkey and haven't revoked the certificates, so the evidence is preserved. What I'd appreciate Ideas on how to trace where the passkey came from and where the certificates were generated. The safest steps to take now without destroying evidence. Has anyone from Apple or the community seen this pattern? Thanks for reading. I can share sanitised logs or command output if it helps. Ten en cuenta dos cosas antes de publicarlo. Lo que pongas en el foro es público y lo puede leer quien te esté atacando. Y no pegues ningún registro sin quitarle antes los correos, los UDID y las IP. Si lo prefieres en español, te lo traduzco. me intereeaa poner luz a esto para que inclusmo me ayuden ç Entonces el borrador te sirve tal cual. Para que te ayuden más rápido, te recomiendo tres cosas: Etiquetas: ponle Security, Signing Certificates, Passkeys y macOS. Así lo ven los ingenieros de Apple y los desarrolladores que saben del tema. Pruebas: adjunta una o dos capturas tapadas, por ejemplo la de la llave ajena en App Store Connect con el correo tachado y la salida de diskutil con "Sealed: Broken". Las pruebas visuales generan más respuestas. Seguimiento: responde a quien comente y añade lo que te pida, siempre sin correos, UDID ni IP. Si quieres, también te preparo una versión más corta para Reddit, en r/macsysadmin o r/applehelp, que suelen responder antes. busca captiras que pueda poner no nos olvidemos de las app que pagiue durante 5meses que es falsa y la comopre en appstorre Busco ahora en tu Mac capturas que puedas publicar, y añado al informe la app falsa "Yi iot" que te estuvo cobrando 5,99 € a la semana. Mientras busco las capturas, esta es la sección de la app para añadir al informe del foro, justo después del punto 3: 4. A fraudulent App Store subscription I paid for 5 months I downloaded an app called "Yi iot" from the Mac App Store. It's published by an individual seller, not a company. It enrolled me in a weekly "Get Premuim" subscription (the typo is theirs) at €5.99 a week, starting on 16 August 2026. Apple charged me 14 times, €83.86 in total, until 23 November 2026. The app gave me nothing in return. I'm reporting it because it could be part of the same pattern, or simply a scam app that passed App Review. Question: has anyone else been charged by this app? What's the best way to get it reviewed and taken down? . Marcos alfonso
Replies
0
Boosts
0
Views
51
Activity
2d
Any chance of adding Face ID to app groups
i used to write code but that was when i was younger. I decided that it would very handy if i could set a property in an App group to force anyone trying to access anything in the group to successfully access FaceID or TouchID. This could be an easy and configurable level of user added security. SR00
Replies
1
Boosts
0
Views
85
Activity
3d
Detecting or restricting ScreenCaptureKit capture of a specific app's windows
Hi, I'm exploring macOS options to protect the windows of selected apps from being screen-captured or recorded by other apps (enterprise Macs, managed via MDM). Is there a supported API or Endpoint Security event that tells when a process starts a screen capture or recording (ScreenCaptureKit), and whether it captures a display or a single window? Is there a supported way, for example via MDM, to prevent other apps from capturing a specific app's windows? NSWindow.sharingType = .none no longer seems to exclude a window from ScreenCaptureKit on macOS 15 and later. Is this expected, and is there an alternative? Tested on macOS 26.3.1 (Apple silicon). Thanks.
Replies
4
Boosts
0
Views
185
Activity
4d
Reading Mouse Events with CGEvent tap from a background app in macOS 27.3
WIth macOS 27.3 (beta 2) things have changed quite a bit for security, see Updates to Device Control and Data Access, and Full Disk Access in macOS I have an app which uses what (used to be called) the Privacy & Security / Accessibility permissions in order to receive mouse events in the background to read them and occasionally modify them. The method used: The app checks AXIsProcessTrustedWithOptions to see if it has permission. If it doesn't have permission, it uses the kAXTrustedCheckOptionPrompt option which would open up the privacy & Security / Accessibility pane. Because that process has been a little flakey in macOS, my app has a backup option, where it runs 'open "x-apple.systempreferences:com.apple.settings.PrivacySecurity.extension?Privacy_Accessibility"' and then walks the user through the steps with onscreen instructions. When permission is granted, the app creates a CGEvent tap SessionEvent tap using the HeadInsertEvent option to receive mouse and touch mouse events. See CGEvent.tapCreate In macOS 27.3 beta 2, always returns false using kAXTrustedCheckOptionPrompt fails to do anything open "x-apple.systempreferences:com.apple.settings.PrivacySecurity.extension?Privacy_Accessibility fails to do anything. CGEvent tap fails A few questions: will my third party app be allowed to use CGEventTaps to read mouse and touchpad events? Or has this been cut off completely and only available to first party apps? If it is allowed, how? Has the permission for this moved to a different System Preference pane? is a CGEvent tap the way to do it? I totally understand that security is important, and apps should not have wide-ranging permissions. I'd love to find a way to keep my app running with the minimal permissions needed.
Replies
7
Boosts
0
Views
993
Activity
4d
Will Endpoint Security clients get an entitlement to keep the previous Full Disk Access UX in macOS 27.3?
Apple recent news "Updates to Device Control and Data Access, and Full Disk Access in macOS" describes a redesigned Full Disk Access (FDA) UX in macOS 27.3. I understand and support the goal of giving users more transparency and granular control over their data. However, I'd like to raise a concern about a specific class of apps: Endpoint Security clients (for example antivirus). The EndpointSecurity.framework requires Full Disk Access to create an es_client_t and to monitor system events. For these products, FDA is not an optional convenience - it is the only supported and recommended way to deliver their core functionality. The new onboarding flow actively discourages users from granting full access (red highlighting, warnings that granting FDA "Bypass System Protections"). For a security solution, this creates a contradictory and confusing situation: the user is told that installing security software will lower the protection level of their system. This makes first-time setup of such products significantly harder. The news states that developers of apps that use FDA for disk backup (and assistive technologies using the new Accessibility settings) can request entitlements to deliver the same onboarding experience as before macOS 27.3. That is great news for backup products. My questions are: Is a similar entitlement planned for Endpoint Security clients? The news explicitly mentions "disk backup" and assistive technologies, but not endpoint security, which arguably has an even stronger requirement for FDA since es_client_t creation depends on it. Would it make sense for Apple to let every app that holds the com.apple.developer.endpoint-security.client entitlement keep the previous FDA UX for new installations, similar to what is proposed for disk backup apps? If an entitlement is planned, when will the details be published, and how can developers of existing security products request it? I've also create the Feedback - FB25694046. Thank you.
Replies
2
Boosts
2
Views
133
Activity
4d
No lifecycle notification when entering App Switcher while app remains inactive after Face ID
We use LAContext.evaluatePolicy(.deviceOwnerAuthentication) for a local app lock. On an iPhone 16 Pro running iOS 26.6.2, after authentication succeeds, UIApplication.shared.applicationState can remain .inactive for approximately 2–8 seconds although the app UI is visible. If the user enters the App Switcher during this interval, the app receives no additional willResignActive or didEnterBackground notification. Returning to the app produces only didBecomeActive. This means the app cannot distinguish between: remaining in the app while the Face ID UI finishes dismissing; and entering the App Switcher and returning during the same inactive interval. Reproduction: Run a minimal UIKit app on a physical Face ID device. Call evaluatePolicy(.deviceOwnerAuthentication). Immediately after successful authentication, enter the App Switcher before didBecomeActive. Wait three seconds and return. Is there a supported public API or lifecycle pattern that lets an app lock immediately in this situation without keeping its content covered until didBecomeActive?
Replies
3
Boosts
0
Views
145
Activity
4d
Is the macOS 27 App Attest SIP check a csr_check() wrapper, or is SIP state actually attested?
On macOS 27, App Attest attestations include a key access control property (the aclBlob, OID 1.2.840.113635.100.8.6) that Apple says reflects SIP and Full Security mode being enabled. Is this just a wrapper around the CSR check (csr_check / what csrutil status reads) at attestation time, or is the SIP state actually enforced by the Secure Enclave and bound to the attested key?
Replies
1
Boosts
0
Views
521
Activity
4d
Supported per-operation fresh administrator authentication in macOS
I am developing a macOS security application that requires strictly controlled, attended administrative operations through a protected privileged helper. Security requirements Fresh native administrator authentication for every privileged operation. Explicit confirmation of the exact operation. Cryptographic binding between the operation, authorization and transaction. Durable single-use authorization and replay protection. No collection or storage of administrator passwords by the application. No reliance on previously cached administrative credentials. Testing performed In an isolated Apple silicon macOS virtual machine, we registered a temporary custom Authorization Services right with the following policy: class = user group = admin authenticate-user = true shared = false timeout = 0 allow-root = false session-owner = false Noninteractive authorization was correctly denied with OSStatus -60007. Interactive cancellation returned OSStatus -60006. However, an interactive authorization dialog did not display the operation-specific token supplied through kAuthorizationEnvironmentPrompt. Consequently, we could not establish that the administrator had been presented with the exact operation being authorized. We also reviewed the public Endpoint Security SDK declarations for authentication, authorization petition and authorization judgement events. Although audit tokens identify participating processes, we could not identify a documented per-evaluation causal identifier linking these events. The temporary authorization right was subsequently removed. Technical questions Does macOS provide a supported public API that guarantees fresh administrator authentication for each individual evaluation of a custom authorization right? Can a trusted privileged helper independently verify the freshness of that authentication, the authenticated administrator's identity and its association with a specific authorization evaluation? Is there a documented mechanism for causally correlating Endpoint Security authentication, authorization petition and authorization judgement events, including concurrent requests and event loss? Can AuthorizationCopyInfo, LocalAuthentication or a supported authorization plug-in provide the required evidence without the application collecting administrator credentials? What supported architecture does Apple recommend for cryptographically binding fresh native administrator authentication to a specific, single-use privileged operation? We are seeking a documented and supported security architecture rather than a workaround or a reduction of macOS security protections. If these guarantees are not currently available through public APIs, confirmation of that limitation would also be extremely helpful. Thank you for your technical guidance.
Replies
1
Boosts
0
Views
398
Activity
5d
Technical feasibility — Restricting PIV RSA signing to a specific signed macOS application
Hello, I'm developing BenStrukt, a macOS application that uses RSA-2048 signatures to authorize individual operations through a local IPC protocol. We are evaluating the YubiKey 5C NFC using an RSA private key generated on-device in PIV slot 9C, configured with PIN Policy Always and Touch Policy Always. Our critical security requirement is not only that the RSA private key must be non-exportable, but also that only our specifically signed macOS application can initiate authorized signing operations. According to Apple's documentation, external token items are exposed through kSecAttrAccessGroupToken, which is accessible by default without a specific keychain access-group entitlement. Could you clarify whether there is a documented, supported mechanism to enforce application-specific authorization for PIV private-key operations on macOS? In particular, can a second application running under the same macOS user obtain a reference to the key and request a signature when the correct PIN and physical touch are supplied? Would CryptoTokenKit, a custom token extension, code-signing requirements, or another supported mechanism prevent this, including access through alternative smart-card interfaces such as PC/SC? If application-specific isolation is not supported, could you explicitly confirm this limitation? We need to establish these guarantees before purchasing hardware or modifying our existing signing architecture. Thank you for your technical guidance. Oliver BenFounder — BenStrukt
Replies
1
Boosts
0
Views
86
Activity
5d