polify-bin

MEDIUM
maintainer drzoidberg 1 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a prebuilt binary tarball from a non-standard, non-whitelisted host (hut.buildr.fun) with a SKIP'd checksum for the signature, posing a supply-chain risk if the host is compromised or malicious.

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=("polify-${pkgver}-linux-x86_64.tar.zst::https://hut.buildr.fun/api/apps/Polify/latest/linux/x86_64/tar.zst"
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 85%): The package downloads a prebuilt binary tarball from a non-standard, non-whitelisted host (hut.buildr.fun) with a SKIP'd checksum for the signature, posing a supply-chain risk if the host is compromised or malicious.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: drzoidberg <drzoidberg+aur@cloudblock.dev>
2#
3# Binary release PKGBUILD for polify-bin on AUR.
4# Source URLs use buildhut stable redirect endpoints.
5# The CI publish-aur-bin task updates pkgver, sha256sums, and b2sums
6# after each successful build before pushing to AUR.
7
8pkgname=polify-bin
9pkgver=1.0.0
10pkgrel=1
11pkgdesc="Cross-platform music manager with multi-source library, audio fingerprinting, and ID3 tag editing"
12arch=('x86_64')
13url="https://hut.buildr.fun/apps/Polify"
14license=('MIT')
15depends=('gtk3' 'libepoxy' 'xz' 'mpv' 'ffmpeg' 'sqlite' 'libsecret'
16 'gstreamer' 'gst-plugins-base' 'gst-plugins-good' 'gst-libav'
17 'libayatana-appindicator' 'flac' 'opus' 'libogg' 'libvorbis')
18makedepends=('patchelf')
19provides=('polify')
20conflicts=('polify' 'polify-git')
21validpgpkeys=('EF27591A48D4B6F7C7E55F49EC8E0E98E7C13D19')
22source=("polify-${pkgver}-linux-x86_64.tar.zst::https://hut.buildr.fun/api/apps/Polify/latest/linux/x86_64/tar.zst"
23 "polify-${pkgver}-linux-x86_64.tar.zst.sig::https://hut.buildr.fun/api/apps/Polify/latest/linux/x86_64/tar.zst/signature")
24sha256sums=('58f41983f4ad33a794781a1314a812889e7f357493c4de9c9e5a816293072904'
25 'SKIP')
26b2sums=('e123e10117960b55eaecbb1f8f68b6875ca290298ce04b6daba8218922369ae3af110168f3af6b7eac88f3ec764e86d1524e6c583d3c58b785870119f48d67b6'
27 'SKIP')
28
29# Expected tarball layout (from make release):
30# bundle/ — Flutter Linux release bundle contents (includes onnxruntime libs)
31# polify.desktop — XDG desktop entry
32# polify.png — Application icon
33
34package() {
35 cd "$srcdir"
36
37 # Application bundle
38 install -d "$pkgdir/usr/lib/polify"
39 cp -a bundle/* "$pkgdir/usr/lib/polify/"
40 chmod -R 755 "$pkgdir/usr/lib/polify"
41
42 # Replace link-time canonical appindicator with ayatana.
43 # The CI may link against libappindicator3 but the runtime code
44 # dlopens libayatana-appindicator3 first — mixing both causes segfaults.
45 patchelf --replace-needed libappindicator3.so.1 libayatana-appindicator3.so.1 \
46 "$pkgdir/usr/lib/polify/lib/libsystem_tray_plugin.so" 2>/dev/null || true
47
48 # Replace Debian-style vorbis sonames with Arch sonames
49 patchelf --replace-needed libvorbis.so.0.4.9 libvorbis.so.0 \
50 "$pkgdir/usr/lib/polify/lib/libflutter_soloud_plugin.so" 2>/dev/null || true
51 patchelf --replace-needed libvorbisfile.so.3.3.8 libvorbisfile.so.3 \
52 "$pkgdir/usr/lib/polify/lib/libflutter_soloud_plugin.so" 2>/dev/null || true
53
54 # Fix RUNPATH: remove build directory references so the linker finds
55 # co-located libraries in $ORIGIN (the lib/ directory)
56 # - Main binary: needs $ORIGIN/lib to find plugins
57 # - Plugin .so files: need $ORIGIN to find co-located libraries
58 patchelf --set-rpath '$ORIGIN/lib' "$pkgdir/usr/lib/polify/polify" 2>/dev/null || true
59 find "$pkgdir/usr/lib/polify/lib" -type f \( -name '*.so' -o -name '*.so.*' \) \
60 -exec patchelf --set-rpath '$ORIGIN' {} + 2>/dev/null || true
61
62 # Strip debug symbols and unneeded metadata
63 find "$pkgdir/usr/lib/polify" -type f \( -name '*.so' -o -name '*.so.*' \
64 -o -not -name '*.*' \) -exec strip --strip-unneeded {} + 2>/dev/null || true
65
66 # Symlink to /usr/bin
67 install -d "$pkgdir/usr/bin"
68 ln -s /usr/lib/polify/polify "$pkgdir/usr/bin/polify"
69
70 # Desktop entry and icon
71 install -Dm644 polify.desktop "$pkgdir/usr/share/applications/polify.desktop"
72 install -Dm644 polify.png "$pkgdir/usr/share/pixmaps/polify.png"
73}
74

Changes since previous scan

--- PKGBUILD @ 2026-10-20 00:10
+++ PKGBUILD @ 2026-11-01 00:21
@@ -10,7 +10,7 @@
pkgrel=1
pkgdesc="Cross-platform music manager with multi-source library, audio fingerprinting, and ID3 tag editing"
arch=('x86_64')
-url="https://buildhut.fly.dev/apps/Polify"
+url="https://hut.buildr.fun/apps/Polify"
license=('MIT')
depends=('gtk3' 'libepoxy' 'xz' 'mpv' 'ffmpeg' 'sqlite' 'libsecret'
'gstreamer' 'gst-plugins-base' 'gst-plugins-good' 'gst-libav'
@@ -19,11 +19,11 @@
provides=('polify')
conflicts=('polify' 'polify-git')
validpgpkeys=('EF27591A48D4B6F7C7E55F49EC8E0E98E7C13D19')
-source=("polify-${pkgver}-linux-x86_64.tar.zst::https://buildhut.fly.dev/api/apps/Polify/latest/linux/x86_64/tar.zst"
- "polify-${pkgver}-linux-x86_64.tar.zst.sig::https://buildhut.fly.dev/api/apps/Polify/latest/linux/x86_64/tar.zst/signature")
-sha256sums=('SKIP'
+source=("polify-${pkgver}-linux-x86_64.tar.zst::https://hut.buildr.fun/api/apps/Polify/latest/linux/x86_64/tar.zst"
+ "polify-${pkgver}-linux-x86_64.tar.zst.sig::https://hut.buildr.fun/api/apps/Polify/latest/linux/x86_64/tar.zst/signature")
+sha256sums=('58f41983f4ad33a794781a1314a812889e7f357493c4de9c9e5a816293072904'
'SKIP')
-b2sums=('SKIP'
+b2sums=('e123e10117960b55eaecbb1f8f68b6875ca290298ce04b6daba8218922369ae3af110168f3af6b7eac88f3ec764e86d1524e6c583d3c58b785870119f48d67b6'
'SKIP')
# Expected tarball layout (from make release):

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 07:27:55 Medium 2
2026-10-20 00:10:31 Low 2
2026-10-19 15:25:12 Medium 1
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

Report a package

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

0 / 4000
Your suggestion