zero-ui

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

The package builds from a public git repository and uses a non-whitelisted npm mirror for dependencies, but this is a common practice for speeding up builds and does not introduce malicious behavior; the final installed files are built locally and the source is transparent.

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 package builds from a public git repository and uses a non-whitelisted npm mirror for dependencies, but this is a common practice for speeding up builds and does not introduce malicious behavior; the final installed files are built locally and the source is transparent.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium Package install from an untrusted index/registry host install_untrusted_index

An install command is pointed at a custom package index / registry on a non-allowlisted host (--index-url / --registry / --extra-index-url), a classic dependency-confusion vector.

  • PKGBUILD:32 yarn config set npmRegistryServer "https://registry.npmmirror.com"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Catty Steve <cattysteve89265@163.com>
2
3pkgname=zero-ui
4pkgver=r304.6f7bc6c
5pkgrel=1
6pkgdesc='Zerotier Controller UI'
7arch=('x86_64')
8url='https://github.com/dec0dOS/zero-ui'
9license=('GPL')
10depends=('nodejs' 'zerotier-one')
11makedepends=('yarn-berry')
12source=("zero-ui"::'git+https://github.com/dec0dOS/zero-ui'
13 zero-ui.service
14 zero-ui.conf)
15sha256sums=('SKIP'
16 '496b4bc39ea3bc19f25336d034e13a185c505e716963908ffaabaaad39ba3910'
17 'e0534833f2eb8ecb56c2b9bbb4c09fc315b065c0c67b298d2dc13f116ce7f57a')
18
19pkgver() {
20 cd "$srcdir/zero-ui"
21 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
22}
23
24build() {
25 cd "$srcdir/zero-ui"
26 mkdir -p app/frontend
27 mkdir -p app/backend
28 cp yarn.lock .yarnrc.yml app/frontend
29 #cp -r .yarn app/frontend/.yarn
30 cp ./frontend/package*.json app/frontend
31 cd "app/frontend"
32 yarn config set npmRegistryServer "https://registry.npmmirror.com"
33 yarn config set checksumBehavior "ignore"
34 yarn install
35 cd "$srcdir/zero-ui"
36 cp -r frontend app/
37 cd "app/frontend"
38 yarn build
39 cd "$srcdir/zero-ui"
40 cp yarn.lock .yarnrc.yml app/backend
41 #cp -r .yarn app/backend/.yarn
42 cp ./backend/package*.json app/backend
43 cd "app/backend"
44 yarn install
45 cd "$srcdir/zero-ui"
46 cp -r backend app/
47}
48
49package() {
50 mkdir -p "$pkgdir/usr/share/webapps/zero-ui/frontend"
51 mkdir -p "$pkgdir/usr/lib/systemd/system"
52 mkdir -p "$pkgdir/etc"
53 cp -r "$srcdir/zero-ui/app/frontend/build" "$pkgdir/usr/share/webapps/zero-ui/frontend/build"
54 cp -r "$srcdir/zero-ui/app/backend" "$pkgdir/usr/share/webapps/zero-ui/backend"
55 cp "$srcdir/zero-ui.service" "$pkgdir/usr/lib/systemd/system/"
56 cp "$srcdir/zero-ui.conf" "$pkgdir/etc/zero-ui.conf"
57}
58
59# vim:set sts=4 sw=4 et:
60

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