unityhub-cn
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:17
"$pkgname-$pkgver.deb::https://public-cdn.cloud.unitychina.cn/hub/prod/UnityHubSetup.deb"
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt binary .deb from 'public-cdn.cloud.unitychina.cn', which is Unity's official CDN for the Chinese market (Unity Technologies operates unity.cn for China). This is not a random personal host — it is the legitimate distribution channel for Unity Hub in China, analogous to how unity.com serves other regions. However, it is still a prebuilt binary from a region-specific CDN rather than the canonical upstream source, and the source URL is not pinned to a specific versioned filename (it fetches 'UnityHubSetup.deb' without a version in the path), meaning the checksum could become stale if the file is updated server-side. The sha256sum provides integrity verification at build time, but the mutable URL means future builds could silently fetch a different binary if the pkgrel/checksum isn't updated. The package installs an Electron-based proprietary binary directly into /opt, which executes with user privileges. The medium rating is appropriate: it's a real supply-chain concern (mutable URL pointing to a prebuilt proprietary binary from a CDN that, while likely legitimate, is not the primary Unity domain), but there is no evidence of malicious intent.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Weihao Jiang <weihau.chiang#gmail.com>
pkgname=unityhub-cn
pkgver=3.1.1
pkgrel=1
pkgdesc="The Unity Hub is a standalone application that streamlines the way you find, download, and manage your Unity Projects and installations. (China localized version)"
url="https://unity.cn/"
arch=('x86_64')
license=('custom')
depends=('nss' 'gtk3')
optdepends=(
'libappindicator-gtk3: The DEB says this an optional dependency'
'gconf: Used by old editors'
'cpio: used for Android build support'
)
source=(
"$pkgname-$pkgver.deb::https://public-cdn.cloud.unitychina.cn/hub/prod/UnityHubSetup.deb"
'license.txt'
)
sha256sums=('2953526a671543af613998d50808df204c5fbf70685564e208f36f663679d34a'
'f0eb3a4bb148bb7f426e4f5b97e891265ac487710cbcba9282518537c7b5d833')
provides=('unityhub')
conflicts=('unityhub')
OPTIONS=(!strip)
package() {
tar -xf 'data.tar.bz2' -C "$pkgdir/"
mkdir -p "$pkgdir/usr/bin"
ln -sf '/opt/unityhub/unityhub' "$pkgdir/usr/bin/unityhub"
install -Dm644 "$srcdir/license.txt" "$pkgdir/usr/share/licenses/$pkgname/license.txt"
}
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 |