# \#security

**URL:** https://forums.swift.org/tag/security/593.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Crowdsourced code review system](https://forums.swift.org/t/crowdsourced-code-review-system/85795)

<div class="topic-metadata">

**Author:** [@matthewruzzi](https://forums.swift.org/u/matthewruzzi)\
**Replies:** 5\
**Last updated:** [August 12, 2026, 3:05am UTC](https://forums.swift.org/t/crowdsourced-code-review-system/85795 "2026-08-12T03:05:11Z")

</div>

There have been a very concerning number of supply chain attacks recently in other package ecosystems. I think that one of the best ways to solve this would be to have a crowdsourced system for manual code review with a …

---

## [SwiftNIO SSH: Unauthenticated out-of-bounds stack write via oversized ECDSA signature in swift-nio-ssh (CVE-2026-43798)](https://forums.swift.org/t/swiftnio-ssh-unauthenticated-out-of-bounds-stack-write-via-oversized-ecdsa-signature-in-swift-nio-ssh-cve-2026-43798/88404)

<div class="topic-metadata">

**Author:** [@rafaelcepeda](https://forums.swift.org/u/rafaelcepeda)\
**Replies:** 1\
**Last updated:** [July 20, 2026, 8:00pm UTC](https://forums.swift.org/t/swiftnio-ssh-unauthenticated-out-of-bounds-stack-write-via-oversized-ecdsa-signature-in-swift-nio-ssh-cve-2026-43798/88404 "2026-07-20T20:00:13Z")

</div>

TL;DR: Users of SwiftNIO SSH should update to 0.14.1 as soon as possible. SwiftNIO SSH has a security vulnerability where an unauthenticated attacker can write data out of bounds on the stack. This happens because the s…

---

## [Does Swift have a cross platform secret manager?](https://forums.swift.org/t/does-swift-have-a-cross-platform-secret-manager/88087)

<div class="topic-metadata">

**Author:** [@thePianoKid](https://forums.swift.org/u/thePianoKid)\
**Replies:** 1\
**Last updated:** [July 6, 2026, 11:26pm UTC](https://forums.swift.org/t/does-swift-have-a-cross-platform-secret-manager/88087 "2026-07-06T23:26:04Z")

</div>

I'm looking for something similar to Rust's keyring in Swift. Does that exist? If not, let me know if you're interested in a package that does this.

---

## [KeyringAccess: A simple, pure Swift way to store sensitive data in Linux Apps](https://forums.swift.org/t/keyringaccess-a-simple-pure-swift-way-to-store-sensitive-data-in-linux-apps/86721)

<div class="topic-metadata">

**Author:** [@MiaKoring](https://forums.swift.org/u/MiaKoring)\
**Replies:** 2\
**Last updated:** [June 8, 2026, 3:47pm UTC](https://forums.swift.org/t/keyringaccess-a-simple-pure-swift-way-to-store-sensitive-data-in-linux-apps/86721 "2026-06-08T15:47:40Z")

</div>

Repository Link TLDR If you needed a simple way to securely store credentials from your app on desktop linux, without system dependencies, here you go. Why The Swift ecosystem for apps on Apple devices is quite establi…

---

## [Security release: SwiftNIO 2.100.0, SwiftNIO HTTP/2 1.44.0, SwiftNIO Extras 1.34.1](https://forums.swift.org/t/security-release-swiftnio-2-100-0-swiftnio-http-2-1-44-0-swiftnio-extras-1-34-1/86873)

<div class="topic-metadata">

**Author:** [@fabianfett](https://forums.swift.org/u/fabianfett)\
**Replies:** 0\
**Last updated:** [May 21, 2026, 6:31pm UTC](https://forums.swift.org/t/security-release-swiftnio-2-100-0-swiftnio-http-2-1-44-0-swiftnio-extras-1-34-1/86873 "2026-05-21T18:31:17Z")

</div>

Hi everyone, We have released security fixes today across the SwiftNIO family. We recommend that all users upgrade as soon as possible. Package Fixed version swift-nio 2.100.0 swift-nio-http2 1.44.0 swift-n…

---

## [FaceBridge: Cross-device biometric authorization using Secure Enclave (macOS + iOS)](https://forums.swift.org/t/facebridge-cross-device-biometric-authorization-using-secure-enclave-macos-ios/85709)

<div class="topic-metadata">

**Author:** [@wesleysfavarin](https://forums.swift.org/u/wesleysfavarin)\
**Replies:** 1\
**Last updated:** [March 30, 2026, 11:09pm UTC](https://forums.swift.org/t/facebridge-cross-device-biometric-authorization-using-secure-enclave-macos-ios/85709 "2026-03-30T23:09:25Z")

</div>

Hi everyone, I’d like to share an experimental security project I’ve been working on called FaceBridge. FaceBridge is an open-source prototype that explores biometric authorization between macOS and iPhone using only p…

---

## [LeafKit 1.14.2: Properly HTML-escape collection values](https://forums.swift.org/t/leafkit-1-14-2-properly-html-escape-collection-values/85340)

<div class="topic-metadata">

**Author:** [@gwynne](https://forums.swift.org/u/gwynne)\
**Replies:** 0\
**Last updated:** [March 14, 2026, 1:08am UTC](https://forums.swift.org/t/leafkit-1-14-2-properly-html-escape-collection-values/85340 "2026-03-14T01:08:57Z")

</div>

LeafKit 1.14.2 has just been released to address a vulnerability where values of array or dictionary type would not be HTML-escaped when used in Leaf variable substitution tags, allowing XSS injection if the content of t…

---

## [SwiftKeychainKit: An iOS/macOS Keychain library designed around strict concurrency and non-copyable types](https://forums.swift.org/t/swiftkeychainkit-an-ios-macos-keychain-library-designed-around-strict-concurrency-and-non-copyable-types/85074)

<div class="topic-metadata">

**Author:** [@Dev42](https://forums.swift.org/u/Dev42)\
**Replies:** 2\
**Last updated:** [March 2, 2026, 5:47am UTC](https://forums.swift.org/t/swiftkeychainkit-an-ios-macos-keychain-library-designed-around-strict-concurrency-and-non-copyable-types/85074 "2026-03-02T05:47:58Z")

</div>

I've been building native iOS apps since 2008 (when Apple released the first native SDK) and have never once used Apple's Keychain APIs directly. Neither have most developers I know, everyone reaches for a wrapper. Over…

---

## [Proposal: Add Secure Memory Management API for Sensitive Data in Swift](https://forums.swift.org/t/proposal-add-secure-memory-management-api-for-sensitive-data-in-swift/80550)

<div class="topic-metadata">

**Author:** [@Karmaz95](https://forums.swift.org/u/Karmaz95)\
**Replies:** 2\
**Last updated:** [June 23, 2025, 7:28pm UTC](https://forums.swift.org/t/proposal-add-secure-memory-management-api-for-sensitive-data-in-swift/80550 "2025-06-23T19:28:30Z")

</div>

Hi, Swift currently lacks a built-in secure memory abstraction similar to C#'s SecureString for handling sensitive data like passwords, API keys, and cryptographic secrets. This forces developers to either: Use Swift'…

---

## [Using a tiny multiplatform binary target to hide API keys and secrets](https://forums.swift.org/t/using-a-tiny-multiplatform-binary-target-to-hide-api-keys-and-secrets/80592)

<div class="topic-metadata">

**Author:** [@shawnthroop](https://forums.swift.org/u/shawnthroop)\
**Replies:** 1\
**Last updated:** [June 21, 2025, 5:35pm UTC](https://forums.swift.org/t/using-a-tiny-multiplatform-binary-target-to-hide-api-keys-and-secrets/80592 "2025-06-21T17:35:05Z")

</div>

I’ve been thinking about how best to best store basic API keys and a private key for signing requests I make to a Linode VPS for a small apns database/server app. One idea is to use On-Demand resources which get loaded a…

---

## [Introducing SwiftSecurity: Type-safe Swift APIs for Apple Security framework](https://forums.swift.org/t/introducing-swiftsecurity-type-safe-swift-apis-for-apple-security-framework/71532)

<div class="topic-metadata">

**Author:** [@dm\_zharov](https://forums.swift.org/u/dm_zharov)\
**Replies:** 0\
**Last updated:** [April 30, 2024, 6:47am UTC](https://forums.swift.org/t/introducing-swiftsecurity-type-safe-swift-apis-for-apple-security-framework/71532 "2024-04-30T06:47:12Z")

</div>

SwiftSecurity SwiftSecurity is a modern Swift API for Apple Security framework (Keychain API, SharedWebCredentials API, etc). Why should I use this one? Supports every Keychain item class (Generic & Internet Password,…

---

## [Swift-nio-http2 security update: CVE-2023-44487 HTTP/2 DOS](https://forums.swift.org/t/swift-nio-http2-security-update-cve-2023-44487-http-2-dos/67764)

<div class="topic-metadata">

**Author:** [@lukasa](https://forums.swift.org/u/lukasa)\
**Replies:** 1\
**Last updated:** [October 10, 2023, 9:03pm UTC](https://forums.swift.org/t/swift-nio-http2-security-update-cve-2023-44487-http-2-dos/67764 "2023-10-10T21:03:19Z")

</div>

TL;DR: If you run a publicly accessible HTTP/2 server using swift-nio-http2, please update to 1.28.0 immediately. If you run any other HTTP/2 server using swift-nio-http2, please update to 1.28.0 as soon as practical. s…

---

## [Beta testers wanted: Get a sneak peek at GitHub’s code scanning support for Swift!](https://forums.swift.org/t/beta-testers-wanted-get-a-sneak-peek-at-github-s-code-scanning-support-for-swift/64632)

<div class="topic-metadata">

**Author:** [@turbo](https://forums.swift.org/u/turbo)\
**Replies:** 11\
**Last updated:** [June 2, 2023, 1:27pm UTC](https://forums.swift.org/t/beta-testers-wanted-get-a-sneak-peek-at-github-s-code-scanning-support-for-swift/64632 "2023-06-02T13:27:13Z")

</div>

:wave: Pierre from GitHub here. What’s happening? On June 1 2023, just ahead of WWDC 23, GitHub is adding Swift support to a number of our Advanced Security features: GitHub code scanning support for Swift enters pub…

---

## [How to secure request headers?](https://forums.swift.org/t/how-to-secure-request-headers/61798)

<div class="topic-metadata">

**Author:** [@xbladesub](https://forums.swift.org/u/xbladesub)\
**Replies:** 2\
**Last updated:** [December 6, 2022, 3:53pm UTC](https://forums.swift.org/t/how-to-secure-request-headers/61798 "2022-12-06T15:53:43Z")

</div>

How can I secure request headers from being exposed using Proxyman? I can easily get an access to api tokens and any credentials that my app sends to my back-end. I'd like to know is there any way to secure headers/body …

---

## [Is Swift vulnerable to Trojan Source attacks?](https://forums.swift.org/t/is-swift-vulnerable-to-trojan-source-attacks/53205)

<div class="topic-metadata">

**Author:** [@Oliver\_Jones](https://forums.swift.org/u/Oliver_Jones)\
**Replies:** 7\
**Last updated:** [November 1, 2021, 5:24pm UTC](https://forums.swift.org/t/is-swift-vulnerable-to-trojan-source-attacks/53205 "2021-11-01T17:24:21Z")

</div>

Came across this article regarding Trojan Sources (https://trojansource.codes/trojan-source.pdf). Curious if the Swift compiler (and Xcode) are vulnerable to this sort of attack?
