stao-bin
The package downloads a prebuilt AppImage and a terms-of-service file from the project's official domain; while the host is not on a standard whitelist, it is the legitimate project domain, and the AppImage is a common format for distributing desktop apps on Linux.
Triggered rules
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 and a terms-of-service file from the project's official domain; while the host is not on a standard whitelist, it is the legitimate project domain, and the AppImage is a common format for distributing desktop apps on Linux.
1 higher static finding superseded - not the current verdict (shown for transparency)
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")
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.5.0_10
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=('0878360569efb839271aabb4b4fab65dd177793ffed5377d6d2ff5e2ad46fbda'
'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"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 00:29:17 | Low | 2 |