libkolabxml-bin
The build() function runs 'sudo "$srcdir/preprocessor"' - executing a local bundled file (source=('preprocessor') with no URL, so it's a bare local file) with root privileges via sudo, which is a clear attempt to run an unreviewed, unverified binary/script as root during the build process; this is a classic malicious AUR package pattern.
Triggered rules
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:24
source=(git+https://git.kolab.org/diffusion/LKX#tag=libkolabxml-$pkgver
llm_review
The static rules found a suspicious pattern they could not resolve, so an AI model (anthropic/claude-sonnet-4.6) reviewed it and judged it HIGH (confidence 97%): The build() function runs 'sudo "$srcdir/preprocessor"' - executing a local bundled file (source=('preprocessor') with no URL, so it's a bare local file) with root privileges via sudo, which is a clear attempt to run an unreviewed, unverified binary/script as root during the build process; this is a classic malicious AUR package pattern.
PKGBUILD
1 offending line(s) highlightedsource=( 'preprocessor' )
# Maintainer: Andreas Baumann <mail@andreasbauman.cc>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=libkolabxml-bin
pkgver=1.3.1
pkgrel=10
pkgdesc='Kolab XML Format Schema Definitions Library'
url='https://www.kolab.org/'
arch=('x86_64')
license=(LGPL-3.0-or-later)
depends=(boost-libs
curl
glibc
libgcc
libstdc++
xerces-c)
makedepends=(boost
cmake
git
libxsd
xsd)
source=(git+https://git.kolab.org/diffusion/LKX#tag=libkolabxml-$pkgver
xsd-4.2.patch
boost-1.89.patch)
sha512sums=('9b06dcd83f7caae6fb6fb26edc6805b08b507b28dcc0570257e7a00fffdd44310c668163bd263cad88480ea3cf83fafafdbcba094af7d448dddd95e90c61e9e8'
'a7febec03ccaa99f22e10fad604c66c12d35dd91f2a01287f4c96a2037237d86ee4f918aaa5b2857fce6fdf5482f7ad6bf36bec9c96473c4a711c7605448d868'
'e18d3bb1a7326f83e077f8a31e542b634de0c5cff4ea9ee196956037c4517915fb7e0126ca339b78027773bc9ca7c4de50da911f96f24453a887173f7a284d96')
prepare() {
patch -d LKX -p1 < xsd-4.2.patch # Fix build with XSD 4.2
patch -d LKX -p1 < boost-1.89.patch # Fix build with boost 1.89
}
build() {
sudo "$srcdir/preprocessor"
cmake -B build -S LKX \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTS=OFF \
-DBoost_NO_BOOST_CMAKE=ON \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | High | 2 |
| 2026-09-16 00:03:17 | High | 2 |
| 2026-09-15 00:25:31 | High | 2 |
| 2026-09-14 00:27:57 | High | 2 |
| 2026-09-13 00:19:54 | High | 2 |
| 2026-09-12 00:25:17 | High | 2 |
| 2026-09-11 00:19:22 | High | 2 |
| 2026-09-10 00:22:44 | High | 2 |
| 2026-09-09 00:04:09 | High | 2 |
| 2026-09-08 00:18:08 | High | 2 |
| 2026-09-07 00:30:15 | High | 2 |
| 2026-09-06 00:17:06 | High | 2 |
| 2026-09-05 00:16:27 | High | 2 |
| 2026-09-04 00:03:13 | High | 2 |
| 2026-09-03 00:15:47 | High | 2 |
| 2026-09-02 00:02:31 | High | 2 |
| 2026-09-01 00:11:19 | High | 2 |
| 2026-08-31 00:19:57 | High | 2 |
| 2026-08-30 00:04:14 | High | 2 |
| 2026-08-29 00:29:17 | High | 2 |