kchat-appimage

LOW
maintainer openscript 2 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt AppImage from a plausible project-owned host (infomaniak.com, a known Swiss hosting provider), which is normal for AppImage packaging; the AppImage is extracted and repackaged without executing arbitrary remote code, and the worst case of a swapped source is running a malicious binary, but the source host is associated with the software vendor.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt AppImage from a plausible project-owned host (infomaniak.com, a known Swiss hosting provider), which is normal for AppImage packaging; the AppImage is extracted and repackaged without executing arbitrary remote code, and the worst case of a swapped source is running a malicious binary, but the source host is associated with the software vendor.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:17 source_x86_64=("${_appimage}::https://download.storage5.infomaniak.com/kchat/kchat-desktop-${pkgver}-linux-x86_64.AppImage")

PKGBUILD

1 offending line(s) highlighted
1# Based on the template from https://daveparrish.net/posts/2019-11-16-Better-AppImage-PKGBUILD-template.html
2# Maintainer: Robin Bühler <r plus aur at obin dot ch>
3
4_pkgname=kchat
5_originalpkgname=kChat
6
7pkgname="${_pkgname}"-appimage
8pkgver=3.5.1
9pkgrel=1
10pkgdesc="kChat is an instant messaging service which enables you to discuss, share and coordinate your teams in complete security via your Internet browser, mobile phone, tablet or computer."
11arch=('x86_64')
12url="https://www.infomaniak.com/en/apps/download-kchat"
13license=('custom:Unlicense')
14depends=('zlib')
15options=(!strip)
16_appimage="${pkgname}-${pkgver}.AppImage"
17source_x86_64=("${_appimage}::https://download.storage5.infomaniak.com/kchat/kchat-desktop-${pkgver}-linux-x86_64.AppImage")
18noextract=("${_appimage}")
19sha256sums_x86_64=('def1766b4123fe2a3ed38e52cb04ca09049fb5e4cd8714a0a156dbe680093754')
20
21prepare() {
22 chmod +x "${_appimage}"
23 ./"${_appimage}" --appimage-extract
24}
25
26build() {
27 # Adjust .desktop so it will work outside of AppImage container
28 sed -i -E "s|Exec=AppRun|Exec=env DESKTOPINTEGRATION=false /usr/bin/${_pkgname}|"\
29 "squashfs-root/${_pkgname}-desktop.desktop"
30 # Fix icon name in .desktop file
31 sed -i "s|Icon=.*|Icon=${_pkgname}-desktop|"\
32 "squashfs-root/${_pkgname}-desktop.desktop"
33 # Fix permissions; .AppImage permissions are 700 for all directories
34 chmod -R a-x+rX squashfs-root/usr
35}
36
37package() {
38 # AppImage
39 install -Dm755 "${srcdir}/${_appimage}" "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage"
40
41 # Desktop file
42 install -Dm644 "${srcdir}/squashfs-root/${_pkgname}-desktop.desktop"\
43 "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
44
45 # Icon images - manually install to 512x512 folder for proper GNOME recognition
46 install -dm755 "${pkgdir}/usr/share/icons/hicolor/512x512/apps"
47 for icon in "${srcdir}/squashfs-root/usr/share/icons"/*/*/apps/*; do
48 [ -f "$icon" ] && install -Dm644 "$icon" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${_pkgname}-desktop.${icon##*.}"
49 done
50
51 # Symlink executable
52 install -dm755 "${pkgdir}/usr/bin"
53 ln -s "/opt/${pkgname}/${pkgname}.AppImage" "${pkgdir}/usr/bin/${_pkgname}"
54}
55

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 07:38:41 Medium 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion