nion-swift

maintainer jpierce · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary ZIP from nion.com (the official vendor website for Nion Co.'s NionSwift software), extracts it, and installs a native executable binary directly to /usr/local/NionSwift/NionSwift which is then symlinked into /usr/bin. The source host is the official vendor domain, not a personal or unofficial host, which reduces but does not eliminate risk. However, md5sums=('SKIP') means there is no integrity verification of the downloaded binary — if the upstream host were compromised or the file replaced, users would silently receive a malicious binary. The installed artifact is an executed binary (not pure data), so the lack of checksum verification is a genuine supply-chain concern. This is a textbook medium: prebuilt binary from a vendor host with no checksum verification.

Triggered rules

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:12 source=("${pkgname}.zip::http://nion.com/swift/files/NionSwift_Linux_x64_python3.4m_0.5.7.zip")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 75%): The PKGBUILD downloads a prebuilt binary ZIP from nion.com (the official vendor website for Nion Co.'s NionSwift software), extracts it, and installs a native executable binary directly to /usr/local/NionSwift/NionSwift which is then symlinked into /usr/bin. The source host is the official vendor domain, not a personal or unofficial host, which reduces but does not eliminate risk. However, md5sums=('SKIP') means there is no integrity verification of the downloaded binary — if the upstream host were compromised or the file replaced, users would silently receive a malicious binary. The installed artifact is an executed binary (not pure data), so the lack of checksum verification is a genuine supply-chain concern. This is a textbook medium: prebuilt binary from a vendor host with no checksum verification.

PKGBUILD

1 offending line(s) highlighted
1# Maintianer: Jordan Pierce <jordan.pierce.00@gmail.com>
2pkgname=nion-swift
3pkgver=0.5.7
4pkgrel=1
5pkgdesc="Program developed by Nion Co. for interfacing with electron microscopes and for data analysis."
6arch=('i686' 'x86_64')
7url="http://nion.com/swift/"
8license=('GPL')
9depends=('qt5-base' 'qt5-svg' 'python' 'python-numpy' 'python34')
10makedepend=('unzip')
11# install=$pkgname.install
12source=("${pkgname}.zip::http://nion.com/swift/files/NionSwift_Linux_x64_python3.4m_0.5.7.zip")
13# source=("${pkgname}.zip::http://lythium.uoregon.edu/~jordan/NionSwift_Linux_x64_0.5.1.zip")
14# noextract=("NionSwift_Linux_x64_0.5.1.zip")
15md5sums=("SKIP")
16# pkgdir="/usr/local/"
17
18# build() {
19# cd "$srcdir"
20# msg "Uzipping"
21# unzip ${pkgname}.zip
22# # find . -name "*.pyc" -exec rm -f {} \;
23# }
24
25package() {
26 # cd "$srcdir/NionSwift_python3.4m_0.5.7"
27 # echo "`ls`"
28 mkdir -p $pkgdir/usr/local/
29 cp -Rax $srcdir/NionSwift_python3.4m_0.5.7/ $pkgdir/usr/local/
30 mv $pkgdir/usr/local/NionSwift_python3.4m_0.5.7/ $pkgdir/usr/local/NionSwift
31 # cp -R NionSwift $pkgdir/usr/local/
32 # echo "startdir $startdir"
33 # echo "pkgdir $pkgdir"
34 # echo "`ls $startdir`"
35
36 mkdir -p $pkgdir/usr/share/{applications,pixmaps}
37 install -Dm644 $startdir/nionswift.desktop $pkgdir/usr/share/applications/
38 install -Dm644 $startdir/nionswift.png $pkgdir/usr/share/pixmaps/
39
40 mkdir -p $pkgdir/usr/bin
41 chmod +x $pkgdir/usr/local/NionSwift/NionSwift
42 ln -s $pkgdir/usr/local/NionSwift/NionSwift $pkgdir/usr/bin/NionSwift
43}
44

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 MEDIUM 2

Report a package

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

0 / 4000
Your suggestion