ziniaobrowser-bin
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:11
source=("$pkgname-$pkgver.deb::https://cdn-superbrowser-web.ziniao.com/v6/ziniao_x64_6.9.0.9_production.deb")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): This PKGBUILD installs a prebuilt Chromium-based browser binary downloaded from a vendor-controlled CDN (cdn-superbrowser-web.ziniao.com). The binary is not built from source, so users must trust the vendor's CDN entirely. The sha256sum provides integrity against accidental corruption or MITM but not against a malicious upstream. The package installs executables with elevated permissions (including a setuid chrome-sandbox at 4755) and multiple binaries (ziniaobrowser, ziniao-gateway, env-kit) that run with user privileges. This is a legitimate pattern for binary browser packages in the AUR (similar to google-chrome, microsoft-edge-stable, etc.), but the host is a Chinese commercial CDN for a lesser-known browser, which carries higher supply-chain risk than major vendors. There is no reproducibility or source-build option. This is a genuine medium-risk supply-chain concern: executed closed-source binaries from a non-major vendor CDN, not a false positive.
PKGBUILD
1 offending line(s) highlighted# Maintainer: xifan <xifan233@163.com>
pkgname=ziniaobrowser-bin
pkgver=6.9.0.9
pkgrel=2
pkgdesc="紫鸟浏览器 - 基于 Chromium 的浏览器"
arch=('x86_64')
url="https://www.ziniao.com/"
license=('custom')
depends=('gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'at-spi2-core' 'util-linux-libs' 'libsecret')
optdepends=('libappindicator-gtk3: for system tray support')
source=("$pkgname-$pkgver.deb::https://cdn-superbrowser-web.ziniao.com/v6/ziniao_x64_6.9.0.9_production.deb")
sha256sums=('8c3ef239674bc861618059dc8d792bb2c762ba7dd1a58af7af3cbdb7d6d1486b')
noextract=("$pkgname-$pkgver.deb")
package() {
cd "$srcdir"
# 提取 deb 包
ar x "$pkgname-$pkgver.deb"
tar -xf data.tar.xz -C "$pkgdir/"
# 修复权限
find "$pkgdir" -type d -exec chmod 755 {} \;
find "$pkgdir" -type f -exec chmod 644 {} \;
# 设置可执行文件权限
if [ -d "$pkgdir/opt" ]; then
find "$pkgdir/opt" -name "ziniaobrowser" -exec chmod 755 {} \;
find "$pkgdir/opt" -name "chrome_crashpad_handler" -exec chmod 755 {} \;
find "$pkgdir/opt" -name "chrome-sandbox" -exec chmod 4755 {} \;
find "$pkgdir/opt" -name "env-kit" -exec chmod 755 {} \;
find "$pkgdir/opt" -name "ziniao-gateway" -exec chmod 755 {} \;
fi
# 创建启动脚本
mkdir -p "$pkgdir/usr/bin"
cat > "$pkgdir/usr/bin/ziniao" << 'EOF'
#!/bin/bash
exec /opt/ziniao/ziniaobrowser "$@"
EOF
chmod 755 "$pkgdir/usr/bin/ziniao"
# 修改桌面文件
sed -i 's|Name=ziniao|Name=紫鸟浏览器\nName[en]=ziniao|' "$pkgdir/usr/share/applications/ziniaobrowser.desktop"
sed -i 's|Exec=/opt/ziniao/ziniaobrowser %U|Exec=ziniao %U|' "$pkgdir/usr/share/applications/ziniaobrowser.desktop"
}
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 |