humen-mcp-git

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

The package installs a self-update script via systemd and sudoers, but this is opt-in and requires explicit admin configuration; the source is from a legitimate git repository and all built components are from the project's own code.

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 package installs a self-update script via systemd and sudoers, but this is opt-in and requires explicit admin configuration; the source is from a legitimate git repository and all built components are from the project's own code.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium Privileged / out-of-pacman install (sudoers, setuid, or self-update) privileged_install

The package grants elevated privileges or installs an update path outside pacman: a /etc/sudoers.d rule (often passwordless), a setuid/setgid binary, or a self-update script/service that can fetch and run future code with no checksum verification. The initial install may be verified, but the ongoing privilege + update surface is a real supply-chain / privilege-escalation risk.

  • PKGBUILD:42 install -Dm644 packaging/systemd/humen-mcp-self-update.service "$pkgdir/usr/lib/systemd/system/humen-mcp-self-update.service"
  • PKGBUILD:43 install -Dm755 packaging/scripts/humen-mcp-self-update "$pkgdir/usr/lib/humen-mcp/humen-mcp-self-update"
  • PKGBUILD:44 install -Dm440 packaging/sudoers/humen-mcp-self-update "$pkgdir/etc/sudoers.d/humen-mcp-self-update"

PKGBUILD

3 offending line(s) highlighted
1# Maintainer: LIghtJUNction
2pkgname=humen-mcp-git
3pkgver=0.1.20.r59.gb7a56e1
4pkgrel=1
5pkgdesc='Human-in-the-loop MCP server'
6arch=('x86_64')
7url='https://github.com/LIghtJUNction/humen-mcp'
8license=('MIT')
9depends=('gcc-libs' 'openssl' 'sudo')
10makedepends=('bun' 'cargo' 'git')
11provides=('humen-mcp')
12conflicts=('humen-mcp')
13backup=('etc/humen-mcp.env')
14install=humen-mcp.install
15source=('git+https://github.com/LIghtJUNction/humen-mcp.git')
16sha256sums=('SKIP')
17
18pkgver() {
19 cd humen-mcp
20 printf '0.1.20.r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
21}
22
23prepare() {
24 cd humen-mcp
25 git submodule update --init humen-mcp-webui
26}
27
28build() {
29 cd humen-mcp
30 (
31 cd humen-mcp-webui
32 bun install --frozen-lockfile
33 bun run build
34 )
35 cargo build --release --locked
36}
37
38package() {
39 cd humen-mcp
40 install -Dm755 target/release/humen-mcp "$pkgdir/usr/bin/humen-mcp"
41 install -Dm644 packaging/systemd/humen-mcp.service "$pkgdir/usr/lib/systemd/system/humen-mcp.service"
42 install -Dm644 packaging/systemd/humen-mcp-self-update.service "$pkgdir/usr/lib/systemd/system/humen-mcp-self-update.service"
43 install -Dm755 packaging/scripts/humen-mcp-self-update "$pkgdir/usr/lib/humen-mcp/humen-mcp-self-update"
44 install -Dm440 packaging/sudoers/humen-mcp-self-update "$pkgdir/etc/sudoers.d/humen-mcp-self-update"
45 install -Dm644 packaging/sysusers/humen-mcp.conf "$pkgdir/usr/lib/sysusers.d/humen-mcp.conf"
46 install -Dm644 packaging/tmpfiles/humen-mcp.conf "$pkgdir/usr/lib/tmpfiles.d/humen-mcp.conf"
47 install -Dm640 env.example "$pkgdir/etc/humen-mcp.env"
48 install -dm755 "$pkgdir/usr/share/humen-mcp/web"
49 cp -a --no-preserve=ownership humen-mcp-webui/dist/. "$pkgdir/usr/share/humen-mcp/web/"
50}
51

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 3

Report a package

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

0 / 4000
Your suggestion