edrawproject-cn
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:26
source_x86_64=("${pkgname}_${pkgver}.deb::https://cc-download.wondershare.cc/prd/edrawproj_full5376.deb")
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# Maintainer: taotieren <admin@taotieren.com>
# edrawmax 中文版
pkgname=edrawproject-cn
_pkgname=EdrawProj-3
pkgver=3.7.4
pkgrel=1
arch=('x86_64')
depends=(
curl
dbus
e2fsprogs
expat
gcc-libs
glib2
glibc
hicolor-icon-theme
libssh2
krb5
zlib)
options=(!strip)
conflicts=("edrawproject")
pkgdesc="可用于甘特图绘制、项目计划、资源分配和预算管理。软件轻巧,功能强大!"
license=('LicenseRef-Commercial')
url="https://www.edrawsoft.cn/edrawproject/"
source_x86_64=("${pkgname}_${pkgver}.deb::https://cc-download.wondershare.cc/prd/edrawproj_full5376.deb")
sha256sums_x86_64=('35e4c7b92eb863d22f9c29098286d43bc394b17b037819706108779550b26d66')
prepare() {
# ar -x *.deb
mkdir -pv "$srcdir/$pkgname"
tar -xf "$srcdir/data.tar.xz" --xattrs-include='*' --numeric-owner -C "$pkgname"
}
package() {
# export LC_CTYPE="zh_CN.UTF-8"
cp -r ${srcdir}/${pkgname}/* ${pkgdir}
install -dm755 "${pkgdir}/usr/bin/" \
"${pkgdir}/usr/share/icons/"
ln -sf "/opt/${_pkgname}/edrawproj.sh" "${pkgdir}/usr/bin/edrawproject"
ln -sf "/opt/${_pkgname}/edrawproject.png" "${pkgdir}/usr/share/icons/edrawproject.png"
rm -rf ${pkgdir}/usr/share/applications/.*
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |