xk-git

LOW
maintainer premysl 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a git repository from the project maintainer's own domain, which is normal for AUR packages; building from a non-whitelisted host is not inherently dangerous when it's the project's official source.

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 source is a git repository from the project maintainer's own domain, which is normal for AUR packages; building from a non-whitelisted host is not inherently dangerous when it's the project's official source.

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:22 source=("git+https://git.janouch.name/p/$_pkgname.git")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Přemysl Eric Janouch <p@janouch.name>
2pkgname=xk-git
3_pkgname=xK
4pkgver=v2.3.0.r34.g959fb15
5pkgrel=1
6pkgdesc="IRC daemon, bot, TUI client, TUI/X11 frontend"
7url="https://git.janouch.name/p/xK"
8arch=('i686' 'x86_64')
9license=('custom:0BSD')
10options=(zipman)
11conflicts=('xk')
12provides=('xk')
13makedepends=('cmake' 'pkg-config' 'git')
14depends=('openssl' 'ncurses')
15optdepends=(
16 'lua: support for Lua plugins (5.3, 5.4, 5.5, possibly newer)'
17 'libunistring: TUI/X11 frontend'
18 'libxft: X11 frontend'
19 'libpng: X11 frontend'
20 'libcanberra: X11 frontend'
21)
22source=("git+https://git.janouch.name/p/$_pkgname.git")
23sha256sums=('SKIP')
24
25pkgver() {
26 cd "$srcdir/$_pkgname"
27 ( set -o pipefail
28 git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
29 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
30 )
31}
32
33prepare() {
34 cd "$srcdir/$_pkgname"
35 git submodule init
36 git submodule update
37}
38
39build() {
40 rm -rf "$srcdir/$_pkgname-build"
41 mkdir "$srcdir/$_pkgname-build"
42 cd "$srcdir/$_pkgname-build"
43 cmake "$srcdir/$_pkgname" -DCMAKE_BUILD_TYPE=None \
44 -DCMAKE_INSTALL_PREFIX=/usr
45 make
46}
47
48package() {
49 cd "$srcdir/$_pkgname-build"
50 make install DESTDIR=$pkgdir
51 install -Dm644 "$srcdir/$_pkgname/LICENSE" \
52 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
53}
54

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