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