basex
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
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)
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# Maintainer: Daan van Rossum <d.r.vanrossum_at gmx.de>
# Contributor: Christopher Heien <chris.h.heien@gmail.com>
# Contributor: Lazaros Koromilas <koromilaz@gmail.com>
pkgname=basex
pkgver=12.4
pkgrel=2
pkgdesc="Light-weight, high-performance XML database system and XPath/XQuery processor."
arch=('i686' 'x86_64')
url="https://basex.org/"
license=('BSD')
makedepends=('java-environment')
depends=('java-runtime' 'bash')
source=("http://files.basex.org/releases/${pkgver}/BaseX${pkgver//./}.zip"
"basex.sh"
"BaseX.desktop")
sha1sums=('f645b5725d912d3cef6d5be9aa0ed2cd07e26124'
'b82c43d2f247d65b93b2f073543b8ceee038bfd1'
'1f2e10e989258cc41e8d516efa80801038142358')
package() {
# install profile.d script
install -dm755 ${pkgdir}/etc/profile.d || return 1
install -m755 ${srcdir}/${pkgname}.sh ${pkgdir}/etc/profile.d || return 1
# Get the BASEX_HOME env var
source ${srcdir}/${pkgname}.sh || return 1
cd ${srcdir}
install -dm755 ${pkgdir}/${BASEX_HOME}/{bin,lib,img} || return 1
# install gui shortcuts
install -dm755 ${pkgdir}/usr/share/applications || return 1
install -m755 BaseX.desktop ${pkgdir}/usr/share/applications || return 1
# install licence
install -D -m644 basex/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# extract and install logo
jar -xf basex/BaseX.jar img/logo_large-0.png
install -m644 img/logo_large-0.png ${pkgdir}/${BASEX_HOME}/img || return 1
install -m644 basex/*.jar ${pkgdir}/${BASEX_HOME} || return 1
install -m644 basex/lib/*.jar ${pkgdir}/${BASEX_HOME}/lib || return 1
cp -Rp basex/etc ${pkgdir}/${BASEX_HOME} || return 1
# Do not copy Windows .bat/.cmd files
find basex/bin -type f -a ! -name \*.bat -a ! -name \*.cmd \
-exec install -m755 {} ${pkgdir}/${BASEX_HOME}/bin \; || return 1
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |