easyconnect-hust
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
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"
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# Maintainer: Huang Yuhui <bombeuler@foxmail.com>
pkgname=easyconnect-hust
pkgver=7.6.7.3
pkgrel=1
pkgdesc="Accessing HUST's network resources over vpn connection."
arch=('x86_64')
url="https://vpn.hust.edu.cn/portal/#!/down_client"
license=('custom')
depends=('glib2-devel')
conflicts=('easyconnect')
install=${pkgname}.install
source=("https://download.sangfor.com.cn/download/product/sslvpn/pkg/linux_767/EasyConnect_x64_7_6_7_3.deb"
"http://ftp.gnome.org/pub/gnome/sources/pango/1.42/pango-1.42.4.tar.xz")
md5sums=('a87cd6e5ecd521491b82d66682fe88f5'
'deb171a31a3ad76342d5195a1b5bbc7c')
package(){
tar xzf data.tar.gz -C "${pkgdir}"
tar xf ${srcdir}/pango-1.42.4.tar.xz
cd pango-1.42.4
./configure --prefix=/usr
make -j4 && make DESTDIR=${pkgdir}"/usr/share/sangfor/EasyConnect/oldlib/pango" install
cd ${pkgdir}
sed -i 's/Exec=/Exec=env LD_LIBRARY_PATH=\/usr\/share\/sangfor\/EasyConnect\/oldlib\/pango\/usr\/lib /g' "${pkgdir}/usr/share/applications/EasyConnect.desktop"
install -D -m644 "${pkgdir}/usr/share/sangfor/EasyConnect/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |