kitshell-git

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

The PKGBUILD builds the project from its own Git source, uses rustup and cargo to install a build-time codegen tool (flutter_rust_bridge_codegen) required for the build, and does not execute untrusted prebuilt binaries or install runtime dependencies via cargo; this is a normal part of building a Flutter/Rust project, not a supply-chain risk.

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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The PKGBUILD builds the project from its own Git source, uses rustup and cargo to install a build-time codegen tool (flutter_rust_bridge_codegen) required for the build, and does not execute untrusted prebuilt binaries or install runtime dependencies via cargo; this is a normal part of building a Flutter/Rust project, not a supply-chain risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium External install via pipx/uv/poetry/cargo/go/gem alt_pkg_manager_install

A non-pip/npm package manager (pipx, uv, poetry, cargo install, go install, gem, conda…) fetches and builds an external package at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:31 cargo install flutter_rust_bridge_codegen

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Christopher Hartono <christhartono@hotmail.com>
2## options
3: ${_install_path:=usr/lib}
4
5_pkgname="kitshell"
6pkgname="kitshell-git"
7pkgver=r229.c42f1ad
8pkgrel=1
9pkgdesc="An easy to use panel for Wayland WMs"
10arch=(x86_64)
11url="https://github.com/bootloopmaster636/kitshell"
12license=('GPL-3.0-or-later')
13options=('!debug')
14
15depends=(glib2 libepoxy libxcb at-spi2-core pango cairo gtk-layer-shell dbus fontconfig gtk3 glibc gcc-libs)
16makedepends=(git tar fvm rustup cmake ninja clang patchelf)
17optdepends=('kitshell-cmd-git: control Kitshell via command line')
18
19conflicts=('kitshell')
20provides=('kitshell')
21
22_pkgsrc="$_pkgname"
23source=("$_pkgsrc"::"git+$url.git")
24sha256sums=('SKIP')
25
26prepare() {
27 cd "$_pkgsrc"
28 fvm use 3.38.2
29 rustup toolchain install stable
30
31 cargo install flutter_rust_bridge_codegen
32}
33
34pkgver() {
35 cd "$_pkgsrc"
36 ( set -o pipefail
37 git describe --long --abbrev=7 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
38 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
39 )
40}
41
42build() {
43 cd "$_pkgsrc"
44 PATH=$PATH:~/.cargo/bin/ # to make flutter_rust_codegen crate work
45
46 fvm flutter --disable-analytics
47 fvm dart --disable-analytics
48
49 fvm flutter pub get
50 fvm dart run slang build
51 fvm dart run build_runner build
52 flutter_rust_bridge_codegen generate
53
54 fvm flutter build linux --no-pub --release
55}
56
57package() {
58 cd "$_pkgsrc/build/linux/x64/release/bundle"
59
60 # Kitshell files
61 install -Dm755 "kitshell" "$pkgdir/$_install_path/$_pkgname/$_pkgname"
62 cp --reflink=auto -r data/ "$pkgdir/$_install_path/$_pkgname/"
63 cp --reflink=auto -r lib/ "$pkgdir/$_install_path/$_pkgname/"
64
65 # Runpath
66 patchelf --set-rpath '$ORIGIN/lib' "$pkgdir/$_install_path/$_pkgname/$_pkgname"
67 for i in "$pkgdir/$_install_path/$_pkgname/lib"/*.so; do
68 [ -z "$(patchelf --print-rpath "$i")" ] && continue
69 patchelf --set-rpath '$ORIGIN' "$i"
70 done
71
72 # Symlink
73 install -dm755 "${pkgdir}/usr/bin"
74 ln -sfr "$pkgdir/$_install_path/$_pkgname/$_pkgname" "$pkgdir/usr/bin/${_pkgname}"
75
76 # License
77 install -Dm644 "$srcdir/$_pkgsrc/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
78
79 # Set permissions
80 chmod -R u+rwX,go+rX,go-w "$pkgdir/"
81}
82
83

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