basex
maintainer drrossum
· 24 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a source ZIP from the project's official domain (files.basex.org), which is not on standard whitelists but is legitimate for the project; the archive is checksummed and contains only buildable Java binaries and resources, with no evidence of remote code execution or obfuscation.
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 source ZIP from the project's official domain (files.basex.org), which is not on standard whitelists but is legitimate for the project; the archive is checksummed and contains only buildable Java binaries and resources, with no evidence of remote code execution or obfuscation.
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:14
source=("http://files.basex.org/releases/${pkgver}/BaseX${pkgver//./}.zip"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Daan van Rossum <d.r.vanrossum_at gmx.de>
2
# Contributor: Christopher Heien <chris.h.heien@gmail.com>
3
# Contributor: Lazaros Koromilas <koromilaz@gmail.com>
4
5
pkgname=basex
6
pkgver=12.4
7
pkgrel=2
8
pkgdesc="Light-weight, high-performance XML database system and XPath/XQuery processor."
9
arch=('i686' 'x86_64')
10
url="https://basex.org/"
11
license=('BSD')
12
makedepends=('java-environment')
13
depends=('java-runtime' 'bash')
14
source=("http://files.basex.org/releases/${pkgver}/BaseX${pkgver//./}.zip"
15
"basex.sh"
16
"BaseX.desktop")
17
sha1sums=('f645b5725d912d3cef6d5be9aa0ed2cd07e26124'
18
'b82c43d2f247d65b93b2f073543b8ceee038bfd1'
19
'1f2e10e989258cc41e8d516efa80801038142358')
20
21
package() {
22
# install profile.d script
23
install -dm755 ${pkgdir}/etc/profile.d || return 1
24
install -m755 ${srcdir}/${pkgname}.sh ${pkgdir}/etc/profile.d || return 1
25
26
# Get the BASEX_HOME env var
27
source ${srcdir}/${pkgname}.sh || return 1
28
29
cd ${srcdir}
30
install -dm755 ${pkgdir}/${BASEX_HOME}/{bin,lib,img} || return 1
31
32
# install gui shortcuts
33
install -dm755 ${pkgdir}/usr/share/applications || return 1
34
install -m755 BaseX.desktop ${pkgdir}/usr/share/applications || return 1
35
36
# install licence
37
install -D -m644 basex/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
38
39
# extract and install logo
40
jar -xf basex/BaseX.jar img/logo_large-0.png
41
install -m644 img/logo_large-0.png ${pkgdir}/${BASEX_HOME}/img || return 1
42
43
install -m644 basex/*.jar ${pkgdir}/${BASEX_HOME} || return 1
44
install -m644 basex/lib/*.jar ${pkgdir}/${BASEX_HOME}/lib || return 1
45
cp -Rp basex/etc ${pkgdir}/${BASEX_HOME} || return 1
46
47
# Do not copy Windows .bat/.cmd files
48
find basex/bin -type f -a ! -name \*.bat -a ! -name \*.cmd \
49
-exec install -m755 {} ${pkgdir}/${BASEX_HOME}/bin \; || return 1
50
}
51
Changes since previous scan
--- PKGBUILD @ 2026-07-21 00:24+++ PKGBUILD @ 2026-08-03 00:08@@ -3,7 +3,7 @@ # Contributor: Lazaros Koromilas <koromilaz@gmail.com> pkgname=basex-pkgver=12.2+pkgver=12.4 pkgrel=2 pkgdesc="Light-weight, high-performance XML database system and XPath/XQuery processor." arch=('i686' 'x86_64')@@ -14,7 +14,7 @@ source=("http://files.basex.org/releases/${pkgver}/BaseX${pkgver//./}.zip" "basex.sh" "BaseX.desktop")-sha1sums=('af867f03a117d5c7a9b6f6c020219728483dee2b'+sha1sums=('f645b5725d912d3cef6d5be9aa0ed2cd07e26124' 'b82c43d2f247d65b93b2f073543b8ceee038bfd1' '1f2e10e989258cc41e8d516efa80801038142358') 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 13:17:02 | MEDIUM | 1 |
| 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 |