basex

LOW
maintainer drrossum 24 votes scanned 2026-09-17 00:27:14.276658
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
5pkgname=basex
6pkgver=12.4
7pkgrel=2
8pkgdesc="Light-weight, high-performance XML database system and XPath/XQuery processor."
9arch=('i686' 'x86_64')
10url="https://basex.org/"
11license=('BSD')
12makedepends=('java-environment')
13depends=('java-runtime' 'bash')
14source=("http://files.basex.org/releases/${pkgver}/BaseX${pkgver//./}.zip"
15 "basex.sh"
16 "BaseX.desktop")
17sha1sums=('f645b5725d912d3cef6d5be9aa0ed2cd07e26124'
18 'b82c43d2f247d65b93b2f073543b8ceee038bfd1'
19 '1f2e10e989258cc41e8d516efa80801038142358')
20
21package() {
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

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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