chatzone-desktop-appimage

MEDIUM
maintainer lord 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt AppImage from a non-standard host (ir.ozone.ru) which is not on the static analyzer's whitelist, and the AppImage is executed during prepare() via --appimage-extract, creating a supply-chain risk if the binary were tampered with or swapped.

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:19 source_x86_64=("${_appimage}::https://ir.ozone.ru/s3/chatzone-clients/ci/5.6.3/1201/chatzone-desktop-linux-5.6.3.AppImage")
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt AppImage from a non-standard host (ir.ozone.ru) which is not on the static analyzer's whitelist, and the AppImage is executed during prepare() via --appimage-extract, creating a supply-chain risk if the binary were tampered with or swapped.

PKGBUILD

1 offending line(s) highlighted
1# Based off of: https://daveparrish.net/posts/2019-11-16-Better-AppImage-PKGBUILD-template.html
2# Maintainer: Savely Krasovsky <savely@krasovs.ky>
3
4_pkgname=chatzone-desktop
5
6pkgname="${_pkgname}"-appimage
7pkgver=5.6.3
8pkgrel=1
9pkgdesc="Ozon corporate messenger"
10arch=('x86_64')
11url="https://ozon.ru"
12license=('custom:Proprietary')
13options=(!strip)
14depends=('zlib' 'hicolor-icon-theme' 'fuse2')
15provides=('chatzone-desktop')
16
17_appimage="${pkgname}-linux.AppImage"
18
19source_x86_64=("${_appimage}::https://ir.ozone.ru/s3/chatzone-clients/ci/5.6.3/1201/chatzone-desktop-linux-5.6.3.AppImage")
20sha256sums_x86_64=('8f66d23c36d3b8bc2a4f426da6e5aeebca468f4247e097b35b7eb2d2a9f26b08')
21
22noextract=("${_appimage}")
23
24prepare() {
25 chmod +x "${_appimage}"
26 ./"${_appimage}" --appimage-extract
27}
28
29build() {
30 # Adjust .desktop so it will work outside of AppImage container
31 sed -i -E "s|Exec=AppRun|Exec=env DESKTOPINTEGRATION=false /usr/bin/${_pkgname}|"\
32 "squashfs-root/${_pkgname}.desktop"
33
34 # Fix permissions; .AppImage permissions are 700 for all directories
35 chmod -R a-x+rX squashfs-root/usr
36}
37
38package() {
39 # AppImage
40 install -Dm755 "${srcdir}/${_appimage}" "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage"
41 install -Dm644 "${srcdir}/squashfs-root/LICENSE.electron.txt" "${pkgdir}/opt/${pkgname}/LICENSE"
42
43 # Desktop file
44 install -Dm644 "${srcdir}/squashfs-root/${_pkgname}.desktop"\
45 "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
46
47 # Icon images
48 install -dm755 "${pkgdir}/usr/share/"
49 cp -a "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"
50 ln -s "$(realpath ${srcdir}/squashfs-root/${_disname}.png --relative-to ${srcdir}/squashfs-root/usr/share/icons)" \
51 "${pkgdir}/usr/share/icons/${_pkgname}.png"
52
53 # Symlink executable
54 install -dm755 "${pkgdir}/usr/bin"
55 ln -s "/opt/${pkgname}/${pkgname}.AppImage" "${pkgdir}/usr/bin/${_pkgname}"
56
57 # Symlink license
58 install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}/"
59 ln -s "/opt/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
60}
61

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