katago-cpu

LOW
maintainer flovo 4 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The non-standard host downloads model weights (data files) for the Baduk engine, not executable code; these are used as input data and not executed, so the worst case of a malicious swap is model tampering, not 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 95%): The non-standard host downloads model weights (data files) for the Baduk engine, not executable code; these are used as input data and not executed, so the worst case of a malicious swap is model tampering, not 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-cpu
4pkgver=1.15.1
5pkgrel=1
6pkgdesc="Baduk engine with no human-provided knowledge. This package is compiles katago with CPU and AVX2 support."
7arch=('x86_64')
8provides=("katago")
9url="https://github.com/lightvector/KataGo"
10license=('MIT')
11depends=('libzip' 'boost-libs')
12makedepends=('git' 'cmake' 'boost' 'eigen')
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')
19prepare() {
20 cd $srcdir/$pkgname
21 git submodule init
22}
23
24build() {
25 cd $srcdir/$pkgname/cpp
26 cmake . -DBUILD_MCTS=1 -DUSE_BACKEND=EIGEN -DUSE_AVX2=1
27 make
28}
29
30package() {
31 cd $srcdir/$pkgname
32 install -Dm755 cpp/katago $pkgdir/usr/bin/katago
33# install -Dm644 $srcdir/g170e-b20c256x2-s5303129600-d1228401921.bin.gz $pkgdir/usr/share/katago/networks/weights-b20.bin.gz
34# install -Dm644 $srcdir/g170-b30c320x2-s4824661760-d1229536699.bin.gz $pkgdir/usr/share/katago/networks/weights-b30.bin.gz
35# install -Dm644 $srcdir/g170-b40c256x2-s5095420928-d1229425124.bin.gz $pkgdir/usr/share/katago/networks/weights-b40.bin.gz
36 install -Dm644 $srcdir/kata1-b18c384nbt-s9644029184-d4221915864.bin.gz $pkgdir/usr/share/katago/networks/latest_net.bin.gz
37 install -Dm644 $srcdir/kata1-b18c384nbt-s9613886976-d4214024973.bin.gz $pkgdir/usr/share/katago/networks/strongest_conf.bin.gz
38 install -Dm644 $srcdir/katago-cpu/LICENSE $pkgdir/usr/share/licenses/katago-opencl/LICENSE
39}
40
41

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion