sonarqube-bin

LOW
maintainer lapsus 24 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt binary from the official vendor's domain (binaries.sonarsource.com), which is the project's legitimate distribution infrastructure, making it a standard and trustworthy source despite not being on a whitelist.

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 95%): The package downloads a prebuilt binary from the official vendor's domain (binaries.sonarsource.com), which is the project's legitimate distribution infrastructure, making it a standard and trustworthy source despite not being on a whitelist.

2 higher static findings superseded - not the current verdict (shown for transparency)
Medium External download from an untrusted host, not in source=() external_download_not_in_source

curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.

  • PKGBUILD:30 curl -fsSL 'https://binaries.sonarsource.com/s3api?delimiter=/&prefix=Distribution/sonarqube/' |
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:19 source=("https://binaries.sonarsource.com/Distribution/${_pkgname}/${_pkgname}-${pkgver}.zip"

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Yakov Till <yakov.till@gmail.com>
2# Contributor: ksj podhorsky.ksj@gmail.com
3# Contributor: ParaSait <parasait at proton dot me>
4
5_pkgname=sonarqube
6pkgname=sonarqube-bin
7pkgver=26.9.0.129388
8pkgrel=1
9pkgdesc="An open source platform for continuous inspection of code quality (Community Build)"
10arch=('x86_64')
11url="https://www.sonarsource.com/products/sonarqube/"
12license=('LGPL-3.0-only')
13depends=('java-runtime>=17')
14optdepends=('postgresql: A sophisticated object-relational DBMS')
15backup=("etc/webapps/${_pkgname}/sonar.properties")
16conflicts=("${_pkgname}" "${_pkgname}-lts")
17provides=("${_pkgname}")
18options=('!strip' '!debug')
19source=("https://binaries.sonarsource.com/Distribution/${_pkgname}/${_pkgname}-${pkgver}.zip"
20 "${_pkgname}.service"
21 "${_pkgname}.tmpfiles"
22 "${_pkgname}.sysusers")
23install="sonarqube-bin.install"
24sha256sums=('b7306f5ecfa6806753bc0eb0dc4ea11fe0ddd2c5a346592718814d6ec35b88cb'
25 '58c0b2b9ae96a5901b8face8e35481e4c9a7feebdab6b21023805f6814a2fa98'
26 'b0204a7b86289929765c651627e9b55d02ae1f0da34184d2c05c7929d1222932'
27 '198fab7e6a5e9aeab55d080e5b7133be0e315706b159ebfbfb3126ddaf355aa4')
28
29latestver() {
30 curl -fsSL 'https://binaries.sonarsource.com/s3api?delimiter=/&prefix=Distribution/sonarqube/' |
31 grep -oP 'Distribution/sonarqube/sonarqube-\K[0-9.]+(?=\.zip</Key>)' | sort -Vu | tail -1
32}
33
34package() {
35 cd "${srcdir}/${_pkgname}-${pkgver}"
36
37 # Copy everything except conf and logs to /usr/share/webapps/sonarqube.
38 install -dm755 "${pkgdir}/usr/share/webapps/${_pkgname}"
39 cp -dr --no-preserve=ownership {bin,data,elasticsearch,extensions,lib,temp,web} "${pkgdir}/usr/share/webapps/${_pkgname}/"
40
41 # Remove non-Linux platform files.
42 rm -rf "${pkgdir}/usr/share/webapps/${_pkgname}/bin/macosx-universal-64"
43 rm -rf "${pkgdir}/usr/share/webapps/${_pkgname}/bin/windows-x86-64"
44 rm -f "${pkgdir}/usr/share/webapps/${_pkgname}"/elasticsearch/bin/*.bat
45 rm -f "${pkgdir}/usr/share/webapps/${_pkgname}"/elasticsearch/bin/*.exe
46 rm -rf "${pkgdir}/usr/share/webapps/${_pkgname}/elasticsearch/lib/platform/windows-x64"
47 rm -rf "${pkgdir}/usr/share/webapps/${_pkgname}/elasticsearch/lib/platform/darwin-aarch64"
48 rm -rf "${pkgdir}/usr/share/webapps/${_pkgname}/elasticsearch/lib/platform/darwin-x64"
49 rm -rf "${pkgdir}/usr/share/webapps/${_pkgname}/elasticsearch/lib/platform/linux-aarch64"
50 rm -rf "${pkgdir}/usr/share/webapps/${_pkgname}/elasticsearch/lib/tools/windows-service-cli"
51 rm -rf "${pkgdir}/usr/share/webapps/${_pkgname}/bin/winsw-license"
52
53 # ES config files ship as 640; fix so the sonarqube user can read them at runtime.
54 chmod 644 "${pkgdir}/usr/share/webapps/${_pkgname}"/elasticsearch/config/*
55
56 # Install the license.
57 install -Dm644 "COPYING" "${pkgdir}/usr/share/doc/${_pkgname}/COPYING"
58
59 # Install the configuration files to /etc/webapps/sonarqube.
60 install -Dm644 "conf/sonar.properties" "${pkgdir}/etc/webapps/${_pkgname}/sonar.properties"
61
62 # Install the systemd configuration and service files.
63 cd "${srcdir}"
64 install -Dm644 "${_pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${_pkgname}.service"
65 install -Dm644 "${_pkgname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${_pkgname}.conf"
66 install -Dm644 "${_pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${_pkgname}.conf"
67
68 # Create symbolic links because SonarQube expects a specific directory layout.
69 ln -s "/var/log/${_pkgname}" "${pkgdir}/usr/share/webapps/${_pkgname}/logs"
70 ln -s "/run/${_pkgname}" "${pkgdir}/usr/share/webapps/${_pkgname}/run"
71 ln -s "/etc/webapps/${_pkgname}" "${pkgdir}/usr/share/webapps/${_pkgname}/conf"
72 rm -rf "${pkgdir}/usr/share/webapps/${_pkgname}/temp"
73 ln -s "/var/lib/${_pkgname}/temp" "${pkgdir}/usr/share/webapps/${_pkgname}/temp"
74 rm -rf "${pkgdir}/usr/share/webapps/${_pkgname}/data"
75 ln -s "/var/lib/${_pkgname}/data" "${pkgdir}/usr/share/webapps/${_pkgname}/data"
76 ln -s "/var/lib/${_pkgname}/downloads" "${pkgdir}/usr/share/webapps/${_pkgname}/extensions/downloads"
77}
78

Changes since previous scan

--- PKGBUILD @ 2026-08-12 00:27
+++ PKGBUILD @ 2026-09-17 00:27
@@ -4,7 +4,7 @@
_pkgname=sonarqube
pkgname=sonarqube-bin
-pkgver=26.8.0.126808
+pkgver=26.9.0.129388
pkgrel=1
pkgdesc="An open source platform for continuous inspection of code quality (Community Build)"
arch=('x86_64')
@@ -21,7 +21,7 @@
"${_pkgname}.tmpfiles"
"${_pkgname}.sysusers")
install="sonarqube-bin.install"
-sha256sums=('ea1c5c1932f9c25350eafc4cdb1a839527c117e5d98b5fcf222a715b6b50a1f2'
+sha256sums=('b7306f5ecfa6806753bc0eb0dc4ea11fe0ddd2c5a346592718814d6ec35b88cb'
'58c0b2b9ae96a5901b8face8e35481e4c9a7feebdab6b21023805f6814a2fa98'
'b0204a7b86289929765c651627e9b55d02ae1f0da34184d2c05c7929d1222932'
'198fab7e6a5e9aeab55d080e5b7133be0e315706b159ebfbfb3126ddaf355aa4')

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 3
2026-09-16 00:03:17 Low 3
2026-09-15 00:25:31 Low 3
2026-09-14 00:27:57 Low 3
2026-09-13 00:19:54 Low 3
2026-09-12 00:25:17 Low 3
2026-09-11 00:19:22 Low 3
2026-09-10 00:22:44 Low 3
2026-09-09 00:04:09 Low 3
2026-09-08 00:18:08 Low 3
2026-09-07 00:30:15 Low 3
2026-09-06 00:17:06 Low 3
2026-09-05 00:16:27 Low 3
2026-09-04 00:03:13 Low 3
2026-09-03 00:15:47 Low 3
2026-09-02 13:50:58 Medium 2
2026-08-12 00:27:08 Clean 3
2026-08-11 19:21:46 Medium 2
2026-08-11 00:07:57 Low 3
2026-08-10 00:09:14 Low 3

Report a package

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

0 / 4000
Your suggestion