ftnn-desktop
This PKGBUILD downloads a prebuilt binary .deb from softwaredownload.futunn.com, which is the official Futu (富途) software download host — a legitimate Hong Kong/US-listed brokerage's trading application. The domain is plausible as an official vendor CDN. However, sha256sums='SKIP' means there is no integrity verification of the downloaded binary, so any compromise or substitution of the file on the CDN would go undetected. The package installs a setuid chrome-sandbox (chmod 4755) and executes a prebuilt proprietary binary directly from /opt/FTNN/Launch. This is a classic medium-risk pattern: the source host appears legitimate, but the lack of checksum combined with executing a prebuilt binary means a supply-chain compromise would be undetectable. Not high (no evidence of malice, host is plausible official vendor), but genuinely medium due to SKIP checksum on an executed binary.
Triggered rules
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:24
source=("https://softwaredownload.futunn.com/FTNN_desktop_${pkgver}_amd64.deb")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): This PKGBUILD downloads a prebuilt binary .deb from softwaredownload.futunn.com, which is the official Futu (富途) software download host — a legitimate Hong Kong/US-listed brokerage's trading application. The domain is plausible as an official vendor CDN. However, sha256sums='SKIP' means there is no integrity verification of the downloaded binary, so any compromise or substitution of the file on the CDN would go undetected. The package installs a setuid chrome-sandbox (chmod 4755) and executes a prebuilt proprietary binary directly from /opt/FTNN/Launch. This is a classic medium-risk pattern: the source host appears legitimate, but the lack of checksum combined with executing a prebuilt binary means a supply-chain compromise would be undetectable. Not high (no evidence of malice, host is plausible official vendor), but genuinely medium due to SKIP checksum on an executed binary.
PKGBUILD
1 offending line(s) highlighted# Maintainer: rzhli tayuebuliuhen@gmail.com
pkgname='ftnn-desktop'
pkgver='16.16.16108'
pkgrel=1
pkgdesc="Futu,富途,股票软件"
arch=('x86_64')
url="https://www.futunn.com/"
license=('custom')
depends=(
'glibc'
'qt5-base'
'qt6-webengine'
'qt5-webchannel'
'qt5-multimedia'
'hicolor-icon-theme'
'qt5-x11extras'
'nss'
'libxss'
'libxcrypt-compat'
'xdg-utils'
)
source=("https://softwaredownload.futunn.com/FTNN_desktop_${pkgver}_amd64.deb")
sha256sums=('SKIP')
package() {
# 进入 src 目录解压
bsdtar -xf "FTNN_desktop_${pkgver}_amd64.deb"
bsdtar -xf data.tar.* -C "${pkgdir}"
# 删除上游 deb 中误打包的 /out 目录
rm -rf "${pkgdir}/out"
# 修复权限
chmod +x "${pkgdir}/opt/FTNN/FTNN"
chmod 4755 "${pkgdir}/opt/FTNN/chrome-sandbox"
# 建立软链接(指向 Launch 脚本以确保 LD_LIBRARY_PATH 正确设置)
install -d "${pkgdir}/usr/bin"
ln -sf /opt/FTNN/Launch "${pkgdir}/usr/bin/ftnn"
# 图标安装
install -d "${pkgdir}/usr/share/icons/hicolor/128x128/apps"
if [ -f "${pkgdir}/opt/FTNN/app.png" ]; then
install -m644 "${pkgdir}/opt/FTNN/app.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/ftnn.png"
fi
# 桌面文件
install -d "${pkgdir}/usr/share/applications"
cat <<EOF > "${pkgdir}/usr/share/applications/ftnn.desktop"
[Desktop Entry]
Name=FTNN 富途牛牛
Comment=Trade stocks
Exec=/opt/FTNN/Launch %U
Icon=ftnn
Terminal=false
Type=Application
Categories=Finance;Network;
StartupWMClass=FTNN
MimeType=x-scheme-handler/futu;
EOF
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |