swiftly-bin

LOW
maintainer speedorama 5 votes scanned 2026-10-31 00:07:41.364992
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
Medium source=() URL on a non-standard host 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
1# Maintainer: Mark <speedorama1 at gmail dot com>
2
3_pkgname=swiftly
4pkgname=swiftly-bin
5pkgver=1.2.0
6pkgrel=1
7pkgdesc="A Swift toolchain installer and manager, written in Swift."
8arch=('x86_64' 'aarch64')
9url="https://swiftlang.github.io/swiftly/"
10license=('apache')
11depends=('util-linux-libs' 'libxml2-legacy' 'ncurses' 'gcc')
12optdepends=('python39: required for REPL' 'gnupg: required for toolchain verification')
13options=('!strip')
14provides=(swift-language)
15conflicts=(swift-language)
16source_x86_64=("https://download.swift.org/${_pkgname}/linux/${_pkgname}-${pkgver}-x86_64.tar.gz")
17source_aarch64=("https://download.swift.org/${_pkgname}/linux/${_pkgname}-${pkgver}-aarch64.tar.gz")
18sha256sums_x86_64=('0b26b568811404374c7d7f07276b6aad4145db5d1893a45f307de6a94ca8d9c3')
19sha256sums_aarch64=('590d855e03807791f1b84aab77471bf7e31f9e3b22151972526077da296ecf96')
20
21package() {
22 install -D -m 0755 ${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
23
24 # setting up symlinks to existing ncurses libs (no ncurses5-compat-libs needed!)
25 mkdir -p ${pkgdir}/usr/lib
26 ln -s /usr/lib/libncursesw.so.6 ${pkgdir}/usr/lib/libncurses.so.6
27 ln -s /usr/lib/libformw.so.6 ${pkgdir}/usr/lib/libform.so.6
28 ln -s /usr/lib/libpanelw.so.6 ${pkgdir}/usr/lib/libpanel.so.6
29
30 echo "This package is meant to be used with RHEL 9 (ubi9) Swift releases."
31}
32

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion