
Device Integrity
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
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
DCDevicetoken generation,DCAppAttestServicekey creation, and Keychain storage of thekeyId - 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 -yInstalls 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)
- DCAppAttestService (App Attest)
- App Attest Key Generation
- App Attest Attestation Flow
- App Attest Assertion Flow
- Server Verification Guidance
- Error Handling
- Common Patterns
- Common Mistakes
- Review Checklist
- References
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- Alarmkit3.9K
- Contacts Framework3.9K
- Swift Codable3.9K
- Core Nfc3.9K
- Tipkit3.9K
- App Clips3.9K
- Permissionkit3.9K
- Energykit3.9K
- Shareplay Activities3.8K
- Weatherkit3.8K
- Activitykit3.7K
- Cloudkit3.6K
- Photokit3.6K
- Realitykit3.5K
- Swiftui Webkit3.5K
- Mapkit3.5K
- Spritekit3.5K
- Avkit3.5K
- Cryptokit3.5K
- Metrickit3.5K
- Swift Architecture3.5K
- Pdfkit3.4K
- Gamekit3.4K
- Eventkit3.4K
Similar to Device Integrity
More Mobile Apps
swift-securitySkilldpearson2699/swift-ios-skills3.4K installsKeychain, biometric, CryptoKit, and certificate-trust guidance for Apple platform security, loaded by task.
app-store-reviewSkilldpearson2699/swift-ios-skills5K installsApp Store submission readiness audit that separates upload blockers from cleanup across privacy, StoreKit, metadata, and entitlements.
asc-notarizationSkillrorkai/app-store-connect-cli-skills7K installsStep-by-step macOS notarization workflow for Developer ID distribution, built on xcodebuild and the asc CLI.
axiom-securitySkillcharleswiltgen/axiom1.3K installsSecurity, credential, and code-signing reference router that points to focused guides for keychain, CryptoKit, passkeys, app attestation, and agentic AI securit
auth0-swiftSkillauth0/agent-skills477 installsGuides Auth0 login, logout, and biometric-protected credential storage integration for Apple platform apps.
AttestixMCP servervibetensor620 starsSigned identity, credentials, delegation, and compliance evidence for AI agents via MCP.