Remote OpenClaw
Menu
SkillsMCPPluginsFree guideDigestSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Remote OpenClaw
SkillsMCPPluginsFree guideDigestSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise

Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger →
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger →
Turn any website into LLM-ready data with Firecrawl logoTurn any website into LLM-ready data with Firecrawl

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits plus 10% off through our link.

Try Firecrawl free →
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now →
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free →
Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger →
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger →
Turn any website into LLM-ready data with Firecrawl logoTurn any website into LLM-ready data with Firecrawl

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits plus 10% off through our link.

Try Firecrawl free →
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now →
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free →
Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger →
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger →
Turn any website into LLM-ready data with Firecrawl logoTurn any website into LLM-ready data with Firecrawl

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits plus 10% off through our link.

Try Firecrawl free →
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now →
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free →
Skills/dpearson2699/swift-ios-skills/swift-security
swift-security logo

swift-security

dpearson2699/swift-ios-skills
968 installs740 stars
Run it on Hostinger →up to 70% off + an extra 10% with code ZACAARON10Free API →

Installation

npx skills add https://github.com/dpearson2699/swift-ios-skills --skill swift-security

Summary

Use when working with iOS/macOS Keychain Services (SecItem queries, kSecClass, OSStatus errors), biometric authentication (LAContext, Face ID, Touch ID), CryptoKit (AES-GCM, ChaChaPoly, ECDSA, ECDH, HPKE, ML-KEM), Secure Enclave, secure credential storage (OAuth tokens, API keys), certificate pinning (SecTrust, SPKI), keychain sharing across apps/extensions, migrating secrets from UserDefaults or plists, or OWASP MASVS/MASTG mobile compliance on Apple platforms.

SKILL.md

Swift Security

Use this skill for client-side Apple platform security work: Keychain Services, access control, biometric-gated secrets, CryptoKit, Secure Enclave keys, credential storage, certificate trust, keychain sharing, legacy secret migration, security testing, and OWASP mobile compliance mapping.

Default to iOS 17+ and Swift concurrency examples when the deployment target is unknown. Keep iOS 13+ compatibility notes when the user asks for older targets. Treat iOS 26 CryptoKit post-quantum APIs as availability-gated.

Contents

  • Workflow
  • Reference Loading
  • Security Invariants
  • Sibling Boundaries
  • Review Checklist
  • Common Mistakes
  • Output Rules
  • References

Workflow

Classify the request before loading references.

  1. Review existing code: run the Review Checklist, then

load common-anti-patterns.md plus the domain reference for each failing area. Report severity, evidence, and the corrected pattern.

  1. Improve or migrate code: identify the migration type, load the migration

and target-domain references, preserve existing data, verify the new item, then remove legacy storage only after success.

  1. Implement new security code: load the minimum domain references, use the

provided correct patterns, include OSStatus handling and tests, then run the relevant checklist.

Do not load every reference file by default. This skill is intentionally split for progressive disclosure; load only the files needed by the user's task.

Reference Loading

If the task involvesLoad
General keychain CRUD or OSStatus handlingkeychain-fundamentals.md
Choosing kSecClass or item identitykeychain-item-classes.md
Accessibility classes or SecAccessControlkeychain-access-control.md
Face ID, Touch ID, or biometric-gated secretsbiometric-authentication.md
Secure Enclave keyssecure-enclave.md
Hashing, HMAC, AES-GCM, ChaChaPoly, HKDF, PBKDF2cryptokit-symmetric.md
Signing, ECDH, HPKE, ML-KEM, ML-DSAcryptokit-public-key.md
OAuth tokens, API keys, logout, refresh rotationcredential-storage-patterns.md
App/extension keychain sharingkeychain-sharing.md
Certificate trust, SPKI pinning, mTLScertificate-trust.md
UserDefaults/plist/NSCoding migrationmigration-legacy-stores.md
Unit, integration, simulator, device, or CI teststesting-security-code.md
OWASP MASVS/MASTG or enterprise audit mappingcompliance-owasp-mapping.md
Full security reviewcommon-anti-patterns.md, then each touched domain reference

Security Invariants

Use directive language only for these security invariants and the matching anti-patterns in common-anti-patterns.md. For architecture choices outside this list, use advisory language.

  • Never store tokens, passwords, API keys, signing keys, or refresh tokens in

UserDefaults, Info.plist, .xcconfig, source code, logs, files, or NSCoding archives. Use Keychain or fetch secrets at runtime.

  • Never ignore OSStatus. Every SecItemAdd, SecItemCopyMatching,

SecItemUpdate, and SecItemDelete path must handle success and expected failures such as errSecDuplicateItem, errSecItemNotFound, and errSecInteractionNotAllowed.

  • Never use LAContext.evaluatePolicy() as the only gate for a secret. Bind

protected secrets to keychain items with SecAccessControl, then let keychain access trigger LocalAuthentication.

  • Always set kSecAttrAccessible or kSecAttrAccessControl explicitly when

adding keychain items.

  • Always use add-or-update for persistent keychain writes. Do not delete-then-add

as a normal update path.

  • Keep SecItem* work off the main actor. Use an actor or serial queue for

keychain access.

  • On macOS AppKit targets, target the data protection keychain with

kSecUseDataProtectionKeychain: true unless deliberately working with legacy file-based keychain items.

  • Never reuse an AES-GCM nonce with the same key.
  • Never use raw ECDH SharedSecret bytes as a symmetric key. Derive with HKDF

or X9.63 derivation.

  • Never use Insecure.MD5 or Insecure.SHA1 for security purposes.

Sibling Boundaries

This skill owns client-side storage, cryptographic primitives, hardware-backed keys, and trust evaluation. Route adjacent work deliberately:

  • Use authentication for Sign in with Apple, passkeys, OAuth UI flows,

ASAuthorizationController, credential state, and account sign-in UX.

  • Use cryptokit for general CryptoKit API usage when storage, keychain,

Secure Enclave policy, certificate trust, or compliance review is not part of the task.

  • Use device-integrity for DeviceCheck and App Attest attestation/assertion

flows.

  • Use ios-networking for URLSession, request pipelines, ATS configuration,

retries, caching, reachability, and transport architecture.

  • Use app-store-review for privacy manifests, ATT, App Review guideline

compliance, and submission readiness.

This skill may mention those areas only to identify a security handoff.

Review Checklist

Use this checklist for code reviews and migration plans. Mark each item pass, fail, or not applicable; for each failure, cite the reference file and severity.

  • Secrets are not stored in UserDefaults, plists, source, logs, files, or

archives.

  • Every SecItem* call checks OSStatus and handles common recoverable errors.
  • Biometric access to secrets is keychain-bound with SecAccessControl, not a

standalone Bool from LAContext.evaluatePolicy().

  • Keychain add dictionaries set an explicit accessibility policy.
  • Keychain writes use add-or-update rather than delete-then-add.
  • Keychain work is isolated from UI/main-actor code.
  • The selected kSecClass matches the item type and primary-key attributes.
  • CryptoKit code avoids nonce reuse, raw shared-secret use, weak hashes, and

hardcoded keys.

  • Secure Enclave code checks availability, handles simulator/device differences,

persists only dataRepresentation, and designs for device-bound keys.

  • App/extension sharing uses full Team ID access groups and matching

entitlements on every target.

  • Certificate trust uses current SecTrust APIs, validates hostname/policy, and

uses SPKI or CA pinning when pinning is required.

  • macOS keychain code intentionally chooses data protection or file-based

keychain behavior.

  • Tests cover success, duplicate, missing item, locked-device, simulator/device,

and migration paths where applicable.

  • OWASP MASVS/MASTG mappings are included when compliance is requested.

Common Mistakes

  • Generating partial keychain examples without duplicate handling or

errSecItemNotFound handling.

  • Adding biometric UI but leaving the secret readable without keychain access

control.

  • Choosing kSecAttrAccessibleWhenUnlocked implicitly by omitting the attribute.
  • Using kSecAttrAccessibleAlways or

kSecAttrAccessibleAlwaysThisDeviceOnly, both deprecated.

  • Mixing kSecAttrAccessible and kSecAttrAccessControl on the same add query.
  • Treating Secure Enclave keys as importable, exportable, syncable, or suitable

for symmetric encryption.

  • Claiming SHA-3, ML-KEM, ML-DSA, or X-Wing CryptoKit APIs are available before

iOS 26.

  • Treating HPKE as available before iOS 17.
  • Implementing certificate pinning by hashing only raw key bytes instead of the

correct SPKI representation.

  • Expanding this skill into account-login, networking, App Attest, or App Store

review guidance instead of handing off to sibling skills.

Output Rules

  • For security findings, state severity: CRITICAL for exploitable secret or

cryptography failures, HIGH for silent security boundary/data-loss issues, and MEDIUM for brittle or incomplete hardening.

  • Include wrong and corrected code examples for implementation reviews when a

concrete anti-pattern is present.

  • Include minimum iOS/macOS availability when recommending versioned APIs.
  • Cite the reference file that supports each substantive security pattern.
  • For keychain code, include OSStatus handling and explicit accessibility in

examples.

  • For implementation or migration answers, end with ## Reference Files and

list the loaded references with a one-line purpose.

  • Do not invent WWDC session numbers or source citations. If a claim is not

present in the loaded references or official Apple documentation, say it needs verification.

References

  • keychain-fundamentals.md - SecItem CRUD, OSStatus handling, add-or-update, macOS data protection keychain.
  • keychain-item-classes.md - kSecClass selection, primary keys, certificates, identities.
  • keychain-access-control.md - Accessibility constants, SecAccessControl, background access, data protection.
  • biometric-authentication.md - Keychain-bound biometrics, LAContext, enrollment-change handling.
  • secure-enclave.md - Secure Enclave constraints, persistence, biometric keys, iOS 26 PQ APIs.
  • cryptokit-symmetric.md - SHA, HMAC, AES-GCM, ChaChaPoly, HKDF, PBKDF2.
  • cryptokit-public-key.md - Signing, key agreement, HPKE, ML-KEM, ML-DSA, key formats.
  • credential-storage-patterns.md - OAuth tokens, API keys, rotation, logout cleanup.
  • keychain-sharing.md - Access groups, extensions, iCloud sync, macOS access groups.
  • certificate-trust.md - SecTrust, SPKI/CA pinning, NSPinnedDomains, client certificates.
  • migration-legacy-stores.md - UserDefaults/plist/NSCoding migration and cleanup.
  • common-anti-patterns.md - Review backbone for insecure generated code.
  • testing-security-code.md - Protocol mocks, real keychain tests, CI/device split.
  • compliance-owasp-mapping.md - OWASP Mobile Top 10, MASVS, MASTG evidence mapping.

Score

0–100
63/ 100

Grade

C

Popularity15/30

968 installs — growing adoption.

Completeness27/30

Documented: full SKILL.md body, description, one-line install. Missing: category/license metadata.

Trust15/25

Community skill with a public GitHub source repository you can review.

Freshness6/15

No update timestamp is tracked for this skill in our catalog.

Scored automatically from popularity, completeness, trust, and freshness — computed only from data in our catalog, never fabricated.

Proud of your score? Add this badge to your README.

Paste a snippet into your GitHub README. The badge updates automatically and links back to this page.

Swift Security skill score badge previewScore badge

Markdown

[![Swift Security skill](https://www.remoteopenclaw.com/skills/dpearson2699/swift-ios-skills/swift-security/badges/score.svg)](https://www.remoteopenclaw.com/skills/dpearson2699/swift-ios-skills/swift-security)

HTML

<a href="https://www.remoteopenclaw.com/skills/dpearson2699/swift-ios-skills/swift-security"><img src="https://www.remoteopenclaw.com/skills/dpearson2699/swift-ios-skills/swift-security/badges/score.svg" alt="Swift Security skill"/></a>

Swift Security FAQ

How do I install the Swift Security skill?

Run “npx skills add https://github.com/dpearson2699/swift-ios-skills --skill swift-security” in your terminal. The skill is added to your agent's skills directory and picked up automatically on the next run — no restart or extra configuration needed.

What does the Swift Security skill do?

Use when working with iOS/macOS Keychain Services (SecItem queries, kSecClass, OSStatus errors), biometric authentication (LAContext, Face ID, Touch ID), CryptoKit (AES-GCM, ChaChaPoly, ECDSA, ECDH, HPKE, ML-KEM), Secure Enclave, secure credential storage (OAuth tokens, API keys), certificate pinning (SecTrust, SPKI), keychain sharing across apps/extensions, migrating secrets from UserDefaults or plists, or OWASP MASVS/MASTG mobile compliance on Apple platforms. The full SKILL.md on this page shows the exact instructions the skill gives your agent.

Is the Swift Security skill free?

Yes. Swift Security is a free, open-source skill published from dpearson2699/swift-ios-skills. As with any third-party skill, review the source repository before installing it into an agent with sensitive access.

Does Swift Security work with Claude Code and OpenClaw?

Yes. Skills use the portable SKILL.md format, so Swift Security works with Claude Code, OpenClaw, Codex, Hermes, and any other agent that reads SKILL.md skills.

Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger →
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger →
Turn any website into LLM-ready data with Firecrawl logoTurn any website into LLM-ready data with Firecrawl

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits plus 10% off through our link.

Try Firecrawl free →
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now →
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free →
Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger →
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger →
Turn any website into LLM-ready data with Firecrawl logoTurn any website into LLM-ready data with Firecrawl

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits plus 10% off through our link.

Try Firecrawl free →
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now →
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free →
Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger →
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger →
Turn any website into LLM-ready data with Firecrawl logoTurn any website into LLM-ready data with Firecrawl

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits plus 10% off through our link.

Try Firecrawl free →
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now →
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free →
View on GitHub

Recommended skills

Browse all →
find-skills logo

find-skills

vercel-labs/skills

2.7M installsInstall
frontend-design logo

frontend-design

anthropics/skills

719K installsInstall
grill-me logo

grill-me

mattpocock/skills

698K installsInstall
agent-browser logo

agent-browser

vercel-labs/agent-browser

594K installsInstall
grill-with-docs logo

grill-with-docs

mattpocock/skills

591K installsInstall
vercel-react-best-practices logo

vercel-react-best-practices

vercel-labs/agent-skills

590K installsInstall

Browse

Skills by category

Frontend250Git198Data154Testing120Design105Docs103Security96Automation87Backend76Devops37Productivity29Mcp23

Related guides

Hand-picked reading to help you choose, install, and use agent skills.

GuideBest Security Skills For AI AgentsGuideOpenclaw Bazaar Persistent Memory SkillsGuideBest Openclaw Skills 2026

Remote OpenClaw

AI agent skills directory, marketplace, and workflow hub for OpenClaw, Hermes Agent, Claude Code, Codex, and MCP-powered operator stacks.

The Agent Stack: weekly agent tooling digest, free.

Explore

  • Home
  • Skills Directory
  • Claude Code Skills
  • Codex Skills
  • MCP Clients
  • Marketplace
  • Hermes Ecosystem
  • Free guide
  • Learn
  • OpenClaw for Creators
  • OpenClaw for Founders
  • Blog
  • The Agent Stack (Digest)

More

  • Submit a Tool
  • Advertise
  • Playbook
  • Free Tools
  • API
  • Shipping
  • Contact
  • Terms
  • Privacy

Know a company that should advertise here? Refer them and earn 10% — up to $300 per referral.

© 2026 Remote OpenClaw
Fazier badgeFeatured on Twelve ToolsFeatured on Wired BusinessRemote OpenClaw - Featured on AI Agents DirectoryListed on Turbo0Featured on Uneed