stao-bin
The package downloads a prebuilt AppImage from a non-whitelisted host (downloads.stao.app), which is an unverifiable executable that could be silently swapped by an unrelated party, constituting a supply-chain risk.
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:32
source=("${_appimage_name}::https://downloads.stao.app/releases/v${_basever}/${_appimage_name}" -
PKGBUILD:33
"terms-of-service.html::https://www.stao.app/terms")
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 host (downloads.stao.app), which is an unverifiable executable that could be silently swapped by an unrelated party, constituting a supply-chain risk.
PKGBUILD
2 offending line(s) highlighted# Maintainer: Stao App <support@stao.app>
pkgname=stao-bin
# pkgver uses underscore instead of plus (AUR requirement)
# e.g., 1.2.0+5 becomes 1.2.0_5
pkgver=1.6.0_17
pkgrel=1
pkgdesc="Standing desk reminder app - track your standing and sitting time"
arch=('x86_64')
url="https://stao.app"
license=('custom')
depends=(
'gtk3'
'gstreamer'
'gst-plugins-base'
'gst-plugins-good'
'libayatana-appindicator'
)
optdepends=(
'libnotify: for desktop notifications'
)
provides=('stao')
conflicts=('stao')
options=('!strip')
# Version components:
# _basever: version without build number (used in R2 folder path)
# _fullver: version with build number using + (used in filename)
_basever="${pkgver%_*}"
_fullver="${pkgver/_/+}"
_appimage_name="stao-${_fullver}-linux.AppImage"
source=("${_appimage_name}::https://downloads.stao.app/releases/v${_basever}/${_appimage_name}"
"terms-of-service.html::https://www.stao.app/terms")
sha256sums=('40b4239e98ba328cf393406f8af1a8596258e72a41d983f8f509930dd7293c98'
'SKIP')
package() {
cd "${srcdir}"
# Make AppImage executable and extract it
chmod +x "${_appimage_name}"
"./${_appimage_name}" --appimage-extract
# Install to /opt/stao
install -dm755 "${pkgdir}/opt/stao"
cp -r squashfs-root/* "${pkgdir}/opt/stao/"
# Fix permissions
chmod 755 "${pkgdir}/opt/stao/stao"
find "${pkgdir}/opt/stao" -type d -exec chmod 755 {} \;
find "${pkgdir}/opt/stao" -type f -name "*.so*" -exec chmod 755 {} \;
# Create launcher script
install -dm755 "${pkgdir}/usr/bin"
cat > "${pkgdir}/usr/bin/stao" << 'EOF'
#!/bin/bash
exec /opt/stao/stao "$@"
EOF
chmod 755 "${pkgdir}/usr/bin/stao"
# Install desktop file
install -Dm644 "${pkgdir}/opt/stao/stao.desktop" \
"${pkgdir}/usr/share/applications/stao.desktop"
# Fix desktop file paths
sed -i 's|Exec=.*|Exec=/usr/bin/stao|' \
"${pkgdir}/usr/share/applications/stao.desktop"
sed -i 's|Icon=.*|Icon=stao|' \
"${pkgdir}/usr/share/applications/stao.desktop"
# Install icons
for size in 16 32 48 64 128 256 512; do
if [ -f "${pkgdir}/opt/stao/data/flutter_assets/assets/icons/app_icon.png" ]; then
install -Dm644 "${pkgdir}/opt/stao/data/flutter_assets/assets/icons/app_icon.png" \
"${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/stao.png"
fi
done
# Also check for icon in standard AppImage location
if [ -f "${pkgdir}/opt/stao/stao.png" ]; then
for size in 16 32 48 64 128 256 512; do
install -Dm644 "${pkgdir}/opt/stao/stao.png" \
"${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/stao.png"
done
fi
# Install license/terms of service
install -Dm644 "${srcdir}/terms-of-service.html" \
"${pkgdir}/usr/share/licenses/${pkgname}/terms-of-service.html"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-15 00:28+++ PKGBUILD @ 2026-11-01 00:21@@ -2,7 +2,7 @@ pkgname=stao-bin # pkgver uses underscore instead of plus (AUR requirement) # e.g., 1.2.0+5 becomes 1.2.0_5-pkgver=1.5.4_15+pkgver=1.6.0_17 pkgrel=1 pkgdesc="Standing desk reminder app - track your standing and sitting time" arch=('x86_64')@@ -31,7 +31,7 @@ source=("${_appimage_name}::https://downloads.stao.app/releases/v${_basever}/${_appimage_name}" "terms-of-service.html::https://www.stao.app/terms")-sha256sums=('3f5978bdccde93668e57d2a7aa5ca8c84c206bcf3fbb79f8c8e0ed32ae2dfa6a'+sha256sums=('40b4239e98ba328cf393406f8af1a8596258e72a41d983f8f509930dd7293c98' 'SKIP') package() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 19:13:05 | Medium | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |