什麼是 device-integrity?
使用 DeviceCheck(DCDevice 每裝置位)和 App Attest(DCAppAttestService 金鑰產生、證明和斷言流程)驗證裝置合法性和應用程式完整性。在實施詐欺預防、偵測受損裝置、透過 Apple 伺服器驗證應用程式真實性、透過經過驗證的請求保護敏感 API 端點或向後端架構新增裝置驗證時使用。 來源:dpearson2699/swift-ios-skills。
使用 DeviceCheck(DCDevice 每裝置位)和 App Attest(DCAppAttestService 金鑰產生、證明和斷言流程)驗證裝置合法性和應用程式完整性。在實施詐欺預防、偵測受損裝置、透過 Apple 伺服器驗證應用程式真實性、透過經過驗證的請求保護敏感 API 端點或向後端架構新增裝置驗證時使用。
透過命令列快速安裝 device-integrity AI 技能到你的開發環境
來源:dpearson2699/swift-ios-skills。
Verify that requests to your server come from a genuine Apple device running your unmodified app. DeviceCheck provides per-device bits for simple flags (e.g., "claimed promo offer"). App Attest uses Secure Enclave keys and Apple attestation to cryptographically prove app legitimacy on each request.
DCDevice generates a unique, ephemeral token that identifies a device. The token is sent to your server, which then communicates with Apple's servers to read or set two per-device bits. Available on iOS 11+.
Your server uses the device token to call Apple's DeviceCheck API endpoints:
使用 DeviceCheck(DCDevice 每裝置位)和 App Attest(DCAppAttestService 金鑰產生、證明和斷言流程)驗證裝置合法性和應用程式完整性。在實施詐欺預防、偵測受損裝置、透過 Apple 伺服器驗證應用程式真實性、透過經過驗證的請求保護敏感 API 端點或向後端架構新增裝置驗證時使用。 來源:dpearson2699/swift-ios-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/dpearson2699/swift-ios-skills --skill device-integrity使用 DeviceCheck(DCDevice 每裝置位)和 App Attest(DCAppAttestService 金鑰產生、證明和斷言流程)驗證裝置合法性和應用程式完整性。在實施詐欺預防、偵測受損裝置、透過 Apple 伺服器驗證應用程式真實性、透過經過驗證的請求保護敏感 API 端點或向後端架構新增裝置驗證時使用。 來源:dpearson2699/swift-ios-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill device-integrity 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dpearson2699/swift-ios-skills