libkolabxml-bin

maintainer masontammerijn · 0 votes · scanned 2026-08-03 00:08:14.047287
HIGH
View on AUR ↗
Why flagged 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

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:24 source=(git+https://git.kolab.org/diffusion/LKX#tag=libkolabxml-$pkgver
LOW Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

HIGH AI review of an ambiguous pattern 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) highlighted
1source=( 'preprocessor' )
2# Maintainer: Andreas Baumann <mail@andreasbauman.cc>
3# Contributor: Felix Yan <felixonmars@archlinux.org>
4# Contributor: Andrea Scarpino <andrea@archlinux.org>
5
6pkgname=libkolabxml-bin
7pkgver=1.3.1
8pkgrel=10
9pkgdesc='Kolab XML Format Schema Definitions Library'
10url='https://www.kolab.org/'
11arch=('x86_64')
12license=(LGPL-3.0-or-later)
13depends=(boost-libs
14 curl
15 glibc
16 libgcc
17 libstdc++
18 xerces-c)
19makedepends=(boost
20 cmake
21 git
22 libxsd
23 xsd)
24source=(git+https://git.kolab.org/diffusion/LKX#tag=libkolabxml-$pkgver
25 xsd-4.2.patch
26 boost-1.89.patch)
27sha512sums=('9b06dcd83f7caae6fb6fb26edc6805b08b507b28dcc0570257e7a00fffdd44310c668163bd263cad88480ea3cf83fafafdbcba094af7d448dddd95e90c61e9e8'
28 'a7febec03ccaa99f22e10fad604c66c12d35dd91f2a01287f4c96a2037237d86ee4f918aaa5b2857fce6fdf5482f7ad6bf36bec9c96473c4a711c7605448d868'
29 'e18d3bb1a7326f83e077f8a31e542b634de0c5cff4ea9ee196956037c4517915fb7e0126ca339b78027773bc9ca7c4de50da911f96f24453a887173f7a284d96')
30
31prepare() {
32 patch -d LKX -p1 < xsd-4.2.patch # Fix build with XSD 4.2
33 patch -d LKX -p1 < boost-1.89.patch # Fix build with boost 1.89
34}
35
36build() {
37 sudo "$srcdir/preprocessor"
38 cmake -B build -S LKX \
39 -DCMAKE_INSTALL_PREFIX=/usr \
40 -DBUILD_TESTS=OFF \
41 -DBoost_NO_BOOST_CMAKE=ON \
42 -DCMAKE_POLICY_VERSION_MINIMUM=3.5
43 cmake --build build
44}
45
46package() {
47 DESTDIR="$pkgdir" cmake --install build
48}
49
50

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 HIGH 3
2026-08-02 00:16:08 HIGH 3
2026-08-01 13:24:03 HIGH 3
2026-08-01 13:20:32 MEDIUM 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion