swiftly-bin
The package downloads prebuilt binaries from the official Swift project's download domain (download.swift.org), which is a legitimate and expected source; despite the static analyzer flag for a non-standard host, this is a normal distribution method for Swift tools, and the binaries are verified via provided sha256 checksums.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads prebuilt binaries from the official Swift project's download domain (download.swift.org), which is a legitimate and expected source; despite the static analyzer flag for a non-standard host, this is a normal distribution method for Swift tools, and the binaries are verified via provided sha256 checksums.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:16
source_x86_64=("https://download.swift.org/${_pkgname}/linux/${_pkgname}-${pkgver}-x86_64.tar.gz")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Mark <speedorama1 at gmail dot com>
_pkgname=swiftly
pkgname=swiftly-bin
pkgver=1.2.0
pkgrel=1
pkgdesc="A Swift toolchain installer and manager, written in Swift."
arch=('x86_64' 'aarch64')
url="https://swiftlang.github.io/swiftly/"
license=('apache')
depends=('util-linux-libs' 'libxml2-legacy' 'ncurses' 'gcc')
optdepends=('python39: required for REPL' 'gnupg: required for toolchain verification')
options=('!strip')
provides=(swift-language)
conflicts=(swift-language)
source_x86_64=("https://download.swift.org/${_pkgname}/linux/${_pkgname}-${pkgver}-x86_64.tar.gz")
source_aarch64=("https://download.swift.org/${_pkgname}/linux/${_pkgname}-${pkgver}-aarch64.tar.gz")
sha256sums_x86_64=('0b26b568811404374c7d7f07276b6aad4145db5d1893a45f307de6a94ca8d9c3')
sha256sums_aarch64=('590d855e03807791f1b84aab77471bf7e31f9e3b22151972526077da296ecf96')
package() {
install -D -m 0755 ${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
# setting up symlinks to existing ncurses libs (no ncurses5-compat-libs needed!)
mkdir -p ${pkgdir}/usr/lib
ln -s /usr/lib/libncursesw.so.6 ${pkgdir}/usr/lib/libncurses.so.6
ln -s /usr/lib/libformw.so.6 ${pkgdir}/usr/lib/libform.so.6
ln -s /usr/lib/libpanelw.so.6 ${pkgdir}/usr/lib/libpanel.so.6
echo "This package is meant to be used with RHEL 9 (ubi9) Swift releases."
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |
| 2026-10-12 00:18:51 | Low | 2 |