vagga-bin

MEDIUM
maintainer antigluk 4 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The PKGBUILD fetches a prebuilt binary tarball from files.zerogw.com (a personal/project host, not an official distribution mirror) outside of the source=() array, meaning no checksums are verified by makepkg. The version is dynamically resolved at build time by scraping an HTML page, and the downloaded tarball is extracted and installed via a shell script (install.sh) — all executed code from an unverified, non-reproducible source. This is a genuine supply-chain concern: if files.zerogw.com is compromised or the content is swapped, arbitrary binaries would be installed with no integrity check. The curl command also has a bug (-O and the URL are swapped, so the pipe to tar would fail), but the security concern about unverified binary execution from a non-official host remains valid regardless. This is a real medium-severity supply-chain risk, not a false positive.

Triggered rules

Medium External download from an untrusted host, not in source=() external_download_not_in_source

curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.

  • PKGBUILD:5 curl -s http://files.zerogw.com/vagga/latest-testing.html | sed -e 's/<[^>]*>//g' -e 's/vagga-//g' -e 's/.tar.xz//g'
  • PKGBUILD:33 curl -O vagga.tar.xz "http://files.zerogw.com/vagga/vagga-`vagga_source_version`.tar.xz" | tar -xJ -C "$pkgname"
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD fetches a prebuilt binary tarball from files.zerogw.com (a personal/project host, not an official distribution mirror) outside of the source=() array, meaning no checksums are verified by makepkg. The version is dynamically resolved at build time by scraping an HTML page, and the downloaded tarball is extracted and installed via a shell script (install.sh) — all executed code from an unverified, non-reproducible source. This is a genuine supply-chain concern: if files.zerogw.com is compromised or the content is swapped, arbitrary binaries would be installed with no integrity check. The curl command also has a bug (-O and the URL are swapped, so the pipe to tar would fail), but the security concern about unverified binary execution from a non-official host remains valid regardless. This is a real medium-severity supply-chain risk, not a false positive.

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Roman Rader <antigluk@gmail.com>
2pkgname=vagga-bin
3
4vagga_source_version() {
5 curl -s http://files.zerogw.com/vagga/latest-testing.html | sed -e 's/<[^>]*>//g' -e 's/vagga-//g' -e 's/.tar.xz//g'
6}
7pkgver() {
8 vagga_source_version | tr '-' '_'
9}
10pkgver=0.8.0_85_g0c7e8a4
11pkgrel=1
12pkgdesc="Vagga is a containerisation tool without daemons"
13arch=('i686' 'x86_64')
14url="http://vagga.readthedocs.org"
15license=('MIT')
16depends=('shadow')
17makedepends=()
18checkdepends=()
19optdepends=()
20provides=()
21conflicts=()
22replaces=()
23backup=()
24options=()
25install=vagga.install
26changelog=
27source=()
28noextract=()
29
30prepare() {
31 [ -d "$pkgname" ] && rm -r "$pkgname"
32 mkdir "$pkgname"
33 curl -O vagga.tar.xz "http://files.zerogw.com/vagga/vagga-`vagga_source_version`.tar.xz" | tar -xJ -C "$pkgname"
34}
35
36package() {
37 cd "$pkgname"/vagga
38 export DESTDIR="$pkgdir"
39 export PREFIX=/usr
40 bash install.sh
41}
42

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2
2026-10-14 00:06:47 Medium 2
2026-10-13 00:23:45 Medium 2

Report a package

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

0 / 4000
Your suggestion