wshowkeys-mao-rounded

LOW
maintainer kk-ash 0 votes scanned 2026-09-17 00:27:14.276658
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-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 2

Report a package

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

0 / 4000
Your suggestion