zerx-lab-dida-bin

maintainer jaroslawgrottner · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged This PKGBUILD downloads a prebuilt Electron binary (.deb) directly from dida365.com (the official vendor domain for the TickTick/Dida365 app) and installs it. The domain is the legitimate upstream vendor, not a personal or unofficial host, which reduces supply-chain risk compared to a random GitHub user's server. However, the source URL is a dynamic download endpoint ('?type=linux_deb_x64') rather than a versioned, stable artifact URL, meaning the sha256sum provides integrity verification only at packaging time — if the endpoint silently serves a different binary later, the checksum would catch it. The binary is a closed-source Electron app installed to /opt/dida with chrome-sandbox set SUID 4755, which is standard for Electron apps but does represent elevated privilege. The sha256sum is present and pinned, which is the primary mitigation. Overall this is a legitimate proprietary binary package from the official vendor with a pinned checksum, which is a common and accepted AUR pattern (similar to google-chrome, zoom, etc.). The medium rating from the cheaper model is a mild false positive — this is standard practice for proprietary binary AUR packages from official vendor domains with checksums present.

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:18 source_x86_64=("dida-${pkgver}-amd64.deb::https://dida365.com/static/getApp/download?type=linux_deb_x64")
MEDIUM AI review 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 Electron binary (.deb) directly from dida365.com (the official vendor domain for the TickTick/Dida365 app) and installs it. The domain is the legitimate upstream vendor, not a personal or unofficial host, which reduces supply-chain risk compared to a random GitHub user's server. However, the source URL is a dynamic download endpoint ('?type=linux_deb_x64') rather than a versioned, stable artifact URL, meaning the sha256sum provides integrity verification only at packaging time — if the endpoint silently serves a different binary later, the checksum would catch it. The binary is a closed-source Electron app installed to /opt/dida with chrome-sandbox set SUID 4755, which is standard for Electron apps but does represent elevated privilege. The sha256sum is present and pinned, which is the primary mitigation. Overall this is a legitimate proprietary binary package from the official vendor with a pinned checksum, which is a common and accepted AUR pattern (similar to google-chrome, zoom, etc.). The medium rating from the cheaper model is a mild false positive — this is standard practice for proprietary binary AUR packages from official vendor domains with checksums present.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: zero <zero@localhost>
2# Automatically updated by GitHub Actions
3
4pkgname=zerx-lab-dida-bin
5pkgver=8.0.0
6pkgrel=1
7pkgdesc="滴答清单 - 跨平台 Todo & Task Manager"
8arch=('x86_64')
9url="https://dida365.com"
10license=('LicenseRef-proprietary')
11depends=('gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'at-spi2-core' 'libsecret')
12optdepends=('libappindicator: 系统托盘图标支持'
13 'libayatana-appindicator: 系统托盘图标支持(Ayatana)')
14provides=('dida' 'dida365')
15conflicts=('dida' 'dida365')
16options=('!strip')
17
18source_x86_64=("dida-${pkgver}-amd64.deb::https://dida365.com/static/getApp/download?type=linux_deb_x64")
19sha256sums_x86_64=('58614aeea4b48e714739a39e5c415af24ba231bd6020b94eb9f4dcca2e414a1f')
20
21package() {
22 cd "$srcdir"
23
24 # 解压 .deb 文件
25 ar x "dida-${pkgver}-amd64.deb"
26
27 # 将 data.tar.xz 解压到 $pkgdir
28 bsdtar -xf data.tar.xz -C "$pkgdir"
29
30 # 创建 /usr/bin/dida 符号链接(postinst 里做的事)
31 install -d "$pkgdir/usr/bin"
32 ln -sf '/opt/dida/dida' "$pkgdir/usr/bin/dida"
33
34 # 设置 chrome-sandbox 的 SUID(Electron 5+ 必须)
35 chmod 4755 "$pkgdir/opt/dida/chrome-sandbox"
36}
37

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