·device-integrity
</>

device-integrity

使用 DeviceCheck(DCDevice 每设备位)和 App Attest(DCAppAttestService 密钥生成、证明和断言流程)验证设备合法性和应用程序完整性。在实施欺诈预防、检测受损设备、通过 Apple 服务器验证应用程序真实性、通过经过验证的请求保护敏感 API 端点或向后端架构添加设备验证时使用。

41安装·17热度·@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-10

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