open-vm-tools-wayland
Triggered rules
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 chmod 7755 on vmware-user-suid-wrapper is standard for open-vm-tools packaging (the official AUR open-vm-tools package does the same), not a novel privilege escalation; the source is built from the official VMware GitHub repo with local patches, and no unverified remote executables are downloaded or executed.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:71
chmod 7755 "${pkgdir}"/usr/bin/vmware-user-suid-wrapper
PKGBUILD
1 offending line(s) highlighted_pkgbase=open-vm-tools
pkgname=open-vm-tools-wayland
# Maintainer: Lattice Sum <dsoyet@outlook.com>
conflicts=('open-vm-tools' 'open-vm-tools-clipway')
provides=('open-vm-tools')
epoch=6
pkgver=13.1.0
pkgrel=3
pkgdesc='open-vm-tools with Wayland clipboard support via clipway patch'
arch=('x86_64')
url='https://github.com/vmware/open-vm-tools'
license=('LGPL-2.1-only')
depends=('fuse3' 'icu' 'iproute2' 'libdnet' 'libmspack' 'libsigc++'
'libxcrypt' 'libcrypt.so' 'libxss' 'lsb-release' 'procps-ng'
'uriparser' 'which' 'xmlsec' 'wl-clipboard')
makedepends=('git' 'chrpath' 'doxygen' 'gtkmm3' 'libxtst' 'python' 'rpcsvc-proto' 'glib2-devel')
checkdepends=('cunit')
optdepends=('gtkmm3: DnD/CP plugin'
'libxtst: DnD/CP, resolution set plugins'
'netctl: suspend-resume network state'
'networkmanager: suspend-resume network state')
backup=('etc/pam.d/vmtoolsd'
'etc/vmware-tools/vgauth.conf'
'etc/xdg/autostart/vmware-user.desktop')
options=('docs')
source=("git+https://github.com/vmware/open-vm-tools#tag=stable-${pkgver}"
'vmtoolsd.pam'
'vmtoolsd.service'
'vmware-vmblock-fuse.service'
clipway.patch
desktopEvents-wayland.patch
open-vm-tools-gcc16.patch)
sha256sums=('916a09225a22653ec5e56b1df5bbfacc7f69b2b9e8ac734052936bcb75cde49a'
'9848f4b621bb1134e463fea099f03933cf3f48f1ac5e580228abef264d26137e'
'0626cc86232f75a7286c24c52d6b44260bba55e2e96c17fa22ed36decb61a4d9'
'99e3cc1da20a751049144cc02dec77174a55109b5b5960e1facd78709da7724f'
'0e7d333bfdf9ebb903d40ec4e8b9fe16c75e34d17f9e67cf22646992574a4d77'
'15f26a57d81ec482ef657ea665d72664e70332e9f5b33e3aa495c6f9f86620b7'
'2c3b3fa378c86307223b9977c6b07ec1781d5b396c1526ee7fef73b7604a0c6d')
prepare() {
cd "${srcdir}/${_pkgbase}/open-vm-tools/"
patch -Np1 -i ../../open-vm-tools-gcc16.patch
patch -Np1 -i ../../clipway.patch
patch -Np1 -i ../../desktopEvents-wayland.patch
autoreconf -vi
}
build() {
cd "${srcdir}/${_pkgbase}/open-vm-tools/"
sh ./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--with-udev-rules-dir=/usr/lib/udev/rules.d \
--without-kernel-modules
make
}
check() {
cd "${srcdir}/${_pkgbase}/open-vm-tools/"
make check
}
package() {
cd "${srcdir}/${_pkgbase}/open-vm-tools/"
make install DESTDIR="${pkgdir}"
chmod 7755 "${pkgdir}"/usr/bin/vmware-user-suid-wrapper
# install vmware-xdg-detect-de
install -D -m0755 scripts/common/vmware-xdg-detect-de "${pkgdir}"/usr/bin/vmware-xdg-detect-de
# install pam configuration
install -D -m0644 "${srcdir}"/vmtoolsd.pam "${pkgdir}"/etc/pam.d/vmtoolsd
# install systemd files
install -D -m0644 "${srcdir}"/vmtoolsd.service "${pkgdir}"/usr/lib/systemd/system/vmtoolsd.service
install -D -m0644 "${srcdir}"/vmware-vmblock-fuse.service "${pkgdir}"/usr/lib/systemd/system/vmware-vmblock-fuse.service
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 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 00:02:28 | LOW | 3 |
| 2026-07-23 00:14:47 | LOW | 3 |
| 2026-07-22 00:29:32 | LOW | 3 |
| 2026-07-21 00:24:15 | LOW | 3 |
| 2026-07-20 00:19:49 | LOW | 3 |
| 2026-07-19 07:12:01 | LOW | 3 |
| 2026-07-19 07:10:24 | MEDIUM | 2 |