qqbrowser-bin
maintainer zxp19821005
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package installs a prebuilt binary from a plausible official vendor host (imtt.qq.com) used by the project, which is a common practice for -bin packages; while the host is not on standard whitelists, it is project-related and the download is checksum-verified, limiting supply-chain risk to low.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package installs a prebuilt binary from a plausible official vendor host (imtt.qq.com) used by the project, which is a common practice for -bin packages; while the host is not on standard whitelists, it is project-related and the download is checksum-verified, limiting supply-chain risk to low.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:31
"${pkgname%-bin}-${pkgver}.deb::https://pcchannel.imtt.qq.com/channel/${pkgname%-bin}-browser-stable_${pkgver}-1_amd64.deb" -
PKGBUILD:32
"LICENSE.html::https://browser.qq.com/license/"
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2
pkgname=qqbrowser-bin
3
pkgver=21.0.0.100
4
pkgrel=1
5
pkgdesc="A browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.(Prebuilt version)QQ浏览器"
6
arch=('x86_64')
7
url="https://browser.qq.com/"
8
license=('LicenseRef-custom')
9
depends=(
10
'alsa-lib'
11
'nspr'
12
'nss'
13
'at-spi2-core'
14
'libxrandr'
15
'libxcomposite'
16
'libxdamage'
17
'pango'
18
'cairo'
19
'mesa'
20
'libxkbcommon'
21
'libcups'
22
'libunwind'
23
'qt5-base'
24
'qt6-base'
25
)
26
options=(
27
'!emptydirs'
28
'!strip'
29
)
30
source=(
31
"${pkgname%-bin}-${pkgver}.deb::https://pcchannel.imtt.qq.com/channel/${pkgname%-bin}-browser-stable_${pkgver}-1_amd64.deb"
32
"LICENSE.html::https://browser.qq.com/license/"
33
)
34
sha256sums=('cb130d5fd81b92725c947fc3a450ee85cce9cc3f13aba4fe902200609b45a743'
35
'0c1708f665e84ee7daab49d7eea1b13c375d2ecfc4aa10aae2088a0b41e30171')
36
prepare() {
37
cd "${srcdir}"
38
bsdtar -xf "${srcdir}/data."*
39
sed -i -e "
40
s/Exec=\/usr\/bin\/${pkgname%-bin}-browser-stable/Exec=${pkgname%-bin}/g
41
s/Icon=${pkgname%-bin}-browser/Icon=${pkgname%-bin}/g
42
" "${srcdir}/usr/share/applications/${pkgname%-bin}-browser.desktop"
43
find "${srcdir}" -type d -exec chmod 755 {} +
44
chmod 4755 "${srcdir}/opt/tencent/${pkgname%-bin}/chrome-sandbox"
45
sed -i "s/${pkgname%-bin}-browser.desktop/${pkgname%-bin}.desktop/g" "${srcdir}/usr/share/appdata/${pkgname%-bin}-browser.appdata.xml"
46
sed -i "s/opt\/tencent/usr\/lib/g" "${srcdir}/usr/share/gnome-control-center/default-apps/${pkgname%-bin}-browser.xml"
47
sed -i "s/opt\/tencent/usr\/lib/g" "${srcdir}/usr/share/menu/${pkgname%-bin}-browser.menu"
48
}
49
package() {
50
install -Dm755 -d "${pkgdir}/usr/"{bin,lib}
51
cp -Pr --no-preserve=ownership "${srcdir}/opt/tencent/${pkgname%-bin}" "${pkgdir}/usr/lib"
52
ln -sf "/usr/lib/${pkgname%-bin}/${pkgname%-bin}-browser" "${pkgdir}/usr/bin/${_pkgname%-bin}"
53
install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}-browser.desktop" "${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop"
54
_icon_sizes=(16 24 32 48 64 128 256)
55
for _icons in "${_icon_sizes[@]}";do
56
install -Dm644 "${srcdir}/opt/tencent/${pkgname%-bin}/product_logo_${_icons}.png" \
57
"${pkgdir}/usr/share/icons/hicolor/${_icons}x${_icons}/apps/${pkgname%-bin}.png"
58
done
59
install -Dm644 "${srcdir}/opt/tencent/${pkgname%-bin}/product_logo_32.xpm" "${pkgdir}/usr/share/pixmaps/${pkgname%-bin}.xpm"
60
install -Dm644 "${srcdir}/usr/share/menu/${pkgname%-bin}-browser.menu" "${pkgdir}/usr/share/menu/${pkgname%-bin}.menu"
61
install -Dm644 "${srcdir}/usr/share/gnome-control-center/default-apps/${pkgname%-bin}-browser.xml" \
62
"${pkgdir}/usr/share/gnome-control-center/default-apps/${pkgname%-bin}.xml"
63
install -Dm644 "${srcdir}/usr/share/appdata/${pkgname%-bin}-browser.appdata.xml" "${pkgdir}/usr/share/appdata/${pkgname%-bin}.appdata.xml"
64
install -Dm644 "${srcdir}/LICENSE.html" -t "${pkgdir}/usr/share/licenses/${pkgname}"
65
}
66
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |