sofa-server

maintainer yochananmarqos · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary .deb from flavio.tordini.org, which is the upstream developer's personal domain (matching the project URL), not a random third-party host. The sha256sum is pinned, which mitigates casual tampering. However, this is still a prebuilt binary from a personal/unofficial host rather than a distro repository or well-known code forge, and the binary is extracted and installed directly into the system (Qt5 application with GNOME Shell integration, systemd, avahi). If the host were compromised or the binary swapped, the sha256 would catch it only if the attacker cannot also update the PKGBUILD. The pattern is a legitimate upstream distribution method for a small project, but the supply-chain risk of an unverified prebuilt binary from a personal server is real and warrants medium severity — not high because there is no obfuscation, no post-install script executing remote code, and the hash is pinned.

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:22 source=("$pkgname-$pkgver.deb::https://flavio.tordini.org/files/sofa/$pkgname.deb")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt binary .deb from flavio.tordini.org, which is the upstream developer's personal domain (matching the project URL), not a random third-party host. The sha256sum is pinned, which mitigates casual tampering. However, this is still a prebuilt binary from a personal/unofficial host rather than a distro repository or well-known code forge, and the binary is extracted and installed directly into the system (Qt5 application with GNOME Shell integration, systemd, avahi). If the host were compromised or the binary swapped, the sha256 would catch it only if the attacker cannot also update the PKGBUILD. The pattern is a legitimate upstream distribution method for a small project, but the supply-chain risk of an unverified prebuilt binary from a personal server is real and warrants medium severity — not high because there is no obfuscation, no post-install script executing remote code, and the hash is pinned.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
2
3# Check for new version (currently not working):
4# curl -s https://flavio.tordini.org/sofa-server-ws/release.xml | tr -dc 0-9.
5
6pkgname=sofa-server
7pkgver=1.5
8pkgrel=1
9pkgdesc="Turn your phone or tablet into a remote control for your GNOME desktop."
10arch=('x86_64')
11url="https://flavio.tordini.org/sofa"
12license=('LicenseRef-unknown')
13depends=(
14 'avahi'
15 'gnome-shell'
16 'libnotify'
17 'qt5-base'
18 'qt5-imageformats'
19 'qt5-websockets'
20 'systemd'
21)
22source=("$pkgname-$pkgver.deb::https://flavio.tordini.org/files/sofa/$pkgname.deb")
23sha256sums=('a93284b71fdbe987ede0fb32dbf093882a4e8cb254fa0b9392bc3a41d15170ab')
24
25package() {
26 bsdtar xvf "data.tar.xz" -C "$pkgdir/"
27
28 rm -rf "$pkgdir/usr/share/menu/"
29 rm "$pkgdir/usr/share/$pkgname/scripts/.DS_Store"
30}
31

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