lizzie

maintainer apetresc · 3 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The download from zero.sjeng.org is a neural network weights file (data) for Leela Zero, not executable code; the worst case of a swapped file is degraded AI performance, not code execution, and the project plausibly uses this host for such data.

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 download from zero.sjeng.org is a neural network weights file (data) for Leela Zero, not executable code; the worst case of a swapped file is degraded AI performance, not code execution, and the project plausibly uses this host for such data.

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:16 'lznetwork.gz::https://zero.sjeng.org/networks/0e9ea880fd3c4444695e8ff4b8a36310d2c03f7c858cadd37af3b76df1d1d15f.gz')

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Adrian Petrescu <adrian@apetre.sc>
2# Contributor: algebro <algebro@tuta.io>
3
4pkgname=lizzie
5pkgver=0.7.4
6pkgrel=2
7pkgdesc="Analysis interface for Leela Zero"
8arch=('x86_64')
9url="https://github.com/featurecat/lizzie"
10license=('GPLv3')
11depends=('bash' 'java-runtime' 'leela-zero')
12makedepends=('git' 'maven' 'curl')
13source=("https://github.com/featurecat/lizzie/archive/${pkgver}.tar.gz"
14 'lizzie.sh'
15 'lizzie.desktop'
16 'lznetwork.gz::https://zero.sjeng.org/networks/0e9ea880fd3c4444695e8ff4b8a36310d2c03f7c858cadd37af3b76df1d1d15f.gz')
17noextract=('lznetwork.gz')
18sha256sums=('9c984ebe6c44f5b4798c3396dabd337f335a91c5eca890bd03f6abef974e4c91'
19 '100e1c567f150ad64f0925c84ce773c2afe0b6fc780a39e31bdf77c19adc2bed'
20 'cf5d1651023f04294e580243aa7ef05bc9ebedb468631f4035fd3d5ce0f212f0'
21 '6937f00970b368c3a7f686f7152d3c0fc491a1ad580258c257de4d2bc58ac00d')
22
23prepare() {
24 cd $srcdir/$pkgname-$pkgver
25
26 # Use leela-zero-git's weights file instead of downloading a new one just for `mvn test`
27 ln -sf /usr/share/leela-zero/networks/weights.txt network.gz
28}
29
30build() {
31 cd $srcdir/$pkgname-$pkgver
32
33 mvn package -DskipTests
34}
35
36check() {
37 cd $srcdir/$pkgname-$pkgver
38
39 mvn test
40}
41
42package() {
43 install -Dm644 "$pkgname-$pkgver"/target/lizzie-"$pkgver"-shaded.jar "$pkgdir"/usr/share/java/"$pkgname"/"$pkgname".jar
44 install -Dm755 "$pkgname".sh "$pkgdir"/usr/bin/"$pkgname"
45 install -Dm644 "$pkgname".desktop "$pkgdir"/usr/share/applications/"$pkgname".desktop
46 install -Dm644 lznetwork.gz "$pkgdir"/usr/local/share/lizzie/lznetwork.gz
47}
48

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