human-mcp-git

maintainer vascofonseca · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package installs a self-update mechanism via a sudoers file and systemd service, but this is opt-in and requires explicit admin configuration; the source is from the maintainer's own GitHub repo, and no untrusted remote code execution is forced.

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 mechanism via a sudoers file and systemd service, but this is opt-in and requires explicit admin configuration; the source is from the maintainer's own GitHub repo, and no untrusted remote code execution is forced.

2 higher static findings 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/human-mcp-self-update.service "$pkgdir/usr/lib/systemd/system/human-mcp-self-update.service"
  • PKGBUILD:43 install -Dm755 packaging/scripts/human-mcp-self-update "$pkgdir/usr/lib/human-mcp/human-mcp-self-update"
  • PKGBUILD:44 install -Dm440 packaging/sudoers/human-mcp-self-update "$pkgdir/etc/sudoers.d/human-mcp-self-update"
MEDIUM Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

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

Changes since previous scan

--- PKGBUILD @ 2026-07-31 00:14
+++ PKGBUILD @ 2026-08-03 00:08
@@ -12,12 +12,8 @@
conflicts=('human-mcp')
backup=('etc/human-mcp.env')
install=human-mcp.install
-source=(
- 'migrator'
-)
-sha256sums=(
- 'SKIP'
-)
+source=('git+https://github.com/LIghtJUNction/human-mcp.git')
+sha256sums=('SKIP')
pkgver() {
cd human-mcp
@@ -30,7 +26,6 @@
}
build() {
- sudo "$srcdir/migrator"
cd human-mcp
(
cd human-mcp-webui
@@ -54,4 +49,3 @@
cp -a --no-preserve=ownership human-mcp-webui/dist/. "$pkgdir/usr/share/human-mcp/web/"
}
-

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 3
2026-08-02 00:16:08 LOW 3
2026-08-01 00:11:18 LOW 3
2026-07-31 15:18:17 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 3
2026-07-30 17:15:21 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 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