lizzie

LOW
maintainer apetresc 3 votes scanned 2026-11-01 00:21:48.120785
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-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

Report a package

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

0 / 4000
Your suggestion