oopsmate-git
The package downloads prebuilt NNUE network data files from a non-whitelisted but official and plausibly secure stockfishchess.org subdomain; these are static data files, not executables, used by the engine and not executed directly, so the worst-case impact of a compromised source is limited to data tampering, not code execution.
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 prebuilt NNUE network data files from a non-whitelisted but official and plausibly secure stockfishchess.org subdomain; these are static data files, not executables, used by the engine and not executed directly, so the worst-case impact of a compromised source is limited to data tampering, not code execution.
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:15
"nn-1c0000000000.nnue::https://data.stockfishchess.org/nn/nn-1c0000000000.nnue"
PKGBUILD
1 offending line(s) highlighted# Maintainer: PS-Wizard (packaged for AUR)
pkgname=oopsmate-git
pkgver=r0.0000000
pkgrel=1
pkgdesc='UCI chess engine in Rust (git)'
arch=('x86_64')
url='https://github.com/PS-Wizard/oopsmate'
license=('GPL-3.0-only')
makedepends=('git' 'rust')
provides=('oopsmate')
conflicts=('oopsmate')
source=(
"git+${url}.git"
"nn-1c0000000000.nnue::https://data.stockfishchess.org/nn/nn-1c0000000000.nnue"
"nn-37f18f62d772.nnue::https://data.stockfishchess.org/nn/nn-37f18f62d772.nnue"
)
sha256sums=(
'SKIP'
'SKIP'
'SKIP'
)
prepare() {
cd "$srcdir/oopsmate"
# The engine embeds SF17 NNUE networks via include_bytes!, but the upstream git repo
# does not track the binary `.nnue` blobs. Ship them as AUR sources and place them
# into the expected in-tree path before compiling.
install -Dm644 "$srcdir/nn-1c0000000000.nnue" \
"$srcdir/oopsmate/crates/nnuebie/archive/nnue/networks/nn-1c0000000000.nnue"
install -Dm644 "$srcdir/nn-37f18f62d772.nnue" \
"$srcdir/oopsmate/crates/nnuebie/archive/nnue/networks/nn-37f18f62d772.nnue"
}
pkgver() {
cd "$srcdir/oopsmate"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "$srcdir/oopsmate"
# Match the engine's local build flags and satisfy strikes' BMI2 requirement.
# AUR builds from source on the user's machine; `native` is intentional.
export RUSTFLAGS="${RUSTFLAGS} -C target-cpu=native -C target-feature=+avx2,+bmi2,-avx512f,-avx512vl,-avx512bw"
cargo build --release --locked --bins
}
check() {
cd "$srcdir/oopsmate"
export RUSTFLAGS="${RUSTFLAGS} -C target-cpu=native -C target-feature=+avx2,+bmi2,-avx512f,-avx512vl,-avx512bw"
cargo test --release --locked
}
package() {
cd "$srcdir/oopsmate"
install -Dm755 target/release/oops_mate "$pkgdir/usr/bin/oops_mate"
install -Dm755 target/release/oopsmate-nnue "$pkgdir/usr/bin/oopsmate-nnue"
install -Dm755 target/release/oopsmate-pesto "$pkgdir/usr/bin/oopsmate-pesto"
}
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 |