wshowkeys-mao-rounded

maintainer kk-ash · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
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 Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

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-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 00:14:10 LOW 3
2026-07-30 00:17:23 LOW 3
2026-07-29 00:25:53 LOW 3
2026-07-28 00:07:28 LOW 3
2026-07-27 00:24:32 LOW 3
2026-07-26 00:07:32 LOW 3
2026-07-25 00:13:44 LOW 3
2026-07-24 19:30:19 LOW 3
2026-07-24 19:28:12 MEDIUM 3

Report a package

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

0 / 4000
Your suggestion