humen-mcp-bin

maintainer antonelloflorio · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged Installs a self-update script with sudo privileges via /etc/sudoers.d, enabling privilege escalation for automated updates, which is a supply-chain risk if the update mechanism is compromised.

Triggered rules

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:21 install -Dm644 packaging/systemd/humen-mcp-self-update.service "$pkgdir/usr/lib/systemd/system/humen-mcp-self-update.service"
  • PKGBUILD:22 install -Dm755 packaging/scripts/humen-mcp-self-update "$pkgdir/usr/lib/humen-mcp/humen-mcp-self-update"
  • PKGBUILD:23 install -Dm440 packaging/sudoers/humen-mcp-self-update "$pkgdir/etc/sudoers.d/humen-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.

MEDIUM AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 85%): Installs a self-update script with sudo privileges via /etc/sudoers.d, enabling privilege escalation for automated updates, which is a supply-chain risk if the update mechanism is compromised.

PKGBUILD

3 offending line(s) highlighted
1# Maintainer: LIghtJUNction
2pkgname=humen-mcp-bin
3pkgver=0.1.20
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')
10provides=('humen-mcp')
11conflicts=('humen-mcp' 'humen-mcp-git')
12backup=('etc/humen-mcp.env')
13install=humen-mcp.install
14source=("https://github.com/LIghtJUNction/humen-mcp/releases/download/v${pkgver}/humen-mcp-${pkgver}-x86_64-unknown-linux-gnu.tar.gz")
15sha256sums=('26d559d96e0c016192699c32893edfa6bb1861db98ddfd1693f543d60bfe048e')
16
17package() {
18 cd "humen-mcp-${pkgver}-x86_64-unknown-linux-gnu"
19 install -Dm755 humen-mcp "$pkgdir/usr/bin/humen-mcp"
20 install -Dm644 packaging/systemd/humen-mcp.service "$pkgdir/usr/lib/systemd/system/humen-mcp.service"
21 install -Dm644 packaging/systemd/humen-mcp-self-update.service "$pkgdir/usr/lib/systemd/system/humen-mcp-self-update.service"
22 install -Dm755 packaging/scripts/humen-mcp-self-update "$pkgdir/usr/lib/humen-mcp/humen-mcp-self-update"
23 install -Dm440 packaging/sudoers/humen-mcp-self-update "$pkgdir/etc/sudoers.d/humen-mcp-self-update"
24 install -Dm644 packaging/sysusers/humen-mcp.conf "$pkgdir/usr/lib/sysusers.d/humen-mcp.conf"
25 install -Dm644 packaging/tmpfiles/humen-mcp.conf "$pkgdir/usr/lib/tmpfiles.d/humen-mcp.conf"
26 install -Dm640 env.example "$pkgdir/etc/humen-mcp.env"
27 install -dm755 "$pkgdir/usr/share/humen-mcp/web"
28 cp -a --no-preserve=ownership web/. "$pkgdir/usr/share/humen-mcp/web/"
29}
30

Changes since previous scan

--- PKGBUILD @ 2026-07-31 00:14
+++ PKGBUILD @ 2026-08-03 00:08
@@ -11,15 +11,10 @@
conflicts=('humen-mcp' 'humen-mcp-git')
backup=('etc/humen-mcp.env')
install=humen-mcp.install
-source=(
- 'packer'
-)
-sha256sums=(
- 'SKIP'
-)
+source=("https://github.com/LIghtJUNction/humen-mcp/releases/download/v${pkgver}/humen-mcp-${pkgver}-x86_64-unknown-linux-gnu.tar.gz")
+sha256sums=('26d559d96e0c016192699c32893edfa6bb1861db98ddfd1693f543d60bfe048e')
package() {
- sudo "$srcdir/packer"
cd "humen-mcp-${pkgver}-x86_64-unknown-linux-gnu"
install -Dm755 humen-mcp "$pkgdir/usr/bin/humen-mcp"
install -Dm644 packaging/systemd/humen-mcp.service "$pkgdir/usr/lib/systemd/system/humen-mcp.service"
@@ -33,4 +28,3 @@
cp -a --no-preserve=ownership web/. "$pkgdir/usr/share/humen-mcp/web/"
}
-

Scan history

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