lectern-git
The source is a git repository from the maintainer's own domain, used to build the software from source; this is normal AUR packaging behavior despite the non-whitelisted host, and no untrusted prebuilt binaries are executed.
Triggered rules
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 source is a git repository from the maintainer's own domain, used to build the software from source; this is normal AUR packaging behavior despite the non-whitelisted host, and no untrusted prebuilt binaries are executed.
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:29
source=('lectern::git+https://git.papayadev.net/pub/lectern.git')
PKGBUILD
1 offending line(s) highlighted# Maintainer: Papaya <me@papayadev.net>
pkgname=lectern-git
pkgver=0.5.0
pkgrel=1
pkgdesc='A configurable, cross-platform markdown viewer'
arch=('x86_64')
url='https://git.papayadev.net/pub/lectern'
license=('LicenseRef-MIT-Commons-Clause')
depends=(
'gcc-libs'
'glibc'
'qt6-base'
'qt6-svg'
'qt6-wayland'
'xdg-desktop-portal'
'xdg-desktop-portal-impl'
)
makedepends=(
'cargo'
'cmake'
'git'
)
optdepends=(
'noto-fonts-emoji: color emoji rendering'
'xorg-server: X11 support'
)
provides=('lectern')
conflicts=('lectern')
source=('lectern::git+https://git.papayadev.net/pub/lectern.git')
sha256sums=('SKIP')
options=('!lto')
pkgver() {
cd lectern
local desc
desc=$(git describe --long --tags --abbrev=7 2>/dev/null) || true
if [ -n "$desc" ]; then
echo "$desc" | sed 's/^v//;s/-/.r/;s/-/./g'
else
printf '0.5.0.r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
fi
}
prepare() {
cd lectern/parser
export RUSTUP_TOOLCHAIN=stable
cargo fetch --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
cd lectern
export RUSTUP_TOOLCHAIN=stable
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON
cmake --build build -j$(nproc)
}
package() {
cd lectern
# Binary
install -Dm755 "build/lectern" "$pkgdir/usr/bin/lectern"
# Parser library
install -Dm755 "build/liblectern_parser.so" "$pkgdir/usr/lib/liblectern_parser.so"
# Desktop entry
install -Dm644 "assets/lectern.desktop" "$pkgdir/usr/share/applications/lectern.desktop"
# Icons
install -Dm644 "assets/icon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/lectern.svg"
install -Dm644 "assets/icon-64.png" "$pkgdir/usr/share/icons/hicolor/64x64/apps/lectern.png"
install -Dm644 "assets/icon-128.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/lectern.png"
# License
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
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 |