cubbit
maintainer veger
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt AppImage from the project's official domain (cubbit.io), which is a standard distribution method; the source is not from a swappable host, and the AppImage is unpacked and installed without executing arbitrary remote code.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt AppImage from the project's official domain (cubbit.io), which is a standard distribution method; the source is not from a swappable host, and the AppImage is unpacked and installed without executing arbitrary remote code.
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:13
source=("https://get.cubbit.io/desktop/linux/Cubbit-${pkgver}.AppImage")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Maarten Bezemer <maarten.bezemer@gmail.com>
2
3
pkgname=cubbit
4
pkgdesc='Cubbit desktop-sync application'
5
pkgver=9.5.1
6
pkgrel=1
7
arch=('x86_64')
8
url='https://www.cubbit.io/'
9
license=('custom')
10
depends=('gtk2' 'hicolor-icon-theme' 'libxss' 'libxtst')
11
optdepends=('libappindicator-gtk2' 'libnotify')
12
options=('!strip')
13
source=("https://get.cubbit.io/desktop/linux/Cubbit-${pkgver}.AppImage")
14
sha256sums=('75b8c96818e3006f83509466b26def17d012312f819053d9c2673dbaacbf199b')
15
16
prepare() {
17
chmod +x Cubbit-${pkgver}.AppImage
18
./Cubbit-${pkgver}.AppImage --appimage-extract
19
20
sed -e 's#Exec=AppRun#Exec=@cubbitdesktop#g' squashfs-root/@cubbitdesktop.desktop > @cubbitdesktop.desktop
21
sed -e '/^THIS=/i APPDIR=/usr/share/cubbit' squashfs-root/AppRun > AppRun
22
}
23
24
package() {
25
install -dm755 "$pkgdir"/usr/share/
26
27
for i in 16x16 24x24 32x32 48x48 64x64 96x96 128x128 256x256 400x400; do
28
install -Dm644 "$srcdir"/squashfs-root/usr/share/icons/hicolor/${i}/apps/@cubbitdesktop.png \
29
"$pkgdir"/usr/share/icons/hicolor/$i/apps/@cubbitdesktop.png
30
done
31
32
install -Dm755 "$srcdir"/squashfs-root/@cubbitdesktop -t "$pkgdir"/usr/share/cubbit/
33
install -Dm644 "$srcdir"/squashfs-root/icudtl.dat -t "$pkgdir"/usr/share/cubbit/
34
install -Dm644 "$srcdir"/squashfs-root/chrome*.pak -t "$pkgdir"/usr/share/cubbit/
35
install -Dm755 "$srcdir"/squashfs-root/chrome_crashpad_handler -t "$pkgdir"/usr/share/cubbit/
36
install -Dm755 "$srcdir"/squashfs-root/chrome-sandbox -t "$pkgdir"/usr/share/cubbit/
37
install -Dm644 "$srcdir"/squashfs-root/resources.pak -t "$pkgdir"/usr/share/cubbit/
38
install -Dm644 "$srcdir"/squashfs-root/lib* -t "$pkgdir"/usr/share/cubbit/
39
install -Dm644 "$srcdir"/squashfs-root/snapshot_blob.bin -t "$pkgdir"/usr/share/cubbit/
40
install -Dm644 "$srcdir"/squashfs-root/v8_context_snapshot.bin -t "$pkgdir"/usr/share/cubbit/
41
install -Dm644 "$srcdir"/squashfs-root/vk_swiftshader_icd.json -t "$pkgdir"/usr/share/cubbit/
42
install -Dm644 "$srcdir"/squashfs-root/locales/* -t "$pkgdir"/usr/share/cubbit/locales/
43
install -Dm644 "$srcdir"/squashfs-root/resources/app-update.yml -t "$pkgdir"/usr/share/cubbit/resources
44
install -Dm644 "$srcdir"/squashfs-root/resources/app.asar -t "$pkgdir"/usr/share/cubbit/resources
45
install -Dm644 "$srcdir"/squashfs-root/resources/app.asar.unpacked/sql/migrations/* -t "$pkgdir"/usr/share/cubbit/resources/app.asar.unpacked/sql/migrations/
46
install -Dm644 "$srcdir"/squashfs-root/swiftshader/* -t "$pkgdir"/usr/share/cubbit/swiftshader/
47
48
install -d "$pkgdir"/usr/bin
49
install -Dm755 "$srcdir"/AppRun -T "$pkgdir"/usr/bin/@cubbitdesktop
50
install -Dm755 "$srcdir"/squashfs-root/bin/gozer -T "$pkgdir"/usr/bin/gozer
51
52
install -Dm644 "$srcdir"/squashfs-root/license.txt -t "$pkgdir"/usr/share/licenses/$pkgname
53
install -Dm644 "$srcdir"/squashfs-root/LICENSE.electron.txt -t "$pkgdir"/usr/share/licenses/$pkgname
54
install -Dm644 "$srcdir"/squashfs-root/LICENSES.chromium.html -t "$pkgdir"/usr/share/licenses/$pkgname
55
56
install -Dm644 "$srcdir"/@cubbitdesktop.desktop -t "$pkgdir"/usr/share/applications
57
}
58
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |