lafifi-bin
maintainer drzoidberg
· 1 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
The package downloads a prebuilt binary from a non-standard, untrusted host (buildhut.fly.dev), which is not a well-known or official release domain, and uses SKIP for checksums, making the source unverifiable and potentially swappable.
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:21
source=("lafifi-${pkgver}-linux-x86_64.tar.zst::https://buildhut.fly.dev/api/apps/Lafifi/latest/linux/x86_64/tar.zst"
MEDIUM
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt binary from a non-standard, untrusted host (buildhut.fly.dev), which is not a well-known or official release domain, and uses SKIP for checksums, making the source unverifiable and potentially swappable.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: director <noreply@devbulle>
2
#
3
# Binary release PKGBUILD for lafifi-bin on AUR.
4
# Source URLs use buildhut stable redirect endpoints.
5
# The CI publish-aur-bin task updates pkgver before pushing to AUR.
6
7
pkgname=lafifi-bin
8
pkgver=0.5.4
9
pkgrel=1
10
pkgdesc="Multi-chain, multi-wallet crypto portfolio tracker – prebuilt binary"
11
arch=('x86_64')
12
url="https://buildhut.fly.dev/apps/lafifi"
13
license=('MIT')
14
depends=('gtk3' 'libepoxy' 'xz' 'sqlite' 'libsecret'
15
'gstreamer' 'gst-plugins-base' 'gst-plugins-good' 'gst-libav'
16
'libayatana-appindicator')
17
makedepends=('patchelf')
18
provides=('lafifiv3')
19
conflicts=('lafifiv3' 'lafifi-flutter-git')
20
validpgpkeys=('EF27591A48D4B6F7C7E55F49EC8E0E98E7C13D19')
21
source=("lafifi-${pkgver}-linux-x86_64.tar.zst::https://buildhut.fly.dev/api/apps/Lafifi/latest/linux/x86_64/tar.zst"
22
"lafifi-${pkgver}-linux-x86_64.tar.zst.sig::https://buildhut.fly.dev/api/apps/Lafifi/latest/linux/x86_64/tar.zst/signature")
23
sha256sums=('SKIP'
24
'SKIP')
25
b2sums=('SKIP'
26
'SKIP')
27
28
# Expected tarball layout (from make release):
29
# bundle/ — Flutter Linux release bundle contents
30
# lafifi.desktop — XDG desktop entry
31
# lafifi.png — Application icon
32
33
package() {
34
cd "$srcdir"
35
36
# Application bundle
37
install -d "$pkgdir/usr/lib/lafifiv3"
38
cp -a bundle/* "$pkgdir/usr/lib/lafifiv3/"
39
chmod -R 755 "$pkgdir/usr/lib/lafifiv3"
40
41
# Fix RUNPATH: remove build directory references so the linker finds
42
# co-located libraries in $ORIGIN (the lib/ directory)
43
patchelf --set-rpath '$ORIGIN/lib' "$pkgdir/usr/lib/lafifiv3/lafifiv3" 2>/dev/null || true
44
find "$pkgdir/usr/lib/lafifiv3/lib" -type f \( -name '*.so' -o -name '*.so.*' \) \
45
-exec patchelf --set-rpath '$ORIGIN' {} + 2>/dev/null || true
46
47
# Strip debug symbols and unneeded metadata
48
find "$pkgdir/usr/lib/lafifiv3" -type f \( -name '*.so' -o -name '*.so.*' \
49
-o -not -name '*.*' \) -exec strip --strip-unneeded {} + 2>/dev/null || true
50
51
# Symlink to /usr/bin
52
install -d "$pkgdir/usr/bin"
53
ln -s /usr/lib/lafifiv3/lafifiv3 "$pkgdir/usr/bin/lafifiv3"
54
55
# Desktop entry and icon
56
install -Dm644 lafifi.desktop "$pkgdir/usr/share/applications/lafifi.desktop"
57
install -Dm644 lafifi.png "$pkgdir/usr/share/pixmaps/lafifi.png"
58
}
59
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |