edrawproject-cn

maintainer taotieren · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt x86_64 .deb binary from wondershare.cc (cc-download.wondershare.cc), which is Wondershare's CDN/download host for their Chinese market products. While this is a plausible official vendor host for Wondershare/EdrawSoft software, it is not a well-known canonical distribution channel and the URL contains an opaque filename (edrawproj_full5376.deb) rather than a versioned path. The package installs a prebuilt proprietary binary directly into /opt and creates a symlink in /usr/bin, meaning the downloaded binary is executed on the user's system. A sha256sum is provided, which mitigates substitution risk somewhat, but the source host is not a standard distribution mirror. The prepare() function also has a suspicious pattern: it calls `tar -xf data.tar.xz` without first extracting the .deb (the `ar -x` step is commented out), which means it relies on a data.tar.xz already being present in $srcdir — this is actually how makepkg handles .deb sources in some configurations, but it's non-obvious. Overall: prebuilt proprietary binary from a non-canonical CDN host with an opaque URL constitutes a genuine medium supply-chain concern, consistent with the original rating.

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:26 source_x86_64=("${pkgname}_${pkgver}.deb::https://cc-download.wondershare.cc/prd/edrawproj_full5376.deb")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD downloads a prebuilt x86_64 .deb binary from wondershare.cc (cc-download.wondershare.cc), which is Wondershare's CDN/download host for their Chinese market products. While this is a plausible official vendor host for Wondershare/EdrawSoft software, it is not a well-known canonical distribution channel and the URL contains an opaque filename (edrawproj_full5376.deb) rather than a versioned path. The package installs a prebuilt proprietary binary directly into /opt and creates a symlink in /usr/bin, meaning the downloaded binary is executed on the user's system. A sha256sum is provided, which mitigates substitution risk somewhat, but the source host is not a standard distribution mirror. The prepare() function also has a suspicious pattern: it calls `tar -xf data.tar.xz` without first extracting the .deb (the `ar -x` step is commented out), which means it relies on a data.tar.xz already being present in $srcdir — this is actually how makepkg handles .deb sources in some configurations, but it's non-obvious. Overall: prebuilt proprietary binary from a non-canonical CDN host with an opaque URL constitutes a genuine medium supply-chain concern, consistent with the original rating.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: taotieren <admin@taotieren.com>
2# edrawmax 中文版
3
4pkgname=edrawproject-cn
5_pkgname=EdrawProj-3
6pkgver=3.7.4
7pkgrel=1
8arch=('x86_64')
9depends=(
10 curl
11 dbus
12 e2fsprogs
13 expat
14 gcc-libs
15 glib2
16 glibc
17 hicolor-icon-theme
18 libssh2
19 krb5
20 zlib)
21options=(!strip)
22conflicts=("edrawproject")
23pkgdesc="可用于甘特图绘制、项目计划、资源分配和预算管理。软件轻巧,功能强大!"
24license=('LicenseRef-Commercial')
25url="https://www.edrawsoft.cn/edrawproject/"
26source_x86_64=("${pkgname}_${pkgver}.deb::https://cc-download.wondershare.cc/prd/edrawproj_full5376.deb")
27sha256sums_x86_64=('35e4c7b92eb863d22f9c29098286d43bc394b17b037819706108779550b26d66')
28
29prepare() {
30 # ar -x *.deb
31 mkdir -pv "$srcdir/$pkgname"
32 tar -xf "$srcdir/data.tar.xz" --xattrs-include='*' --numeric-owner -C "$pkgname"
33}
34package() {
35 # export LC_CTYPE="zh_CN.UTF-8"
36 cp -r ${srcdir}/${pkgname}/* ${pkgdir}
37
38 install -dm755 "${pkgdir}/usr/bin/" \
39 "${pkgdir}/usr/share/icons/"
40
41 ln -sf "/opt/${_pkgname}/edrawproj.sh" "${pkgdir}/usr/bin/edrawproject"
42 ln -sf "/opt/${_pkgname}/edrawproject.png" "${pkgdir}/usr/share/icons/edrawproject.png"
43 rm -rf ${pkgdir}/usr/share/applications/.*
44
45}
46

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