wshowkeys-mao-rounded

LOW
maintainer kk-ash 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The setuid bit (chmod a+s) on the installed binary is a legitimate requirement for wshowkeys to read input events without root, not malicious; the git source is from the project's own fork on GitHub, and the local patch has a verified checksum, so no unverifiable remote code execution is present.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 80%): The setuid bit (chmod a+s) on the installed binary is a legitimate requirement for wshowkeys to read input events without root, not malicious; the git source is from the project's own fork on GitHub, and the local patch has a verified checksum, so no unverifiable remote code execution is present.

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:33 chmod a+s "$pkgdir/usr/bin/wshowkeys"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: ash <ash@archlinux>
2pkgname=wshowkeys-mao-rounded
3_pkgname=wshowkeys
4pkgver=1.1
5pkgrel=1
6pkgdesc='Displays keys being pressed on a Wayland session (DreamMaoMao fork + rounded corners)'
7arch=('x86_64' 'armv7h' 'aarch64')
8url='https://github.com/bt-ASH/wshowkeys-mao-rounded'
9license=('GPL')
10depends=('cairo' 'pango' 'libinput' 'libxkbcommon' 'wayland')
11makedepends=('meson' 'wayland-protocols')
12provides=('wshowkeys')
13conflicts=('wshowkeys' 'wshowkeys-git' 'wshowkeys-mao-git')
14source=("$_pkgname::git+https://github.com/DreamMaoMao/wshowkeys.git"
15 "rounded-corners.patch")
16sha512sums=('SKIP'
17 '453f053e0c90a7413122343739e85e22ea00685d91150fc955cf5135dfa4c044e4da75148ee844675f6ae7363093f895c694248946ac97b94811cc5b0c583bc3')
18
19prepare() {
20 cd "$srcdir/$_pkgname"
21 patch -Np1 < "$srcdir/rounded-corners.patch"
22}
23
24build() {
25 cd "$srcdir/$_pkgname"
26 arch-meson build .
27 ninja -C build
28}
29
30package() {
31 cd "$srcdir/$_pkgname"
32 DESTDIR="$pkgdir" ninja -C build install
33 chmod a+s "$pkgdir/usr/bin/wshowkeys"
34}
35

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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