Swift Security Expert

Keychain storage, biometric login, CryptoKit, Secure Enclave and certificate trust on Apple platforms, with guidance drawn from Apple docs and OWASP. By Ivan Magda.

View on GitHub ↗
Stars
★ 39
Last commit
17 Jun 2026
Maintenance
Slowing
Licence
MIT
Category
Agent Skills
GitHub
ivan-magda/swift-security-skill

Overview

Swift Security Expert is an agent skill for secure credential storage and cryptography on Apple platforms. The author notes that AI assistants often get Apple security code wrong, for example storing secrets in UserDefaults. It supplies verified patterns and Apple-documented behaviour across fourteen client-side security areas.

Features

  • Keychain basics, item classes, access control and sharing
  • Biometric authentication with LAContext
  • Secure Enclave and CryptoKit symmetric and public key cryptography
  • Credential storage patterns and certificate trust
  • Migrating secrets out of UserDefaults or plists
  • Common AI-generated anti-patterns and OWASP MASVS mapping

Requirements

The source doesn't list any requirements, so check the project's own docs before you install.

Install

  1. Install with the skills CLI

    npx skills add https://github.com/ivan-magda/swift-security-skill --skill swift-security-expert
  2. Or as a Claude Code plugin

    /plugin marketplace add ivan-magda/swift-security-skill
    /plugin install swift-security-expert@swift-security-skill
  3. For Claude Projects, upload the contents of the swift-security-expert folder

Example

Ask: "Use the swift security expert skill and review the current security code for authentication bypasses, credential storage issues, and cryptographic correctness."

Works with

Claude CodeCursorCodex

Listed in

swiftskills.devtwostraws/Swift-Agent-Skills

Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.

More in this category