katago-opencl

maintainer flovo · 8 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from a legitimate project source (GitHub) and downloads pre-trained model files from the project's official media host; while the host is not on a standard whitelist, it is plausibly project-owned, and the model files are data, not executable code, so the worst case of a swap is limited to model integrity, not remote code execution.

Triggered rules

LOW AI review downgraded a static finding 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 90%): The package builds from a legitimate project source (GitHub) and downloads pre-trained model files from the project's official media host; while the host is not on a standard whitelist, it is plausibly project-owned, and the model files are data, not executable code, so the worst case of a swap is limited to model integrity, not remote code execution.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM source=() URL on a non-standard host 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:14 "kata1-b18c384nbt-s9644029184-d4221915864.bin.gz::https://media.katagotraining.org/uploaded/networks/models/kata1/kata1-b18c384nbt-s9644029184-d4221915864.bin.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: flovo <flovo-git-commit at f-voegele dot de>
2
3pkgname=katago-opencl
4pkgver=1.15.1
5pkgrel=1
6pkgdesc="Baduk engine with no human-provided knowledge."
7arch=('x86_64')
8provides=("katago")
9url="https://github.com/lightvector/KataGo"
10license=('MIT')
11depends=('libzip' 'ocl-icd' 'boost-libs')
12makedepends=('git' 'opencl-headers' 'cmake' 'boost')
13source=("${pkgname}::git+https://github.com/lightvector/KataGo#tag=v${pkgver}"
14 "kata1-b18c384nbt-s9644029184-d4221915864.bin.gz::https://media.katagotraining.org/uploaded/networks/models/kata1/kata1-b18c384nbt-s9644029184-d4221915864.bin.gz"
15 "kata1-b18c384nbt-s9613886976-d4214024973.bin.gz::https://media.katagotraining.org/uploaded/networks/models/kata1/kata1-b18c384nbt-s9613886976-d4214024973.bin.gz")
16sha512sums=('SKIP'
17 '43e24435e3691aeb095905362420736623153eae8982b54288fb5cc94e1f9d0ab120f9d75e35c8d696e00ea877dc7fcbc8dbb68b4b7038f2bd285fe0719f6359'
18 '1feb96d870b044832cd7ab33c08d12727d9baf3f649df3e72200f7407eb90531243e2fe287d398e996b5b5f5461334e949d0fd6b916bbd79709e89dd41c6b80c')
19
20prepare() {
21 cd $srcdir/$pkgname
22 git submodule init
23}
24
25build() {
26 cd $srcdir/$pkgname/cpp
27 cmake . -DBUILD_MCTS=1 -DUSE_BACKEND=OPENCL
28 make
29}
30
31package() {
32 cd $srcdir/$pkgname
33 install -Dm755 cpp/katago $pkgdir/usr/bin/katago
34 install -Dm644 $srcdir/kata1-b18c384nbt-s9644029184-d4221915864.bin.gz $pkgdir/usr/share/katago/networks/latest_net.bin.gz
35 install -Dm644 $srcdir/kata1-b18c384nbt-s9613886976-d4214024973.bin.gz $pkgdir/usr/share/katago/networks/strongest_conf.bin.gz
36 install -Dm644 $srcdir/katago-opencl/LICENSE $pkgdir/usr/share/licenses/katago-opencl/LICENSE
37}
38

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion