nfs-browser-bin

maintainer zxp19821005 · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The package downloads a prebuilt .deb binary from a non-standard host (browser.nfschina.com) which is not on the whitelist, and although the checksums are provided, the source is a compiled binary, making it an unverifiable executable with potential supply-chain risk if the host were compromised.

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:26 source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.deb::https://browser.nfschina.com/download/flavor/aarch64/latest/linux_64")
MEDIUM AI review llm_review

An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is MEDIUM (confidence 90%): The package downloads a prebuilt .deb binary from a non-standard host (browser.nfschina.com) which is not on the whitelist, and although the checksums are provided, the source is a compiled binary, making it an unverifiable executable with potential supply-chain risk if the host were compromised.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Lynx <wostarxi@outlook.com>
2# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
3pkgname=nfs-browser-bin
4_mainver=6.0.1
5_subver=m3+16nfs5
6pkgver="${_mainver}_${_subver}"
7pkgrel=1
8pkgdesc="方德安全浏览器"
9arch=(
10 'aarch64'
11 'x86_64'
12)
13url="https://browser.nfschina.com/se.html"
14license=('LicenseRef-custom')
15provides=("${pkgname%-bin}=${pkgver}")
16conflicts=("${pkgname%-bin}")
17depends=(
18 'alsa-lib'
19 'gtk3'
20 'nss'
21)
22options=(
23 '!emptydirs'
24)
25DLAGENTS=('https::/usr/bin/curl -fL -A Mozilla/5.0 -e https://browser.nfschina.com/se.html -o %o %u')
26source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.deb::https://browser.nfschina.com/download/flavor/aarch64/latest/linux_64")
27source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.deb::https://browser.nfschina.com/download/flavor/x86_64/latest/linux_64")
28sha256sums_aarch64=('a2f91fc7dec3275e9755d661633ebe1bebccdd05abdf41a8467ab92f4a0350e8')
29sha256sums_x86_64=('4e054ee422c7c7dd64ee222498599a0480a10bc737bfa03c0e28b8feb6842d4d')
30prepare() {
31 bsdtar -xf "${srcdir}/data."*
32 sed -i "s/\/usr\/bin\/${pkgname%-bin}/${pkgname%-bin}/g" "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
33 sed -e "
34 /executable/d
35 s/\/usr\/bin\/${pkgname%-bin}/${pkgname%-bin}/g
36 " -i "${srcdir}/usr/share/gnome-control-center/default-apps/${pkgname%-bin}.xml"
37}
38package() {
39 install -Dm755 -d "${pkgdir}/usr/"{bin,lib}
40 cp -Pr --no-preserve=ownership "${srcdir}/opt/${pkgname%-bin}" "${pkgdir}/usr/lib"
41 ln -sf "/usr/lib/${pkgname%-bin}/${pkgname%-bin}" "${pkgdir}/usr/bin/${pkgname%-bin}"
42 _icon_sizes=(16 22 24 32 48 64 128 256)
43 for _icons in "${_icon_sizes[@]}";do
44 install -Dm644 "${srcdir}/opt/${pkgname%-bin}/icons/product_logo_${_icons}.png" \
45 "${pkgdir}/usr/share/icons/hicolor/${_icons}x${_icons}/apps/${pkgname%-bin}.png"
46 done
47 install -Dm644 "${srcdir}/usr/share/gnome-control-center/default-apps/${pkgname%-bin}.xml" -t "${pkgdir}/usr/share/gnome-control-center/default-apps"
48 install -Dm644 "${srcdir}/usr/share/doc/${pkgname%-bin}/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
49 install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
50}
51

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion