ftnn-desktop
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-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 |