chatzone-desktop-appimage
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
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")
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# Based off of: https://daveparrish.net/posts/2019-11-16-Better-AppImage-PKGBUILD-template.html
# Maintainer: Savely Krasovsky <savely@krasovs.ky>
_pkgname=chatzone-desktop
pkgname="${_pkgname}"-appimage
pkgver=5.6.3
pkgrel=1
pkgdesc="Ozon corporate messenger"
arch=('x86_64')
url="https://ozon.ru"
license=('custom:Proprietary')
options=(!strip)
depends=('zlib' 'hicolor-icon-theme' 'fuse2')
provides=('chatzone-desktop')
_appimage="${pkgname}-linux.AppImage"
source_x86_64=("${_appimage}::https://ir.ozone.ru/s3/chatzone-clients/ci/5.6.3/1201/chatzone-desktop-linux-5.6.3.AppImage")
sha256sums_x86_64=('8f66d23c36d3b8bc2a4f426da6e5aeebca468f4247e097b35b7eb2d2a9f26b08')
noextract=("${_appimage}")
prepare() {
chmod +x "${_appimage}"
./"${_appimage}" --appimage-extract
}
build() {
# Adjust .desktop so it will work outside of AppImage container
sed -i -E "s|Exec=AppRun|Exec=env DESKTOPINTEGRATION=false /usr/bin/${_pkgname}|"\
"squashfs-root/${_pkgname}.desktop"
# Fix permissions; .AppImage permissions are 700 for all directories
chmod -R a-x+rX squashfs-root/usr
}
package() {
# AppImage
install -Dm755 "${srcdir}/${_appimage}" "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage"
install -Dm644 "${srcdir}/squashfs-root/LICENSE.electron.txt" "${pkgdir}/opt/${pkgname}/LICENSE"
# Desktop file
install -Dm644 "${srcdir}/squashfs-root/${_pkgname}.desktop"\
"${pkgdir}/usr/share/applications/${_pkgname}.desktop"
# Icon images
install -dm755 "${pkgdir}/usr/share/"
cp -a "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"
ln -s "$(realpath ${srcdir}/squashfs-root/${_disname}.png --relative-to ${srcdir}/squashfs-root/usr/share/icons)" \
"${pkgdir}/usr/share/icons/${_pkgname}.png"
# Symlink executable
install -dm755 "${pkgdir}/usr/bin"
ln -s "/opt/${pkgname}/${pkgname}.AppImage" "${pkgdir}/usr/bin/${_pkgname}"
# Symlink license
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}/"
ln -s "/opt/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |