debootstrap-pureos
maintainer Auerhuhn
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's official GitLab instance (source.puri.sm), which is plausibly the project's own infrastructure; building from a non-whitelisted but official-looking host is normal for AUR packages and does not imply supply-chain risk.
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 the project's official GitLab instance (source.puri.sm), which is plausibly the project's own infrastructure; building from a non-whitelisted but official-looking host is normal for AUR packages and does not imply supply-chain risk.
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:18
"${_gitpkgname}-${pkgver}.tar.gz::https://source.puri.sm/pureos/core/debootstrap/-/archive/${pkgver}/debootstrap-${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Claudia Pellegrino <aur ät cpellegrino.de>
2
# Contributor: Felix Yan <felixonmars@archlinux.org>
3
4
pkgname=debootstrap-pureos
5
_gitpkgname="${pkgname%-pureos}"
6
pkgver=1.0.141pureos1
7
pkgrel=1
8
pkgdesc='Bootstrap a basic Debian system. Custom version, required to build PureOS.'
9
arch=('any')
10
url='https://source.puri.sm/pureos/core/debootstrap'
11
license=('GPL-2.0-only')
12
depends=('bash' 'binutils' 'perl' 'wget')
13
provides=('debootstrap')
14
conflicts=('debootstrap')
15
options=('!debug' '!strip')
16
17
source=(
18
"${_gitpkgname}-${pkgver}.tar.gz::https://source.puri.sm/pureos/core/debootstrap/-/archive/${pkgver}/debootstrap-${pkgver}.tar.gz"
19
'arch-detect.patch'
20
)
21
22
sha512sums=('c78e112fb768b828b336cb0573fa0efa987627169bf438c8b721349128897a300f0365d61f1a6d12343ea7957c21fda7a4b4cfdd0c899c461a94cddab60f9eed'
23
'd70a9d096d1692f71970cc818515bd783a6031bfe2d2857134eabf6fd36e4137152ebafa8e2d4ae7c8cb442c8532cd4192715b286e38b4d947b0b467e9ed54a5')
24
25
prepare() {
26
cd "${_gitpkgname}-${pkgver}"
27
28
sed -i 's/sbin/bin/g' Makefile
29
30
# Debian defaults
31
sed -i 's|export PATH|export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"|' debootstrap
32
33
# Detect architecture
34
patch -p1 -i ../arch-detect.patch
35
}
36
37
package() {
38
cd "${_gitpkgname}-${pkgver}"
39
make DESTDIR="${pkgdir}" install
40
install -Dm644 debootstrap.8 "${pkgdir}"/usr/share/man/man8/debootstrap.8
41
}
42
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |