Swift Security

Open-source Swift projects categorized as Security

Top 23 Swift Security Projects

  1. CryptoSwift

    CryptoSwift is a growing collection of standard and secure cryptographic algorithms implemented in Swift

  2. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal logo
  3. secretive

    Protect your SSH keys with your Mac's Secure Enclave

    Project mention: Building and Shipping Mac and iOS Apps Without Ever Opening Xcode | news.ycombinator.com | 2026-07-13

    An alternative is to use ssh keys stored in the Secure Enclave with tools like https://secretive.dev/

  4. KeychainAccess

    Simple Swift wrapper for Keychain that works on iOS, watchOS, tvOS and macOS.

  5. Valet

    Valet lets you securely store data in the iOS, tvOS, watchOS, or macOS Keychain without knowing a thing about how the Keychain works. It’s easy. We promise.

  6. RNCryptor

    CCCryptor (AES encryption) wrappers for iOS and Mac in Swift. -- For ObjC, see RNCryptor/RNCryptor-objc

  7. keychain-swift

    Helper functions for saving text in Keychain securely for iOS, OS X, tvOS and watchOS.

  8. Locksmith

    A powerful, protocol-oriented library for working with the keychain in Swift.

  9. Kargo

    Stop Scripting Promotions. Start Shipping with Kargo. Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.

    Kargo logo
  10. OnionBrowser

    An open-source, privacy-enhancing web browser for iOS, utilizing the Tor anonymity network

  11. SwiftShield

    🔒 Swift Obfuscator that protects iOS apps against reverse engineering attacks.

  12. SwiftyRSA

    RSA public/private key encryption in Swift

  13. Damn-Vulnerable-iOS-App-v2

    Damn Vulnerable iOS App (DVIA) is an iOS application that is damn vulnerable. Its main goal is to provide a platform to mobile security enthusiasts/professionals or students to test their iOS penetration testing skills in a legal environment. This project is developed and maintained by @prateekg147. The vulnerabilities and solutions covered in this app are tested up to iOS 11. The current version is writen in Swift and has the following vulnerabilities.

  14. BiometricAuthentication

    Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication.

  15. 2fas-ios

    Source code for 2FAS Auth iOS app

  16. SwCrypt

    RSA public/private key generation, RSA, AES encryption/decryption, RSA sign/verify in Swift with CommonCrypto in iOS and OS X

  17. SimpleKeychain

    A simple Keychain wrapper for iOS, macOS, tvOS, and watchOS

  18. SwiftPasscodeLock

    An iOS passcode lock with TouchID authentication written in Swift.

  19. Smile-Lock

    A library for make a beautiful Passcode Lock View

  20. ios-app

    Official IVPN iOS app

  21. IDZSwiftCommonCrypto

    A wrapper for Apple's Common Crypto library written in Swift.

  22. SecurePropertyStorage

    Helps you define secure storages for your properties using Swift property wrappers.

  23. pareto-mac

    Automatically audit your Mac for basic security hygiene.

  24. ScreenshotPreventing-iOS

    Prevent screenshot or screenrecording on iOS devices

  25. Heimdall

    Heimdall is a wrapper around the Security framework for simple encryption/decryption operations. (by henrinormak)

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Swift Security discussion

Log in or Post with

Swift Security related posts

  • 保护 API Key 和其他应用密钥

    1 project | dev.to | 14 Aug 2026
  • Hardware protection for your private keys

    1 project | news.ycombinator.com | 6 May 2025
  • Secretive: macOS app for storing SSH keys in the Secure Enclave

    1 project | news.ycombinator.com | 25 Jan 2025
  • Apple Announces Changes to iOS, Safari, and the App Store in the European Union

    6 projects | news.ycombinator.com | 25 Jan 2024
  • Iphone Vs Android

    2 projects | /r/rareinsults | 7 Dec 2023
  • WidgetKit + REST authentication

    1 project | /r/iOSProgramming | 5 Dec 2023
  • We've learned nothing from the SolarWinds hack

    2 projects | news.ycombinator.com | 13 Nov 2023
  • A note from our sponsor - Kargo
    akuity.io | 5 Sep 2026
    Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now. Learn more →

Index

What are some of the best open-source Security projects in Swift? This list will help you:

# Project Stars
1 CryptoSwift 10,572
2 secretive 8,842
3 KeychainAccess 8,254
4 Valet 4,175
5 RNCryptor 3,359
6 keychain-swift 3,012
7 Locksmith 2,913
8 OnionBrowser 2,670
9 SwiftShield 2,544
10 SwiftyRSA 1,303
11 Damn-Vulnerable-iOS-App-v2 1,092
12 BiometricAuthentication 828
13 2fas-ios 749
14 SwCrypt 732
15 SimpleKeychain 726
16 SwiftPasscodeLock 677
17 Smile-Lock 594
18 ios-app 567
19 IDZSwiftCommonCrypto 479
20 SecurePropertyStorage 473
21 pareto-mac 454
22 ScreenshotPreventing-iOS 405
23 Heimdall 399

Sponsored
Monitoring that respects your time & budget
APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
www.appsignal.com

Did you know that Swift is
the 11th most popular programming language
based on number of references?