Swift Security

Open-source Swift projects categorized as Security

Top 23 Swift Security Projects

  • CryptoSwift

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

  • KeychainAccess

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

    Project mention: How can I share data from one View Model to another? | /r/SwiftUI | 2023-03-31
  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • secretive

    Store SSH keys in the Secure Enclave

    Project mention: Zero Effort Private Key Compromise: Abusing SSH-Agent for Lateral Movement | news.ycombinator.com | 2023-09-15

    Good find! I was always curious how this worked.

    I'm a big fan of tools like secretive[1] that can help solve this problem by using biometrics to shift the UX/security trade-off and thus make it feasible to always require some kind of authentication to sign a token with a key.

    I'm not aware of any tools that do the same for Linux, and a quick Google search doesn't turn up much[2]. It does look like you can at least get a notification[3], though.

    This could provide another layer of protection on the user's endpoint device in addition the network monitoring called out in the article. Defense in depth, and all that.

    [1] https://github.com/maxgoedjen/secretive

    [2] https://unix.stackexchange.com/questions/705144/unlock-an-ss...

    [3] https://www.insecure.ws/2013/09/25/ssh-agent-notification.ht...

  • Valet

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

    Project mention: Valet: NEW Data - star count:3884.0 | /r/algoprojects | 2023-08-15
  • RNCryptor

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

  • wire-ios

    📱 Wire for iOS (iPhone and iPad)

    Project mention: IamA 22 year old girl in Iran where they killed Mahsa Amini and people are protesting against the regime.AMA! | /r/IAmA | 2022-09-25

    A better alternative to Signal is Wire https://wire.com/download

  • Locksmith

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

  • Mergify

    Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.

  • keychain-swift

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

  • SwiftShield

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

  • SwiftyRSA

    RSA public/private key encryption in Swift

  • BiometricAuthentication

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

  • SwCrypt

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

    Project mention: The param 'client_id' has an invalid value not working with Noti on Mac | /r/PushBullet | 2023-03-19

    platform :osx, '10.15' use_frameworks! source 'https://github.com/CocoaPods/Specs.git' source 'https://github.com/soyersoyer/SwCrypt.git' target 'Noti' do pod 'Starscream', '~> 3.0.6' pod 'SwiftyJSON', '~> 4.0.0' pod 'Alamofire', '~> 4.0.1' pod 'Sparkle', '~> 1.14.0' pod 'CryptoSwift', '~> 0.8.3' pod 'SwCrypt', '~> 5.1.3' pod 'EMCLoginItem', '~> 1.0.2' pod 'SwiftyBeaver', '~> 1.9.5' end

  • SwiftPasscodeLock

    An iOS passcode lock with TouchID authentication written in Swift.

  • Smile-Lock

    A library for make a beautiful Passcode Lock View

  • SimpleKeychain

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

  • IDZSwiftCommonCrypto

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

  • SecurePropertyStorage

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

  • Heimdall

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

  • ios-app

    Official IVPN iOS app

    Project mention: Custom DNS with IVPN causes issues on IOS | /r/IVPN | 2023-07-12

    More info: https://github.com/ivpn/ios-app/issues/131

  • CommonCrypto.swift

    :trident: CommonCrypto in Swift, and more

  • pareto-mac

    Automatically audit your Mac for basic security hygiene.

    Project mention: Radio Silence alternatives? Or should I go with it | /r/macapps | 2023-01-29

    You can try Pareto Security https://paretosecurity.com

  • ScreenshotPreventing-iOS

    Prevent screenshot or screenrecording on iOS devices

    Project mention: Apple wake up! | /r/swift | 2023-05-31

    There is only one normal solution which is free is the git hub library under this

  • SipHash

    Simple and secure hashing in Swift with the SipHash algorithm (by attaswift)

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

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). The latest post mention was on 2023-09-15.

Swift Security related posts

Index

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

Project Stars
1 CryptoSwift 9,772
2 KeychainAccess 7,526
3 secretive 6,146
4 Valet 3,903
5 RNCryptor 3,341
6 wire-ios 3,210
7 Locksmith 2,919
8 keychain-swift 2,521
9 SwiftShield 2,199
10 SwiftyRSA 1,186
11 BiometricAuthentication 814
12 SwCrypt 709
13 SwiftPasscodeLock 675
14 Smile-Lock 605
15 SimpleKeychain 485
16 IDZSwiftCommonCrypto 475
17 SecurePropertyStorage 466
18 Heimdall 398
19 ios-app 333
20 CommonCrypto.swift 283
21 pareto-mac 275
22 ScreenshotPreventing-iOS 265
23 SipHash 263
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
www.sonarqube.org