zero-ui

maintainer Pig2014 · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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