alilang

maintainer crazyboycjr · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary .deb from alilang.alibaba-inc.com, which is the official Alibaba intranet client portal. The domain is Alibaba's own infrastructure (alibaba-inc.com), so this is not a random personal host — it is the vendor's own distribution endpoint. However, the package installs a closed-source, prebuilt binary that runs as root (via gksu), is linked into /etc/init.d as a service, and has no integrity verification beyond a single MD5 checksum (which is cryptographically weak). The binary is executed directly on the user's system with elevated privileges. The combination of: (1) a prebuilt proprietary binary, (2) weak integrity check only (MD5, no GPG), (3) root execution via gksu, and (4) installation as an init.d service constitutes a genuine supply-chain risk — if the upstream URL were ever compromised or the file silently replaced, the MD5 would not provide meaningful protection. This meets the medium threshold: an executed binary from a host that, while plausibly official, is not independently verifiable and lacks strong integrity guarantees.

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:11 source=("https://alilang.alibaba-inc.com/alilang/alilang.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 alilang.alibaba-inc.com, which is the official Alibaba intranet client portal. The domain is Alibaba's own infrastructure (alibaba-inc.com), so this is not a random personal host — it is the vendor's own distribution endpoint. However, the package installs a closed-source, prebuilt binary that runs as root (via gksu), is linked into /etc/init.d as a service, and has no integrity verification beyond a single MD5 checksum (which is cryptographically weak). The binary is executed directly on the user's system with elevated privileges. The combination of: (1) a prebuilt proprietary binary, (2) weak integrity check only (MD5, no GPG), (3) root execution via gksu, and (4) installation as an init.d service constitutes a genuine supply-chain risk — if the upstream URL were ever compromised or the file silently replaced, the MD5 would not provide meaningful protection. This meets the medium threshold: an executed binary from a host that, while plausibly official, is not independently verifiable and lacks strong integrity guarantees.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jingrong Chen <crazyboycjr at gmail dot com>
2pkgname=alilang
3_pkgname=${pkgname//-/_}
4pkgver=1.0.0
5pkgrel=3
6pkgdesc="Alilang is an integrated software for access to Alibaba intranet. https://alilang.alibaba-inc.com/portal/help.htm?language=en"
7arch=('x86_64')
8url="https://alilang.alibaba-inc.com"
9license=('none')
10depends=('qtwebkit' 'openssl')
11source=("https://alilang.alibaba-inc.com/alilang/alilang.deb")
12
13pkgver() {
14 cd "${srcdir}"
15
16 tar xzvf control.tar.gz -C "${srcdir}" 2>&1 >/dev/null
17
18 echo "$(sed -ne 's/^Version: \([^-]\+\).*/\1/p' ${srcdir}/control)"
19}
20
21install="${_pkgname}.install"
22
23package() {
24 tar xJvf data.tar.xz -C "${pkgdir}"
25 sed -ine 's/^Exec=.*/Exec=gksu QT_X11_NO_MITSHM=1 alilang/' "${pkgdir}"/usr/share/applications/alilang.desktop
26
27 find "${pkgdir}" -type d | xargs chmod 755
28
29 ln -fs /usr/bin/AliLangAgent "${pkgdir}"/usr/bin/alilang
30 mkdir -p "${pkgdir}"/etc/init.d
31 ln -fs /usr/bin/AliLangAgent "${pkgdir}"/etc/init.d/alilang
32
33 find "${pkgdir}" -type f | xargs chown root:root
34}
35
36md5sums=('05c59383a8c7c8f27f55ccd37c7e3558')
37

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