openhab2
maintainer fabianzagrajek
· 20 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source URL is hosted on openhab.jfrog.io, which is a legitimate artifact repository used by the openHAB project; the download is a source tarball for building the software, not a prebuilt executable, and the checksum is verified, so the risk is low despite the non-whitelisted 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source URL is hosted on openhab.jfrog.io, which is a legitimate artifact repository used by the openHAB project; the download is a source tarball for building the software, not a prebuilt executable, and the checksum is verified, so the risk is low despite the non-whitelisted host.
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-local/org/openhab/distro/openhab/${pkgver}/openhab-${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Christoph Scholz <christoph.scholz@gmail.com>
2
pkgname=openhab2
3
pkgver=2.5.12
4
pkgrel=1
5
pkgdesc="openHAB2 open source home automation software"
6
arch=('any')
7
url="http://www.openhab.org/"
8
license=('EPL')
9
depends=('java-runtime-headless=8' 'archlinux-java-run')
10
11
conflicts=('openhab-runtime' 'openhab-addons' 'openhab-beta')
12
13
backup=('etc/openhab2/services/addons.cfg'
14
'etc/openhab2/services/runtime.cfg'
15
'etc/default/openhab2'
16
'var/lib/openhab2/etc/keystore'
17
'var/lib/openhab2/etc/users.properties'
18
'var/lib/openhab2/etc/keys.properties')
19
20
install="${pkgname}.install"
21
22
source=("openhab-${pkgver}.tar.gz::https://openhab.jfrog.io/artifactory/libs-release-local/org/openhab/distro/openhab/${pkgver}/openhab-${pkgver}.tar.gz"
23
"openhab2.service"
24
"openhab2.default"
25
"openhab2.install"
26
"openhab2.patch"
27
"karaf_wrapper.sh")
28
29
noextract=("openhab-${pkgver}.tar.gz")
30
31
sha256sums=('24e8a71e6bc22303800163871d1c0554843fa19e9cd736e6be721aa0798bbe3a'
32
'd7bb21c0e0dc27534af29a9a5538ccbcf801b08afe41ba84be738f44456510aa'
33
'b149d976dc13dc18c62d2014457557e266e733ead70b0730d06dcd0372da78a7'
34
'c6ddfcf9d38882ef50cdff6eb9a5df4d3577c07771a8c6d91484d1d84ad63705'
35
'500118875b0a9f3a4a511bebea3aebaebaa1e8fb5fc1e5c9222e3a287530a5ab'
36
'd61ebec172e2a173dbe94f534035b55250e1b09f4cab5665d275ccfcdf3e710e')
37
38
prepare() {
39
if [[ ! -d ${srcdir}/openhab2 ]]; then
40
mkdir ${srcdir}/openhab2
41
fi
42
cd ${srcdir}/openhab2
43
tar xzf ${srcdir}/openhab-${pkgver}.tar.gz
44
patch -p1 < ../openhab2.patch
45
}
46
47
package() {
48
49
install -Dm644 openhab2.default "${pkgdir}/etc/default/openhab2"
50
install -Dm644 openhab2.service "${pkgdir}/usr/lib/systemd/system/openhab2.service"
51
install -Dm755 karaf_wrapper.sh "${pkgdir}/usr/share/openhab2/karaf_wrapper.sh"
52
53
mkdir -p "${pkgdir}/etc/openhab2"
54
cp -r ${srcdir}/openhab2/conf/* "${pkgdir}/etc/openhab2"
55
56
mkdir -p "${pkgdir}/var/lib/openhab2"
57
cp -r ${srcdir}/openhab2/userdata/* "${pkgdir}/var/lib/openhab2"
58
59
mkdir -p "${pkgdir}/usr/share"
60
cp -r "${srcdir}/openhab2" "${pkgdir}/usr/share"
61
rm -fr "${pkgdir}/usr/share/openhab2/conf"
62
rm -fr "${pkgdir}/usr/share/openhab2/userdata"
63
64
mkdir -p "${pkgdir}/var/log/openhab2"
65
66
}
67
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 |