unityhub-cn

maintainer VictriD · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged 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

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:17 "$pkgname-$pkgver.deb::https://public-cdn.cloud.unitychina.cn/hub/prod/UnityHubSetup.deb"
MEDIUM AI review 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
1# Maintainer: Weihao Jiang <weihau.chiang#gmail.com>
2
3pkgname=unityhub-cn
4pkgver=3.1.1
5pkgrel=1
6pkgdesc="The Unity Hub is a standalone application that streamlines the way you find, download, and manage your Unity Projects and installations. (China localized version)"
7url="https://unity.cn/"
8arch=('x86_64')
9license=('custom')
10depends=('nss' 'gtk3')
11optdepends=(
12 'libappindicator-gtk3: The DEB says this an optional dependency'
13 'gconf: Used by old editors'
14 'cpio: used for Android build support'
15)
16source=(
17 "$pkgname-$pkgver.deb::https://public-cdn.cloud.unitychina.cn/hub/prod/UnityHubSetup.deb"
18 'license.txt'
19)
20sha256sums=('2953526a671543af613998d50808df204c5fbf70685564e208f36f663679d34a'
21 'f0eb3a4bb148bb7f426e4f5b97e891265ac487710cbcba9282518537c7b5d833')
22provides=('unityhub')
23conflicts=('unityhub')
24
25OPTIONS=(!strip)
26
27package() {
28 tar -xf 'data.tar.bz2' -C "$pkgdir/"
29 mkdir -p "$pkgdir/usr/bin"
30 ln -sf '/opt/unityhub/unityhub' "$pkgdir/usr/bin/unityhub"
31
32 install -Dm644 "$srcdir/license.txt" "$pkgdir/usr/share/licenses/$pkgname/license.txt"
33}
34

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion