zero-ui

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