guiman

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

The npm install and npx tauri build commands are used to build the project from its own source code checked out from the declared GitHub repository, which is a normal and legitimate practice for AUR packages; the tools are not executing arbitrary remote code but building the package's own declared 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The npm install and npx tauri build commands are used to build the project from its own source code checked out from the declared GitHub repository, which is a normal and legitimate practice for AUR packages; the tools are not executing arbitrary remote code but building the package's own declared source.

2 higher static findings superseded - not the current verdict (shown for transparency)
Medium npm/yarn/pnpm install of an undeclared external package npm_install_external

Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.

  • PKGBUILD:63 npm install --silent @tauri-apps/cli
Medium npx/bunx/deno executes a remote package remote_code_tool

`npx`/`bunx`/`pnpm dlx`/`deno run <url>` downloads AND runs a remote package at build time — the moral equivalent of piping a download into a shell. Severity downgraded: Node.js consumer context.

  • PKGBUILD:65 npx tauri build || {

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Junaid Rahman <junaid.cloud2@gmail.com>
2pkgname=guiman
3pkgver=1.6.0
4pkgrel=1
5pkgdesc="The Ultimate Arch Linux Package Manager - GUI with 100% pacman & AUR feature parity"
6arch=('x86_64')
7url="https://github.com/Junaid433/guiman"
8license=('MIT')
9depends=(
10 'webkit2gtk'
11 'gtk3'
12 'libayatana-appindicator'
13 'pacman'
14 'sudo'
15)
16makedepends=(
17 'nodejs'
18 'npm'
19 'git'
20 'ffmpeg'
21 'pkgconf'
22 'openssl'
23 'rust'
24 'cargo'
25 'base-devel'
26)
27optdepends=(
28 'yay: AUR helper support'
29 'paru: AUR helper support'
30 'reflector: Mirror management'
31 'polkit: Password-free operations'
32)
33provides=('guiman')
34conflicts=('guiman-bin' 'guiman-git')
35source=("git+$url.git")
36sha256sums=('SKIP')
37
38pkgver() {
39 cd "$srcdir/guiman"
40 git describe --tags --abbrev=0 | sed 's/^v//'
41}
42
43prepare() {
44 cd "$srcdir/guiman"
45
46 if [ -f "src-tauri/icons/icon.png" ]; then
47 ffmpeg -y -loglevel error -i src-tauri/icons/icon.png -vf "format=rgba,scale=512:512:force_original_aspect_ratio=increase,crop=512:512" src-tauri/icons/icon_rgba.png
48 mv src-tauri/icons/icon_rgba.png src-tauri/icons/icon.png
49 echo "Icon converted to RGBA format and made square"
50 fi
51
52 if [ -f "src-tauri/tauri.conf.json" ]; then
53 sed -i 's/"productName": "GuiMan"/"productName": "guiman"/' src-tauri/tauri.conf.json
54 echo "Fixed productName in tauri.conf.json"
55 fi
56}
57
58build() {
59 cd "$srcdir/guiman"
60
61 npm ci --silent || npm install --silent
62
63 npm install --silent @tauri-apps/cli
64
65 npx tauri build || {
66 echo "Build failed" >&2
67 exit 1
68 }
69}
70
71package() {
72 cd "$srcdir/guiman"
73
74 install -Dm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" << 'EOF'
75#!/bin/bash
76export WEBKIT_DISABLE_COMPOSITING_MODE=0
77export WEBKIT_USE_GPU=1
78export WEBKIT_DISABLE_DMABUF_RENDERER=1
79export GDK_BACKEND=x11
80exec /usr/lib/guiman/guiman "$@"
81EOF
82
83 install -Dm755 "src-tauri/target/release/$pkgname" "$pkgdir/usr/lib/guiman/$pkgname"
84
85 [ -f "$pkgname.desktop" ] && install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
86
87 [ -f "src-tauri/icons/icon.png" ] && install -Dm644 "src-tauri/icons/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
88
89 if [ -f "polkit/com.guiman.pkexec.policy" ]; then
90 install -Dm644 "polkit/com.guiman.pkexec.policy" "$pkgdir/usr/share/polkit-1/actions/com.guiman.pkexec.policy"
91 fi
92
93 [ -f LICENSE ] && install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
94 [ -f README.md ] && install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
95}
96

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 3
2026-09-16 00:03:17 Low 3
2026-09-15 00:25:31 Low 3
2026-09-14 00:27:57 Low 3
2026-09-13 00:19:54 Low 3
2026-09-12 00:25:17 Low 3
2026-09-11 00:19:22 Low 3
2026-09-10 00:22:44 Low 3
2026-09-09 00:04:09 Low 3
2026-09-08 00:18:08 Low 3
2026-09-07 00:30:15 Low 3
2026-09-06 00:17:06 Low 3
2026-09-05 00:16:27 Low 3
2026-09-04 00:03:13 Low 3
2026-09-03 00:15:47 Low 3
2026-09-02 00:02:31 Low 3
2026-09-01 00:11:19 Low 3
2026-08-31 00:19:57 Low 3
2026-08-30 00:04:14 Low 3
2026-08-29 00:29:17 Low 3

Report a package

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

0 / 4000
Your suggestion