easyconnect-zju
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
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")
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) highlightedpkgname=easyconnect-zju
pkgver=7.6.3.7
pkgrel=1
pkgdesc="Accessing ZJU's network resources over vpn connection."
arch=('x86_64')
url="https://rvpn.zju.edu.cn/"
license=('custom')
depends=('glib2-devel')
conflicts=('easyconnect' 'easyconnect-hust')
install=${pkgname}.install
# 重命名下载的包以带上版本号,避免更新时缓存冲突
source=("EasyConnect_x64_${pkgver}.deb::http://download.sangfor.com.cn/download/product/sslvpn/pkg/linux_01/EasyConnect_x64.deb"
"https://mirror.nju.edu.cn/gnome/sources/pango/1.42/pango-1.42.4.tar.xz")
md5sums=('3d8c1adaf61b01ab49f68e331b0ec0d5'
'deb171a31a3ad76342d5195a1b5bbc7c')
build() {
# makepkg 会自动解压 .tar.xz 源码包,无需手动 tar xf
cd "${srcdir}/pango-1.42.4"
./configure --prefix=/usr
# 直接使用 make,它会自动继承 /etc/makepkg.conf 中的 MAKEFLAGS (如 -j$(nproc)) 实现自适应多线程编译
make
}
package() {
# makepkg 会自动从 deb 中解压出 data.tar.gz 或 data.tar.xz,使用通配符自适应后缀
tar xf "${srcdir}"/data.tar.* -C "${pkgdir}"
cd "${srcdir}/pango-1.42.4"
make DESTDIR="${pkgdir}/usr/share/sangfor/EasyConnect/oldlib/pango" install
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-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 |
| 2026-10-12 00:18:51 | Medium | 2 |
| 2026-10-11 00:26:05 | Medium | 2 |
| 2026-10-10 00:11:52 | Medium | 2 |
| 2026-10-09 00:05:33 | Medium | 2 |