zerx-lab-dida-bin

MEDIUM
maintainer jaroslawgrottner 0 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 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