easyconnect-hust

maintainer bombeuler · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged This PKGBUILD downloads a prebuilt binary .deb from sangfor.com.cn (the vendor's own domain for their enterprise VPN client) and also downloads pango source from ftp.gnome.org to compile and install a custom pango library. The main concerns are: (1) the binary .deb is from a vendor domain rather than a standard code-hosting platform, and while sangfor.com.cn is the legitimate vendor for EasyConnect/SSL VPN software widely used in Chinese universities, it is not a transparent source; (2) the package() function runs 'tar xzf data.tar.gz' without specifying a path, relying on the .deb extraction having already unpacked data.tar.gz into the current directory — this is fragile but not malicious; (3) the pango source is from ftp.gnome.org which is a legitimate GNOME mirror, and it is compiled from source with checksums verified; (4) md5sums are used rather than sha256sums, which is weaker but not absent. The overall pattern is consistent with a legitimate but unofficial repackaging of enterprise VPN software — a common AUR pattern for Chinese university VPN clients. The binary blob from the vendor is the primary supply-chain concern: if sangfor.com.cn were compromised, the binary could be replaced. This is a real medium-severity concern but not evidence of active malice.

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:13 source=("https://download.sangfor.com.cn/download/product/sslvpn/pkg/linux_767/EasyConnect_x64_7_6_7_3.deb"
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): This PKGBUILD downloads a prebuilt binary .deb from sangfor.com.cn (the vendor's own domain for their enterprise VPN client) and also downloads pango source from ftp.gnome.org to compile and install a custom pango library. The main concerns are: (1) the binary .deb is from a vendor domain rather than a standard code-hosting platform, and while sangfor.com.cn is the legitimate vendor for EasyConnect/SSL VPN software widely used in Chinese universities, it is not a transparent source; (2) the package() function runs 'tar xzf data.tar.gz' without specifying a path, relying on the .deb extraction having already unpacked data.tar.gz into the current directory — this is fragile but not malicious; (3) the pango source is from ftp.gnome.org which is a legitimate GNOME mirror, and it is compiled from source with checksums verified; (4) md5sums are used rather than sha256sums, which is weaker but not absent. The overall pattern is consistent with a legitimate but unofficial repackaging of enterprise VPN software — a common AUR pattern for Chinese university VPN clients. The binary blob from the vendor is the primary supply-chain concern: if sangfor.com.cn were compromised, the binary could be replaced. This is a real medium-severity concern but not evidence of active malice.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Huang Yuhui <bombeuler@foxmail.com>
2
3pkgname=easyconnect-hust
4pkgver=7.6.7.3
5pkgrel=1
6pkgdesc="Accessing HUST's network resources over vpn connection."
7arch=('x86_64')
8url="https://vpn.hust.edu.cn/portal/#!/down_client"
9license=('custom')
10depends=('glib2-devel')
11conflicts=('easyconnect')
12install=${pkgname}.install
13source=("https://download.sangfor.com.cn/download/product/sslvpn/pkg/linux_767/EasyConnect_x64_7_6_7_3.deb"
14 "http://ftp.gnome.org/pub/gnome/sources/pango/1.42/pango-1.42.4.tar.xz")
15md5sums=('a87cd6e5ecd521491b82d66682fe88f5'
16 'deb171a31a3ad76342d5195a1b5bbc7c')
17package(){
18 tar xzf data.tar.gz -C "${pkgdir}"
19 tar xf ${srcdir}/pango-1.42.4.tar.xz
20 cd pango-1.42.4
21 ./configure --prefix=/usr
22 make -j4 && make DESTDIR=${pkgdir}"/usr/share/sangfor/EasyConnect/oldlib/pango" install
23 cd ${pkgdir}
24 sed -i 's/Exec=/Exec=env LD_LIBRARY_PATH=\/usr\/share\/sangfor\/EasyConnect\/oldlib\/pango\/usr\/lib /g' "${pkgdir}/usr/share/applications/EasyConnect.desktop"
25 install -D -m644 "${pkgdir}/usr/share/sangfor/EasyConnect/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
26}
27
28

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