templedriver-bin
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:40
"https://api.snapcraft.io/api/v1/snaps/download/euH2Y1LDnEHbX4GpjAiIhjDFUfxi15ru_67.snap"
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads prebuilt binary snap packages from api.snapcraft.io (Canonical's official Snap Store API) and extracts them with unsquashfs to install the game binary. The snap store is a legitimate, official distribution channel maintained by Canonical, so this is not an unofficial or personal host. However, the snap IDs (euH2Y1LDnEHbX4GpjAiIhjDFUfxi15ru) are opaque and the snap store does not provide the same level of source transparency as building from source. The binaries are pinned to specific revision numbers (65/66/67) with sha256sums, which mitigates substitution attacks. The upstream GitHub repo (mrbid/TempleDriver) is the authoritative source and the snap package appears to be the official distribution method for this game. This is a common AUR pattern for packaging snap-distributed software without the snap daemon. The risk is real but low in practice: the sha256 pins prevent MITM substitution, and api.snapcraft.io is Canonical's official infrastructure. This sits at the lower end of medium — it's a prebuilt binary from an opaque source, but pinned and from a reputable host.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
_pkgname="templedriver"
pkgname="${_pkgname}-bin"
pkgver=1.1.1
_commit="f300481b04bff205ad5cbe92a1997cba2d3e59ef" # 1.1.1
pkgrel=1
pkgdesc="A driving game dedicated to King Terry A. Davis"
arch=(
'aarch64'
'armv7h'
'x86_64'
)
url="https://github.com/mrbid/TempleDriver"
license=(
'Unlicense'
)
depends=(
'glibc'
'libgles'
'sdl2'
)
makedepends=(
'squashfs-tools'
)
provides=(
"${_pkgname}"
)
conflicts=(
"${_pkgname}"
)
_pkgsrc="${url##*/}-${pkgver}"
source=(
"${_pkgsrc}-README.md::${url}/raw/${_commit}/README.md"
"${_pkgsrc}-LICENSE.md::${url}/raw/${_commit}/LICENSE.md"
"${_pkgsrc}-${_pkgname}.appdata.xml::${url}/raw/${_commit}/flat/${_pkgname}.appdata.xml"
)
# https://askubuntu.com/a/1196449
source_aarch64=(
"https://api.snapcraft.io/api/v1/snaps/download/euH2Y1LDnEHbX4GpjAiIhjDFUfxi15ru_67.snap"
)
source_armv7h=(
"https://api.snapcraft.io/api/v1/snaps/download/euH2Y1LDnEHbX4GpjAiIhjDFUfxi15ru_66.snap"
)
source_x86_64=(
"https://api.snapcraft.io/api/v1/snaps/download/euH2Y1LDnEHbX4GpjAiIhjDFUfxi15ru_65.snap"
)
sha256sums=('6e7718c42707aee26c3ee595fa37bfb896f08e6c950497954d82721fa2768ed5'
'88d9b4eb60579c191ec391ca04c16130572d7eedc4a86daa58bf28c6e14c9bcd'
'32812355856988863bf6dcb1b1fc04502162a789250c789db8270adefc0976f5')
sha256sums_aarch64=('8fbbe3b35e2570e7d12d0ddccb69ed2884021595f7fbf6e746585b0e2a9d4000')
sha256sums_armv7h=('b7026400294bafcf7ba24aaa5830f159b355999c4bb3aaa28ea573ac7b87aa4c')
sha256sums_x86_64=('a91a827a45846022afa729e6c20ca259f3599cd7bc1e56c4bdf11141ea772b44')
prepare() {
local source_array="source_${CARCH}[0]"
local source_url="${!source_array}"
local source_artifact="${source_url##*/}"
cd "${srcdir}"
unsquashfs -f -d "${srcdir}/${source_artifact%.snap}" "${source_artifact}"
cd "${source_artifact%.snap}/meta/gui"
sed -e "s|^Icon=.*|Icon=${_pkgname}|g" \
-i "${_pkgname}.desktop"
}
package() {
local source_array="source_${CARCH}[0]"
local source_url="${!source_array}"
local source_artifact="${source_url##*/}"
cd "${srcdir}"
install -vDm644 "${_pkgsrc}-README.md" "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
install -vDm644 "${_pkgsrc}-LICENSE.md" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE.md"
install -vDm644 "${_pkgsrc}-${_pkgname}.appdata.xml" "${pkgdir}/usr/share/metainfo/${_pkgname}.appdata.xml"
cd "${source_artifact%.snap}"
install -vDm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
cd "meta/gui"
install -vDm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
install -vDm644 "${_pkgname}.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |