easyconnect-zju

MEDIUM
maintainer pika02 0 votes scanned 2026-09-13 09:16:55.476007
View on AUR
Why flagged

The package downloads a prebuilt EasyConnect VPN binary (.deb) from download.sangfor.com.cn (vendor's official domain, so not a personal host) and installs it directly; while the source appears to be the official Sangfor vendor site, prebuilt closed-source VPN binaries installed system-wide carry inherent supply-chain risk, though the MD5 checksum provides some verification. The pango source is from a legitimate GNOME mirror and is only built to provide a compatibility library.

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:12 source=("EasyConnect_x64_${pkgver}.deb::http://download.sangfor.com.cn/download/product/sslvpn/pkg/linux_01/EasyConnect_x64.deb"
  • PKGBUILD:13 "https://mirror.nju.edu.cn/gnome/sources/pango/1.42/pango-1.42.4.tar.xz")
Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Medium AI review llm_review

An AI model (anthropic/claude-sonnet-4.6) reviewed this and agrees it is MEDIUM (confidence 70%): The package downloads a prebuilt EasyConnect VPN binary (.deb) from download.sangfor.com.cn (vendor's official domain, so not a personal host) and installs it directly; while the source appears to be the official Sangfor vendor site, prebuilt closed-source VPN binaries installed system-wide carry inherent supply-chain risk, though the MD5 checksum provides some verification. The pango source is from a legitimate GNOME mirror and is only built to provide a compatibility library.

PKGBUILD

2 offending line(s) highlighted
1pkgname=easyconnect-zju
2pkgver=7.6.3.7
3pkgrel=1
4pkgdesc="Accessing ZJU's network resources over vpn connection."
5arch=('x86_64')
6url="https://rvpn.zju.edu.cn/"
7license=('custom')
8depends=('glib2-devel')
9conflicts=('easyconnect' 'easyconnect-hust')
10install=${pkgname}.install
11# 重命名下载的包以带上版本号,避免更新时缓存冲突
12source=("EasyConnect_x64_${pkgver}.deb::http://download.sangfor.com.cn/download/product/sslvpn/pkg/linux_01/EasyConnect_x64.deb"
13 "https://mirror.nju.edu.cn/gnome/sources/pango/1.42/pango-1.42.4.tar.xz")
14md5sums=('3d8c1adaf61b01ab49f68e331b0ec0d5'
15 'deb171a31a3ad76342d5195a1b5bbc7c')
16
17build() {
18 # makepkg 会自动解压 .tar.xz 源码包,无需手动 tar xf
19 cd "${srcdir}/pango-1.42.4"
20 ./configure --prefix=/usr
21 # 直接使用 make,它会自动继承 /etc/makepkg.conf 中的 MAKEFLAGS (如 -j$(nproc)) 实现自适应多线程编译
22 make
23}
24
25package() {
26 # makepkg 会自动从 deb 中解压出 data.tar.gz 或 data.tar.xz,使用通配符自适应后缀
27 tar xf "${srcdir}"/data.tar.* -C "${pkgdir}"
28
29 cd "${srcdir}/pango-1.42.4"
30 make DESTDIR="${pkgdir}/usr/share/sangfor/EasyConnect/oldlib/pango" install
31
32 sed -i 's/Exec=/Exec=env LD_LIBRARY_PATH=\/usr\/share\/sangfor\/EasyConnect\/oldlib\/pango\/usr\/lib /g' "${pkgdir}/usr/share/applications/EasyConnect.desktop"
33 install -D -m644 "${pkgdir}/usr/share/sangfor/EasyConnect/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
34}
35

Scan history

Scanned at (UTC)SeverityRules
2026-09-13 09:16:55 Medium 3
2026-09-13 09:14:07 Medium 3

Report a package

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

0 / 4000
Your suggestion