easyconnect-hust

MEDIUM
maintainer bombeuler 2 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion