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-11-01 00:21:48 | High | 2 |
| 2026-10-31 00:07:41 | High | 2 |
| 2026-10-30 00:29:30 | High | 2 |
| 2026-10-29 00:13:55 | High | 2 |
| 2026-10-28 00:06:54 | High | 2 |
| 2026-10-27 00:23:28 | High | 2 |
| 2026-10-26 00:12:40 | High | 2 |
| 2026-10-25 00:20:48 | High | 2 |
| 2026-10-24 00:14:55 | High | 2 |
| 2026-10-23 00:02:19 | High | 2 |
| 2026-10-22 00:13:10 | High | 2 |
| 2026-10-21 00:12:50 | High | 2 |
| 2026-10-20 00:10:31 | High | 2 |
| 2026-10-19 00:03:55 | High | 2 |
| 2026-10-18 00:06:55 | High | 2 |
| 2026-10-17 00:21:55 | High | 2 |
| 2026-10-16 00:12:47 | High | 2 |
| 2026-10-15 00:28:05 | High | 2 |
| 2026-10-14 00:06:47 | High | 2 |
| 2026-10-13 00:23:45 | High | 2 |