Verify device legitimacy and app integrity via DeviceCheck tokens and App Attest key attestation and assertions.

CCM score
75 of 100
skills.sh installs
4K
GitHub stars
1.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers DeviceCheck per-device bits and App Attest key generation, attestation, and assertion flows for fraud prevention
  • Includes Swift examples for DCDevice token generation, DCAppAttestService key creation, and Keychain storage of the keyId
  • Enforces single-use DeviceCheck tokens and one Secure Enclave key per user account and device, discarded if server verification fails
  • Designed for backends that need to validate app authenticity or protect sensitive API endpoints with attested requests

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill device-integrity -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Device Integrity

Verify that requests to your server come from a genuine Apple device running a legitimate instance of your 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 sensitive requests.

Contents

DCDevice (DeviceCheck Tokens)

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Mobile Apps, Security
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 94

Similar to Device Integrity

More Mobile Apps