humen-mcp-bin
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
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"
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# Maintainer: LIghtJUNction
pkgname=humen-mcp-bin
pkgver=0.1.20
pkgrel=1
pkgdesc='Human-in-the-loop MCP server'
arch=('x86_64')
url='https://github.com/LIghtJUNction/humen-mcp'
license=('MIT')
depends=('gcc-libs' 'openssl' 'sudo')
provides=('humen-mcp')
conflicts=('humen-mcp' 'humen-mcp-git')
backup=('etc/humen-mcp.env')
install=humen-mcp.install
source=("https://github.com/LIghtJUNction/humen-mcp/releases/download/v${pkgver}/humen-mcp-${pkgver}-x86_64-unknown-linux-gnu.tar.gz")
sha256sums=('26d559d96e0c016192699c32893edfa6bb1861db98ddfd1693f543d60bfe048e')
package() {
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"
install -Dm644 packaging/systemd/humen-mcp-self-update.service "$pkgdir/usr/lib/systemd/system/humen-mcp-self-update.service"
install -Dm755 packaging/scripts/humen-mcp-self-update "$pkgdir/usr/lib/humen-mcp/humen-mcp-self-update"
install -Dm440 packaging/sudoers/humen-mcp-self-update "$pkgdir/etc/sudoers.d/humen-mcp-self-update"
install -Dm644 packaging/sysusers/humen-mcp.conf "$pkgdir/usr/lib/sysusers.d/humen-mcp.conf"
install -Dm644 packaging/tmpfiles/humen-mcp.conf "$pkgdir/usr/lib/tmpfiles.d/humen-mcp.conf"
install -Dm640 env.example "$pkgdir/etc/humen-mcp.env"
install -dm755 "$pkgdir/usr/share/humen-mcp/web"
cp -a --no-preserve=ownership web/. "$pkgdir/usr/share/humen-mcp/web/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 3 |