chatzone-desktop-appimage
maintainer lord
· 0 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
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
6
pkgname="${_pkgname}"-appimage
7
pkgver=5.6.3
8
pkgrel=1
9
pkgdesc="Ozon corporate messenger"
10
arch=('x86_64')
11
url="https://ozon.ru"
12
license=('custom:Proprietary')
13
options=(!strip)
14
depends=('zlib' 'hicolor-icon-theme' 'fuse2')
15
provides=('chatzone-desktop')
16
17
_appimage="${pkgname}-linux.AppImage"
18
19
source_x86_64=("${_appimage}::https://ir.ozone.ru/s3/chatzone-clients/ci/5.6.3/1201/chatzone-desktop-linux-5.6.3.AppImage")
20
sha256sums_x86_64=('8f66d23c36d3b8bc2a4f426da6e5aeebca468f4247e097b35b7eb2d2a9f26b08')
21
22
noextract=("${_appimage}")
23
24
prepare() {
25
chmod +x "${_appimage}"
26
./"${_appimage}" --appimage-extract
27
}
28
29
build() {
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
38
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |