openhab4

maintainer doits · 5 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from openhab.jfrog.io, which is a legitimate artifact repository used by the OpenHAB project; the download is of the project's own release assets, which is standard practice, so despite the non-whitelisted host, this is a normal and safe build pattern.

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 90%): The source is a tarball from openhab.jfrog.io, which is a legitimate artifact repository used by the OpenHAB project; the download is of the project's own release assets, which is standard practice, so despite the non-whitelisted host, this is a normal and safe build pattern.

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:22 source=("openhab-${pkgver}.tar.gz::https://openhab.jfrog.io/artifactory/libs-release/org/openhab/distro/openhab/${pkgver}/openhab-${pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Ben Alex <ben.alex@acegi.com.au>
2pkgname=openhab4
3pkgver=4.3.11
4pkgrel=1
5pkgdesc="openhab4 open source home automation software"
6arch=("any")
7 url="http://www.openhab.org/"
8license=("EPL")
9depends=("java-runtime-headless=17" "archlinux-java-run")
10optdepends=("openhab4-addons: add-on archives for offline use")
11
12conflicts=("openhab4-snapshot")
13
14backup=("etc/${pkgname}/services/addons.cfg"
15 "etc/${pkgname}/services/runtime.cfg"
16 "etc/default/${pkgname}"
17 "var/lib/${pkgname}/etc/keystore"
18 "var/lib/${pkgname}/etc/users.properties"
19 "var/lib/${pkgname}/etc/keys.properties")
20install="${pkgname}.install"
21
22source=("openhab-${pkgver}.tar.gz::https://openhab.jfrog.io/artifactory/libs-release/org/openhab/distro/openhab/${pkgver}/openhab-${pkgver}.tar.gz"
23 "${pkgname}.service"
24 "${pkgname}.default"
25 "${pkgname}.patch"
26 "karaf_wrapper.sh"
27 "${pkgname}.hook")
28sha256sums=('6b5a9defffe29e019cbbf86fc9bdb2b859f0e05ba338a59ae1e23f6a4e8b209c'
29 'b339bb5d1ddea2307170941033f1ace0de5bb82cdb0f4494ee00e9f9724aec85'
30 'a1df4e6fa274e23328e40f07f1f71f51150eb303045e3b53db60932e926c5b81'
31 'cf89b80d32f91c382d62c9aa9c5a033fe80bb79d453fbdd49f97cf1412468ff7'
32 'b19c995beb521af7bf7a882370396748063a5bda9fdf2f28ed36e98437e98555'
33 '602b17bf8b824df289dbd5e5eea824042b3ec38de58c76b69b4dc72d90adfe35')
34
35
36prepare() {
37 patch -p1 < ${srcdir}/${pkgname}.patch
38}
39
40package() {
41 install -Dm644 "${srcdir}/${pkgname}.default" "${pkgdir}/etc/default/${pkgname}"
42 install -Dm644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
43
44 mkdir -p "${pkgdir}/etc/${pkgname}"
45 cp -r ${srcdir}/conf/* "${pkgdir}/etc/${pkgname}"
46
47 mkdir -p "${pkgdir}/var/lib/${pkgname}/etc"
48 cp -r ${srcdir}/userdata/etc/* "${pkgdir}/var/lib/${pkgname}/etc"
49
50 mkdir -p "${pkgdir}/usr/share/${pkgname}"
51 cp -r "${srcdir}/runtime" "${pkgdir}/usr/share/${pkgname}"
52 cp -r "${srcdir}/addons" "${pkgdir}/usr/share/${pkgname}"
53 install -m755 "${srcdir}/karaf_wrapper.sh" "${pkgdir}/usr/share/${pkgname}/karaf_wrapper.sh"
54
55 mkdir -p "${pkgdir}/usr/share/libalpm/hooks"
56 install -m644 "${srcdir}/${pkgname}.hook" "${pkgdir}/usr/share/libalpm/hooks/${pkgname}.hook"
57
58 mkdir -p "${pkgdir}/var/log/${pkgname}"
59
60 echo "u ${pkgname} - - /usr/share/${pkgname}" | install -Dm644 /dev/stdin "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
61 echo "m ${pkgname} uucp" >> "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
62 echo "Z /etc/${pkgname} - ${pkgname} ${pkgname} -" | install -Dm644 /dev/stdin "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
63 echo "Z /usr/share/${pkgname} - ${pkgname} ${pkgname} -" >> "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
64 echo "Z /var/lib/${pkgname} - ${pkgname} ${pkgname} -" >> "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
65 echo "z /var/log/${pkgname} - ${pkgname} ${pkgname} -" >> "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
66 echo "z /run/lock 0775 root uucp -" >> "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
67}
68

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion