vmdebootstrap-pureos

LOW
maintainer Auerhuhn 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is a tarball from puri.sm, a non-whitelisted but project-associated host, used to build the package from its own source; this is normal AUR packaging behavior and not inherently dangerous.

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 source is a tarball from puri.sm, a non-whitelisted but project-associated host, used to build the package from its own source; this is normal AUR packaging behavior and not inherently dangerous.

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:35 "${_gitpkgname}-${pkgver}.tar.gz::https://source.puri.sm/Librem5/vmdeboostrap/-/archive/upstream/${pkgver}/vmdeboostrap-upstream-${pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Claudia Pellegrino <aur ät cpellegrino.de>
2# Contributor: Andreas Grapentin <andreas@grapentin.org>
3
4pkgname=vmdebootstrap-pureos
5_gitpkgname="${pkgname%-pureos}"
6pkgver=1.11
7pkgrel=3
8pkgdesc='Bootstrap Debian into a (virtual machine) disk image. Custom version, required to build PureOS.'
9arch=('any')
10url='http://git.liw.fi/vmdebootstrap/'
11license=('GPL-3.0-or-later')
12depends=(
13 'debootstrap-pureos'
14 'distro-info'
15 'multipath-tools'
16 'parted'
17 'python'
18 'python-cliapp-fiw'
19 'qemu'
20 'syslinux'
21)
22makedepends=(
23 'python-build'
24 'python-installer'
25 'python-setuptools'
26 'python-sphinx'
27 'python-wheel'
28)
29provides=('vmdebootstrap')
30conflicts=('vmdebootstrap')
31options=('!debug' '!strip')
32
33source=(
34 # `vmdeboostrap` with a missing `t` is a legit typo
35 "${_gitpkgname}-${pkgver}.tar.gz::https://source.puri.sm/Librem5/vmdeboostrap/-/archive/upstream/${pkgver}/vmdeboostrap-upstream-${pkgver}.tar.gz"
36 'default_arch.patch'
37 'fix_path.patch'
38 '0001-Don-t-enforce-U-EFI-on-arm64.patch'
39 'python_3_syntax.patch'
40)
41
42sha512sums=(
43 '4fe39f6b779167d1d1ae5e02bcb9dd51d6a7e192596fc8b9ea4b737e5f510b33ebd606b38e194cd1451e445a8985f59cdb348f7c553f1c343b38c92b06c87892'
44 'f4d553b0364275809fd19f1597a149f7f8c6d4b53a654011700b2bb44b12a7bce08370488a36b359d56bfe90329b727f3f018d5670aac8c6aa3635ee26313fe7'
45 '64e32ecf6ac9089433da632b6406f3ef6da242d2443574af5a6f7d2ecdc4cb2fa3e0e366c47f890123266650dd3ccdafb797f675c96d5035aa4bd40472a7ed3c'
46 'c023215ca973d198e9067c4126252f9f9402235d22ae9d033df43fe0bc995df033620301b6ab0790964e0cd24d0d3f9bf88b2e806c0c85216dd27cf1b51775d4'
47 '1458c0c0f915ca31f6e5c4cd4e103c831ee44d82bbecdee6e6116316dd780fef2232d4160478b8f33a14afd9ccf27c36b1a2cfaf6f46da93023f8b6c5973affe'
48)
49
50prepare() {
51 # Fix typo and remove the `upstream` part
52 mv -v "vmdeboostrap-upstream-${pkgver}" \
53 "${_gitpkgname}-${pkgver}"
54 cd "${_gitpkgname}-${pkgver}"
55 patch -p1 < ../default_arch.patch
56 patch -p1 < ../fix_path.patch
57 patch -p1 < ../0001-Don-t-enforce-U-EFI-on-arm64.patch
58 patch -p1 < ../python_3_syntax.patch
59}
60
61build() {
62 cd "${_gitpkgname}-${pkgver}"
63 python -m build --wheel --no-isolation
64 make -C man man
65}
66
67package() {
68 cd "${_gitpkgname}-${pkgver}"
69 python -I -m installer --destdir="${pkgdir}" dist/*.whl
70
71 echo >&2 'Packaging the license'
72 install -D -m 644 COPYING \
73 "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
74
75 echo >&2 'Packaging the README'
76 install -D -m 644 README \
77 "${pkgdir}"/usr/share/doc/${pkgname}/README
78
79 echo >&2 'Packaging the manual'
80 install -D -m 644 -t "${pkgdir}/usr/share/man/man8" \
81 man/_build/man/vmdebootstrap.8
82}
83

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