dida-bin

MEDIUM
maintainer sukanka 6 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package installs a prebuilt .deb from a non-standard host (cdn.dida365.cn), which is an unverifiable executable binary outside official infrastructure, creating a supply-chain risk; the yarn add downloads a declared but external npm package, which is less severe but still a minor concern.

Triggered rules

Medium npm/yarn/pnpm install of an undeclared external package npm_install_external

Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.

  • PKGBUILD:35 yarn add @electron/remote@2.1.3
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:16 source=("${_pkgname}_${pkgver}.deb::https://cdn.dida365.cn/download/linux/linux_deb_x64/dida-${pkgver}-amd64.deb"
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 90%): The package installs a prebuilt .deb from a non-standard host (cdn.dida365.cn), which is an unverifiable executable binary outside official infrastructure, creating a supply-chain risk; the yarn add downloads a declared but external npm package, which is less severe but still a minor concern.

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: sukanka <su975853527 [AT] gmail.com>
2
3pkgname=dida-bin
4_pkgname=dida
5pkgver=8.0.20
6pkgrel=1
7pkgdesc="Official Dida client, a todo list."
8arch=("any")
9url="https://dida365.com/home"
10license=("LicenseRef-Proprietary")
11_electron=electron41
12depends=(${_electron})
13makedepends=('asar' 'yarn')
14optdepends=('noto-fonts-emoji: for emoji support')
15provides=(${_pkgname})
16source=("${_pkgname}_${pkgver}.deb::https://cdn.dida365.cn/download/linux/linux_deb_x64/dida-${pkgver}-amd64.deb"
17 "${_pkgname}".sh
18)
19sha512sums=('52304e2f9bb3d3952ff15a0ada82bc6eeccab6a0a1bddb5a56cb9f7d8a35aa29c273146cce9b162b8c323b00de1a1770ca0506292caffee74739e94443a9fac4'
20 '218ff1e8c89d1567c214d0fec91745606ab48077bb24168a2b18b28f9c69a6918d34c38fe6a70e8aeaee3b6df448e7174c343924e6fa875ba1a583cc656c91ba')
21
22prepare() {
23 cd ${srcdir}
24 tar -Jxvf data.tar.xz -C "${srcdir}"
25 cp -f opt/*/resources/app.asar ${_pkgname}.asar
26 sed -i "s|__ELECTRON__|${_electron}|g" dida.sh
27 cd usr/share/applications
28 sed -i 's|^Exec=.*|Exec=dida %U|g' dida.desktop
29}
30build() {
31 cd ${srcdir}
32 asar e ${_pkgname}.asar apps
33 (
34 cd apps
35 yarn add @electron/remote@2.1.3
36 )
37 asar p apps ${_pkgname}.asar
38}
39
40package() {
41 cd ${srcdir}
42 mv usr ${pkgdir}
43 install -Dm644 ${_pkgname}.asar -t ${pkgdir}/usr/share/${_pkgname}
44 install -Dm755 ${_pkgname}.sh ${pkgdir}/usr/bin/${_pkgname}
45}
46

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Medium 3
2026-10-31 00:07:41 Medium 3
2026-10-30 00:29:30 Medium 3
2026-10-29 00:13:55 Medium 3
2026-10-28 00:06:54 Medium 3
2026-10-27 00:23:28 Medium 3
2026-10-26 00:12:40 Medium 3
2026-10-25 00:20:48 Medium 3
2026-10-24 00:14:55 Medium 3
2026-10-23 00:02:19 Medium 3
2026-10-22 00:13:10 Medium 3
2026-10-21 00:12:50 Medium 3
2026-10-20 00:10:31 Medium 3
2026-10-19 00:03:55 Medium 3
2026-10-18 00:06:55 Medium 3
2026-10-17 00:21:55 Medium 3
2026-10-16 00:12:47 Medium 3
2026-10-15 00:28:05 Medium 3
2026-10-14 00:06:47 Medium 3
2026-10-13 00:23:45 Medium 3

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion