unityhub-cn
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.
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-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |