·device-integrity
</>

device-integrity

使用 DeviceCheck(DCDevice 每裝置位)和 App Attest(DCAppAttestService 金鑰產生、證明和斷言流程)驗證裝置合法性和應用程式完整性。在實施詐欺預防、偵測受損裝置、透過 Apple 伺服器驗證應用程式真實性、透過經過驗證的請求保護敏感 API 端點或向後端架構新增裝置驗證時使用。

54安裝·26熱度·@dpearson2699

安裝

$npx skills add https://github.com/dpearson2699/swift-ios-skills --skill device-integrity

如何安裝 device-integrity

透過命令列快速安裝 device-integrity AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill device-integrity
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:dpearson2699/swift-ios-skills。

SKILL.md

查看原文

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
分類
</>開發工具
認證
收錄時間
2026-03-09
更新時間
2026-03-11

Browse more skills from dpearson2699/swift-ios-skills

快速解答

什麼是 device-integrity?

使用 DeviceCheck(DCDevice 每裝置位)和 App Attest(DCAppAttestService 金鑰產生、證明和斷言流程)驗證裝置合法性和應用程式完整性。在實施詐欺預防、偵測受損裝置、透過 Apple 伺服器驗證應用程式真實性、透過經過驗證的請求保護敏感 API 端點或向後端架構新增裝置驗證時使用。 來源:dpearson2699/swift-ios-skills。

如何安裝 device-integrity?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill device-integrity 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/dpearson2699/swift-ios-skills