uhub
maintainer orphaned
· 5 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a non-whitelisted but plausible project-related host (extatic.org), used to build the project from source; this is normal AUR packaging behavior, and the checksums are provided and verifiable, so the risk is low despite the non-standard host.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 90%): The source is a tarball from a non-whitelisted but plausible project-related host (extatic.org), used to build the project from source; this is normal AUR packaging behavior, and the checksums are provided and verifiable, so the risk is low despite the non-standard host.
2 higher static findings 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
"http://www.extatic.org/downloads/uhub/${pkgname}-${pkgver}-src.tar.bz2"
MEDIUM
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
2
# contributor: Yoran Heling <info@yorhel.nl>
3
# Contributor: Lex Black <autumn-wind@web.de>
4
5
pkgname=uhub
6
pkgver=0.5.0
7
pkgrel=6
8
pkgdesc="A hub for the ADC network."
9
arch=('x86_64')
10
license=('GPL')
11
url='http://www.uhub.org'
12
depends=(
13
'python2'
14
'libsystemd.so'
15
)
16
makedepends=('cmake')
17
source=(
18
"http://www.extatic.org/downloads/uhub/${pkgname}-${pkgver}-src.tar.bz2"
19
'systemd.patch::https://github.com/janvidar/uhub/commit/70f2a43f676cdda5961950a8d9a21e12d34993f8.patch'
20
'uhub.service'
21
'uhub.tmpfiles'
22
'uhub.sysuser'
23
)
24
sha256sums=(
25
'4596250446414e765c62fe81976041c927ea714dc6116792fd33760ac49798f5'
26
'039582eee0d99351212df47b9ad6a94443d8bc05b7f7289d63fffd19014ea561'
27
'4bf39c6265d53e1b08385c8e339c9d7b4449637c29688b1bcd2091e5c2b6c9df'
28
'94628376878d6b91c55deec62aad59ddfd9dd0d87dd4552aeeb202875f340a09'
29
'dfb3d51d95ef90e49b62cfa49d6a2cef58fb1f119f1d357f76ab1953000e5079'
30
)
31
backup=(
32
'etc/uhub/motd.txt'
33
'etc/uhub/plugins.conf'
34
'etc/uhub/rules.txt'
35
'etc/uhub/uhub.conf'
36
'etc/uhub/users.conf'
37
)
38
install=uhub.install
39
40
prepare() {
41
sed 's|/var/log/uhub.log|/var/log/uhub/uhub.log|g' \
42
-i "uhub-${pkgver}/doc/plugins.conf" \
43
-i "uhub-${pkgver}/doc/init.d.RedHat/etc/logrotate.d/uhub"
44
for i in $(find "uhub-${pkgver}/tools" -type f -name '*.py'); do sed 's|python|python2|g' -i ${i}; done
45
46
cd "uhub-${pkgver}"
47
patch -p1 -i "${srcdir}/systemd.patch"
48
}
49
50
build() {
51
cmake -S "uhub-${pkgver}" -B build \
52
-DCMAKE_BUILD_TYPE=Release \
53
-DCMAKE_INSTALL_PREFIX=/usr \
54
-DSYSTEMD_SUPPORT=ON
55
56
cmake --build build
57
}
58
59
package() {
60
DESTDIR="${pkgdir}" cmake --install build
61
62
install -Dm644 "uhub-${pkgver}/doc/users.conf" "${pkgdir}/etc/uhub/users.conf"
63
touch "${pkgdir}/etc/uhub/motd.txt"
64
65
install -Dm644 "${srcdir}/uhub.service" "${pkgdir}/usr/lib/systemd/system/uhub.service"
66
install -Dm644 "${srcdir}/uhub.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/uhub.conf"
67
install -Dm644 "${srcdir}/uhub.sysuser" "${pkgdir}/usr/lib/sysusers.d/uhub.conf"
68
69
install -Dm644 "uhub-${pkgver}/doc/init.d.RedHat/etc/logrotate.d/uhub" "${pkgdir}/etc/logrotate.d/uhub"
70
71
install -Dm644 "uhub-${pkgver}/doc/uhub.1" "${pkgdir}/usr/share/man/man1/uhub.1"
72
install -Dm644 "uhub-${pkgver}/doc/uhub-passwd.1" "${pkgdir}/usr/share/man/man1/uhub-passwd.1"
73
74
install -Dm644 "uhub-${pkgver}/doc/architecture.txt" "${pkgdir}/usr/share/doc/uhub/architecture.txt"
75
install -Dm644 "uhub-${pkgver}/doc/extensions.txt" "${pkgdir}/usr/share/doc/uhub/extensions.txt"
76
install -Dm644 "uhub-${pkgver}/doc/getstarted.txt" "${pkgdir}/usr/share/doc/uhub/getstarted.txt"
77
78
cd "uhub-${pkgver}"
79
for i in $(find tools -type f); do install -Dm755 ${i} "${pkgdir}/usr/share/uhub/${i}"; done
80
81
install -d 750 "${pkgdir}/var/log/uhub"
82
}
83
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 3 |
| 2026-08-02 00:16:08 | LOW | 3 |
| 2026-08-01 00:11:18 | LOW | 3 |
| 2026-07-31 00:14:10 | LOW | 3 |
| 2026-07-30 00:17:23 | LOW | 3 |
| 2026-07-29 00:25:53 | LOW | 3 |
| 2026-07-28 00:07:28 | LOW | 3 |
| 2026-07-27 00:24:32 | LOW | 3 |
| 2026-07-26 00:07:32 | LOW | 3 |
| 2026-07-25 00:13:44 | LOW | 3 |
| 2026-07-24 00:02:28 | LOW | 3 |
| 2026-07-23 00:14:47 | LOW | 3 |
| 2026-07-22 00:29:32 | LOW | 3 |
| 2026-07-21 00:24:15 | LOW | 3 |
| 2026-07-20 00:19:49 | LOW | 3 |
| 2026-07-19 00:17:08 | LOW | 3 |
| 2026-07-18 01:56:03 | MEDIUM | 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 |