ayugram-bin

maintainer rimehrab · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary package (ayugram-desktop-6.7.8-5-x86_64.pkg.tar.zst) from cdn77.cachyos.org, which is the CachyOS package repository CDN. CachyOS is a legitimate Arch-based distribution with its own package repository, so this is not a random personal host — it is a known third-party distro repo. However, it is still not the official upstream release host (which would be GitHub releases at github.com/AyuGram/AyuGramDesktop). The binary is a prebuilt executable being extracted and installed directly, and the source is a third-party CDN rather than the upstream project. A sha256sum is present and pinned, which mitigates substitution risk at the specific version, but the host could serve different content for future versions or if the CDN is compromised. The concern is real but not severe: CachyOS is a recognized project, the checksum is present, and this pattern (repackaging a distro's binary) is unusual but not clearly malicious. This warrants a medium rating due to the executed binary from a non-upstream host, even though CachyOS is a legitimate project.

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:70 source=("${_src_pkg}::https://cdn77.cachyos.org/repo/${CARCH}/cachyos/${_src_pkg}")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt binary package (ayugram-desktop-6.7.8-5-x86_64.pkg.tar.zst) from cdn77.cachyos.org, which is the CachyOS package repository CDN. CachyOS is a legitimate Arch-based distribution with its own package repository, so this is not a random personal host — it is a known third-party distro repo. However, it is still not the official upstream release host (which would be GitHub releases at github.com/AyuGram/AyuGramDesktop). The binary is a prebuilt executable being extracted and installed directly, and the source is a third-party CDN rather than the upstream project. A sha256sum is present and pinned, which mitigates substitution risk at the specific version, but the host could serve different content for future versions or if the CDN is compromised. The concern is real but not severe: CachyOS is a recognized project, the checksum is present, and this pattern (repackaging a distro's binary) is unusual but not clearly malicious. This warrants a medium rating due to the executed binary from a non-upstream host, even though CachyOS is a legitimate project.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Mehrab Mahmud Udoy <contact@rimehrab.is-a.dev>
2
3pkgname=ayugram-bin
4pkgver=6.7.8
5pkgrel=1
6pkgdesc="Desktop Telegram client with good customization and Ghost mode (pre-built binary)"
7arch=('x86_64')
8url="https://github.com/AyuGram/AyuGramDesktop"
9license=('GPL-3.0-or-later')
10provides=('ayugram-desktop')
11conflicts=('ayugram-desktop' 'ayugram-desktop-bin' 'ayugram-desktop-git')
12options=('!strip' '!debug')
13
14depends=(
15 'abseil-cpp'
16 'ada'
17 'ffmpeg'
18 'glib2'
19 'glibc'
20 'hicolor-icon-theme'
21 'hunspell'
22 'kcoreaddons'
23 'libavif'
24 'libdispatch'
25 'libgcc'
26 'libheif'
27 'libjpeg-turbo'
28 'libjxl'
29 'libpipewire'
30 'libstdc++'
31 'libvpx'
32 'libx11'
33 'libxcb'
34 'libxcomposite'
35 'libxdamage'
36 'libxext'
37 'libxfixes'
38 'libxkbcommon'
39 'libxrandr'
40 'libxtst'
41 'lz4'
42 'minizip'
43 'openal'
44 'openh264'
45 'openssl'
46 'opus'
47 'protobuf'
48 'qt6-base'
49 'qt6-declarative'
50 'qt6-svg'
51 'qt6-wayland'
52 'rnnoise'
53 'xcb-util-keysyms'
54 'xxhash'
55 'zlib'
56)
57
58optdepends=(
59 'geoclue: geoinformation support'
60 'crow-translate: translation provider'
61 'qt6-imageformats: support for additional image formats'
62 'webkit2gtk-4.1: embedded browser features provided by webkit2gtk-4.1'
63 'webkitgtk-6.0: embedded browser features provided by webkitgtk-6.0 (Wayland only)'
64 'xdg-desktop-portal: desktop integration'
65)
66
67_pkgver="${pkgver}-5"
68_src_pkg="ayugram-desktop-${_pkgver}-${CARCH}.pkg.tar.zst"
69
70source=("${_src_pkg}::https://cdn77.cachyos.org/repo/${CARCH}/cachyos/${_src_pkg}")
71sha256sums=('0c42421363df1d3aa1f391f70c4ea33a54f762c454b761a9e2cb54e2ca58d68a')
72
73package() {
74 cp -a --no-preserve=ownership "${srcdir}/usr" "${pkgdir}/"
75 chmod -R u=rwX,go=rX "${pkgdir}/usr"
76}
77

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