nfs-browser-bin

MEDIUM
maintainer zxp19821005 0 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion