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
3
pkgname=ediary-bin
4
pkgver=1.0.beta2
5
pkgrel=2
6
pkgdesc="A free, time-based diary and personal document manager"
7
arch=('x86_64')
8
url="https://www.haoxg.net"
9
license=('LicenseRef-Proprietary')
10
11
depends=(
12
'cairo'
13
'gcc-libs'
14
'gdk-pixbuf2'
15
'glibc'
16
'gtk3'
17
'libx11'
18
'pango'
19
'zlib'
20
)
21
makedepends=('libarchive')
22
provides=("ediary=${pkgver}")
23
conflicts=('ediary')
24
options=('!debug' '!strip')
25
26
_debver='1.0~beta2-2'
27
_deb="ediary_${_debver}_amd64.deb"
28
source_x86_64=(
29
"${_deb}::https://down.haoxg.net/download/ediary/linux/ediary_${_debver}_amd64.deb"
30
)
31
source=('ediary-terms.html::https://www.haoxg.net/terms-of-service.php')
32
noextract=("${_deb}")
33
sha256sums=('12f5b1c35eedcfc192b6e4a059955946b8635dcabd67e024bd9b0c27edd6b2d1')
34
sha256sums_x86_64=('4afebc465db89d43629ad4470988493ccc818d1239e96eb317a6b5f04028e80c')
35
36
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-18 00:03:42 | MEDIUM | 3 |
| 2026-08-17 03:36:44 | MEDIUM | 3 |
| 2026-08-17 03:35:16 | MEDIUM | 3 |