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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |