sunsama-appimage

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

The package downloads a prebuilt AppImage from a non-whitelisted, project-specific host (desktop.sunsama.com), which presents a supply-chain risk if the host were compromised or the download redirected, as the executable is not built from source and originates from a non-standard domain.

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:18 source_x86_64=("${_appimage}::https://desktop.sunsama.com/linux/appImage/x64")
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt AppImage from a non-whitelisted, project-specific host (desktop.sunsama.com), which presents a supply-chain risk if the host were compromised or the download redirected, as the executable is not built from source and originates from a non-standard domain.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Enrico Lamperti <aur at mail dot elamperti dot com>
2# Contributor: Tianrui Wei <archlinux_aur at mail dot tianrui-wei dot com>
3# Contributor: Marcio Silva <marcionps at gmail dot com>
4# Based on the template from https://daveparrish.net/posts/2019-11-16-Better-AppImage-PKGBUILD-template.html
5
6_pkgname=sunsama
7
8pkgname="${_pkgname}"-appimage
9pkgver=3.4.11
10pkgrel=1
11pkgdesc="The daily planner for elite professionals. Organize everything you need to do today in one place. Tasks, meetings, emails, you name it."
12arch=('x86_64')
13url="https://sunsama.com/"
14license=('custom:Commercial')
15depends=('zlib' 'hicolor-icon-theme' 'fuse2')
16options=(!strip)
17_appimage="${pkgname}-${pkgver}.AppImage"
18source_x86_64=("${_appimage}::https://desktop.sunsama.com/linux/appImage/x64")
19noextract=("${_appimage}")
20sha256sums_x86_64=('54c49ef490a887db1bd5064ac628d145212a1d6135bbd0f970623d9439df9afa')
21
22prepare() {
23 chmod +x "${_appimage}"
24 ./"${_appimage}" --appimage-extract
25}
26
27build() {
28 # Adjust .desktop so it will work outside of AppImage container
29 sed -i -E "s|Exec=AppRun|Exec=env DESKTOPINTEGRATION=false /usr/bin/${_pkgname} %u|"\
30 "squashfs-root/${_pkgname}.desktop"
31 # Fix permissions; .AppImage permissions are 700 for all directories
32 chmod -R a-x+rX squashfs-root/usr
33}
34
35package() {
36 # AppImage
37 install -Dm755 "${srcdir}/${_appimage}" "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage"
38
39 # Desktop file
40 install -Dm644 "${srcdir}/squashfs-root/${_pkgname}.desktop"\
41 "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
42
43 # Icon images
44 install -dm755 "${pkgdir}/usr/share/"
45 cp -a "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"
46
47 # Symlink executable
48 install -dm755 "${pkgdir}/usr/bin"
49 ln -s "/opt/${pkgname}/${pkgname}.AppImage" "${pkgdir}/usr/bin/${_pkgname}"
50}
51
52

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