zerx-lab-fluxdown-bin

LOW
maintainer sec-lab 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt binary from the project's own domain, which is not on a standard whitelist but is plausibly official; the binary is installed as-is, but there is no evidence of obfuscation or remote code execution, and the source matches the project's stated origin.

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 a prebuilt binary from the project's own domain, which is not on a standard whitelist but is plausibly official; the binary is installed as-is, but there is no evidence of obfuscation or remote code execution, and the source matches the project's stated origin.

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:38 source_x86_64=("FluxDown-${pkgver}-linux-x64.tar.gz::https://fluxdown.zerx.dev/api/download/FluxDown-${pkgver}-linux-x64.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: zero <zero@localhost>
2# Automatically updated by GitHub Actions
3
4pkgname=zerx-lab-fluxdown-bin
5pkgver=0.4.7
6pkgrel=1
7pkgdesc="FluxDown - Rust 驱动的多协议下载管理器(HTTP/FTP/BitTorrent)"
8arch=('x86_64')
9url="https://fluxdown.zerx.dev"
10license=('LicenseRef-proprietary')
11depends=(
12 'at-spi2-core'
13 'cairo'
14 'fontconfig'
15 'gdk-pixbuf2'
16 'glib2'
17 'glibc'
18 'gtk3'
19 'harfbuzz'
20 'hicolor-icon-theme'
21 'libayatana-appindicator'
22 'libepoxy'
23 'libgcc'
24 'libnotify'
25 'libsecret'
26 'libstdc++'
27 'libxss'
28 'libxtst'
29 'nss'
30 'openssl'
31 'pango'
32 'xdg-utils'
33)
34provides=('fluxdown')
35conflicts=('fluxdown')
36options=('!strip')
37
38source_x86_64=("FluxDown-${pkgver}-linux-x64.tar.gz::https://fluxdown.zerx.dev/api/download/FluxDown-${pkgver}-linux-x64.tar.gz")
39sha256sums_x86_64=('cfe76fe05429a7f5bfb4b23def106ca82c15529a3cea745f59915c84bb1fb80e')
40
41package() {
42 cd "$srcdir/FluxDown-${pkgver}-linux-x64"
43
44 # 主程序和 NMH 二进制
45 install -Dm755 flux_down "$pkgdir/opt/fluxdown/flux_down"
46 install -Dm755 fluxdown_nmh "$pkgdir/opt/fluxdown/fluxdown_nmh"
47
48 # .so 插件库
49 for lib in lib/*.so; do
50 install -Dm755 "$lib" "$pkgdir/opt/fluxdown/$lib"
51 done
52
53 # native_assets.json(Flutter 运行时需要)
54 echo '{"format-version":[1,0,0],"native-assets":{}}' \
55 > "$pkgdir/opt/fluxdown/lib/native_assets.json"
56
57 # data 目录(flutter_assets、图标、desktop 等)
58 cp -r data/ "$pkgdir/opt/fluxdown/data/"
59
60 # /usr/bin 启动脚本
61 install -d "$pkgdir/usr/bin"
62 cat > "$pkgdir/usr/bin/flux_down" <<'EOF'
63#!/bin/bash
64exec /opt/fluxdown/flux_down "$@"
65EOF
66 chmod 755 "$pkgdir/usr/bin/flux_down"
67
68 # 桌面文件(Exec 保持 flux_down,与现有包一致)
69 install -Dm644 data/com.fluxdown.app.desktop \
70 "$pkgdir/usr/share/applications/com.fluxdown.app.desktop"
71
72 # 图标
73 install -Dm644 \
74 data/icons/hicolor/256x256/apps/com.fluxdown.app.png \
75 "$pkgdir/usr/share/icons/hicolor/256x256/apps/com.fluxdown.app.png"
76 install -Dm644 \
77 data/icons/hicolor/scalable/apps/com.fluxdown.app.svg \
78 "$pkgdir/usr/share/icons/hicolor/scalable/apps/com.fluxdown.app.svg"
79
80 # Native Messaging Host — Chromium / Chrome / Brave
81 local _nmh_manifest
82 _nmh_manifest='{
83 "name": "com.fluxdown.nmh",
84 "description": "FluxDown Native Messaging Host",
85 "path": "/opt/fluxdown/fluxdown_nmh",
86 "type": "stdio",
87 "allowed_origins": [
88 "chrome-extension://meleenglfggcmcajknpeeeiobnpfmahc/"
89 ]
90}'
91 install -Dm644 /dev/stdin \
92 "$pkgdir/etc/chromium/native-messaging-hosts/com.fluxdown.nmh.json" \
93 <<< "$_nmh_manifest"
94 install -Dm644 /dev/stdin \
95 "$pkgdir/etc/opt/chrome/native-messaging-hosts/com.fluxdown.nmh.json" \
96 <<< "$_nmh_manifest"
97
98 # Native Messaging Host — Firefox
99 install -Dm644 /dev/stdin \
100 "$pkgdir/usr/lib/mozilla/native-messaging-hosts/com.fluxdown.nmh.json" \
101 <<'EOF'
102{
103 "name": "com.fluxdown.nmh",
104 "description": "FluxDown Native Messaging Host",
105 "path": "/opt/fluxdown/fluxdown_nmh",
106 "type": "stdio",
107 "allowed_extensions": [
108 "fluxdown@fluxdown.app"
109 ]
110}
111EOF
112}
113

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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