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-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 |