appattic-qt
The package builds from source hosted on GitHub and includes prebuilt zig and wasmtime binaries from their official domains; these are used as build tools and bundled libraries, not executed remotely, and the final package installs only the project's own compiled code and data, posing minimal risk despite non-whitelisted hosts and low votes.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
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 builds from source hosted on GitHub and includes prebuilt zig and wasmtime binaries from their official domains; these are used as build tools and bundled libraries, not executed remotely, and the final package installs only the project's own compiled code and data, posing minimal risk despite non-whitelisted hosts and low votes.
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:18
"https://ziglang.org/download/0.17.0/zig-x86_64-linux-0.17.0.tar.xz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Marcel W. Wysocki <maci.stgn@gmail.com>
pkgname=appattic-qt
pkgver=3.4.0
pkgrel=1
pkgdesc="Leftovers, stale apps, unused packages, and disk usage"
arch=('x86_64')
url="https://github.com/maci0/appattic"
license=('LicenseRef-proprietary' 'Apache-2.0' 'OFL-1.1')
depends=('glibc' 'gcc-libs' 'qt6-base' 'hicolor-icon-theme')
makedepends=('cmake' 'ninja' 'pkgconf' 'clang' 'patchelf')
conflicts=('appattic-bin')
# The tree compiles with -Werror and its own _FORTIFY_SOURCE. Makepkg's
# CFLAGS define the macro again, and -march=native would tie the binary
# to the builder's CPU. CMake keeps those flags after the first configure.
options=('!buildflags')
source=(
"appattic-${pkgver}.tar.gz::https://github.com/maci0/appattic/archive/refs/tags/v${pkgver}.tar.gz"
"https://ziglang.org/download/0.17.0/zig-x86_64-linux-0.17.0.tar.xz"
"https://github.com/bytecodealliance/wasmtime/releases/download/v28.0.0/wasmtime-v28.0.0-x86_64-linux-c-api.tar.xz"
)
sha256sums=(
'9da91b25123a807abbd6458564a5f9de0dac5ac7baf4ca314727280618c6d8eb'
'1cbe9df9f27e6b78d14ccbca43b6703a404ef79ef1c463de901d7f088d4e2026'
'23f282f333f07ec82a838928cbc86355cc4978c3618080d1a2e5714fec8411bf'
)
build() {
# .zig-version is 0.17.0 and the Wasmtime C API pin is v28.0.0. Neither is
# the distro package, and the link script rejects a different zig.
unset CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export PATH="${srcdir}/zig-x86_64-linux-0.17.0:${PATH}"
export WASMTIME_DIR="${srcdir}/wasmtime-v28.0.0-x86_64-linux-c-api"
cd "appattic-${pkgver}"
rm -rf ui/linux-qt/build-release
# Release compiles out --dev-check. linux-qt-link.sh still runs those
# gates after offscreen --smoke, and that is the check the binary ships.
# The || keeps makepkg's ERR trap from aborting on that exit.
local log="${srcdir}/linux-qt-link.log" rc=0
bash scripts/linux-qt-link.sh release >"$log" 2>&1 || rc=$?
cat "$log"
if [[ "$rc" -ne 0 ]]; then
grep -q '^SMOKE=ok$' "$log"
grep -q 'error: --dev-check is a debug-build gate' "$log"
fi
rm -f "$log"
}
package() {
cd "appattic-${pkgver}"
cmake --install ui/linux-qt/build-release --prefix "${pkgdir}/usr"
# DT_NEEDED is libwasmtime.so and the tarball ships no SONAME. The library
# lives under /usr/lib/appattic so it does not take the system name.
install -Dm755 "${srcdir}/wasmtime-v28.0.0-x86_64-linux-c-api/lib/libwasmtime.so" \
"${pkgdir}/usr/lib/appattic/libwasmtime.so"
patchelf --set-rpath '$ORIGIN/../lib/appattic' "${pkgdir}/usr/bin/appattic-qt"
install -Dm644 "${srcdir}/wasmtime-v28.0.0-x86_64-linux-c-api/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-wasmtime"
install -Dm644 ui/linux-qt/fonts/Michroma-OFL.txt \
"${pkgdir}/usr/share/licenses/${pkgname}/Michroma-OFL.txt"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-16 07:17+++ PKGBUILD @ 2026-10-17 00:21@@ -1,6 +1,6 @@ # Maintainer: Marcel W. Wysocki <maci.stgn@gmail.com> pkgname=appattic-qt-pkgver=3.3.0+pkgver=3.4.0 pkgrel=1 pkgdesc="Leftovers, stale apps, unused packages, and disk usage" arch=('x86_64')@@ -15,20 +15,20 @@ options=('!buildflags') source=( "appattic-${pkgver}.tar.gz::https://github.com/maci0/appattic/archive/refs/tags/v${pkgver}.tar.gz"- "https://ziglang.org/download/0.16.0/zig-x86_64-linux-0.16.0.tar.xz"+ "https://ziglang.org/download/0.17.0/zig-x86_64-linux-0.17.0.tar.xz" "https://github.com/bytecodealliance/wasmtime/releases/download/v28.0.0/wasmtime-v28.0.0-x86_64-linux-c-api.tar.xz" ) sha256sums=(- 'cae5f1194edd44d1b10e3dba5d1bbcbfb0e0d30e216f54b1d312d0e1a4ad9eb9'- '70e49664a74374b48b51e6f3fdfbf437f6395d42509050588bd49abe52ba3d00'+ '9da91b25123a807abbd6458564a5f9de0dac5ac7baf4ca314727280618c6d8eb'+ '1cbe9df9f27e6b78d14ccbca43b6703a404ef79ef1c463de901d7f088d4e2026' '23f282f333f07ec82a838928cbc86355cc4978c3618080d1a2e5714fec8411bf' ) build() {- # .zig-version is 0.16.0 and the Wasmtime C API pin is v28.0.0. Neither is+ # .zig-version is 0.17.0 and the Wasmtime C API pin is v28.0.0. Neither is # the distro package, and the link script rejects a different zig. unset CPPFLAGS CFLAGS CXXFLAGS LDFLAGS- export PATH="${srcdir}/zig-x86_64-linux-0.16.0:${PATH}"+ export PATH="${srcdir}/zig-x86_64-linux-0.17.0:${PATH}" export WASMTIME_DIR="${srcdir}/wasmtime-v28.0.0-x86_64-linux-c-api" cd "appattic-${pkgver}" rm -rf ui/linux-qt/build-releaseScan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-17 00:21:55 | Low | 3 |
| 2026-10-16 11:16:06 | Medium | 2 |
| 2026-10-16 07:17:56 | Low | 3 |
| 2026-10-16 07:15:06 | Medium | 2 |