ediary-bin

maintainer czyt · 0 votes · scanned 2026-08-18 00:03:42.021799
MEDIUM
View on AUR ↗
Why flagged Installs a prebuilt proprietary binary (.deb) downloaded from a personal/project host (down.haoxg.net) that is not official infrastructure and could be silently swapped; checksums are present which mitigates but does not eliminate the risk of an unverifiable closed-source executable from a non-whitelisted host.

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:29 "${_deb}::https://down.haoxg.net/download/ediary/linux/ediary_${_debver}_amd64.deb"
  • PKGBUILD:31 source=('ediary-terms.html::https://www.haoxg.net/terms-of-service.php')
LOW Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

MEDIUM AI review llm_review

An AI model (anthropic/claude-sonnet-4.6) reviewed this and agrees it is MEDIUM (confidence 70%): Installs a prebuilt proprietary binary (.deb) downloaded from a personal/project host (down.haoxg.net) that is not official infrastructure and could be silently swapped; checksums are present which mitigates but does not eliminate the risk of an unverifiable closed-source executable from a non-whitelisted host.

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: czyt <czytcn@gmail.com>
2
3pkgname=ediary-bin
4pkgver=1.0.beta2
5pkgrel=2
6pkgdesc="A free, time-based diary and personal document manager"
7arch=('x86_64')
8url="https://www.haoxg.net"
9license=('LicenseRef-Proprietary')
10
11depends=(
12 'cairo'
13 'gcc-libs'
14 'gdk-pixbuf2'
15 'glibc'
16 'gtk3'
17 'libx11'
18 'pango'
19 'zlib'
20)
21makedepends=('libarchive')
22provides=("ediary=${pkgver}")
23conflicts=('ediary')
24options=('!debug' '!strip')
25
26_debver='1.0~beta2-2'
27_deb="ediary_${_debver}_amd64.deb"
28source_x86_64=(
29 "${_deb}::https://down.haoxg.net/download/ediary/linux/ediary_${_debver}_amd64.deb"
30)
31source=('ediary-terms.html::https://www.haoxg.net/terms-of-service.php')
32noextract=("${_deb}")
33sha256sums=('12f5b1c35eedcfc192b6e4a059955946b8635dcabd67e024bd9b0c27edd6b2d1')
34sha256sums_x86_64=('4afebc465db89d43629ad4470988493ccc818d1239e96eb317a6b5f04028e80c')
35
36package() {
37 local data_member
38
39 data_member=$(
40 bsdtar -tf "${srcdir}/${_deb}" |
41 awk '/^data[.]tar[.]/ { print; count++ } END { if (count != 1) exit 1 }'
42 ) || {
43 printf 'Expected exactly one deb data archive in %s\n' "${_deb}" >&2
44 return 1
45 }
46
47 bsdtar -xOf "${srcdir}/${_deb}" "${data_member}" |
48 bsdtar --no-same-owner -xf - -C "${pkgdir}"
49
50 install -dm755 "${pkgdir}/usr/bin"
51 ln -s /opt/ediary/ediary "${pkgdir}/usr/bin/ediary"
52
53 install -Dm644 "${srcdir}/ediary-terms.html" \
54 "${pkgdir}/usr/share/licenses/${pkgname}/terms-of-service.html"
55}
56

Scan history

Scanned at (UTC)SeverityRules
2026-08-18 00:03:42 MEDIUM 3
2026-08-17 03:36:44 MEDIUM 3
2026-08-17 03:35:16 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