virt-viewer-no-header

LOW
maintainer zorrox1024 1 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source URL is hosted on pagure.io, which is a legitimate forge, and the tarball is for the official project; the patch from GitLab is from a user fork but is applied transparently and does not introduce remote code execution, making the risk low.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source URL is hosted on pagure.io, which is a legitimate forge, and the tarball is for the official project; the patch from GitLab is from a user fork but is applied transparently and does not introduce remote code execution, making the risk low.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:17 "https://releases.pagure.org/virt-viewer/virt-viewer-${pkgver}.tar.xz"{,.asc}

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2
3_pkgname=virt-viewer
4pkgname=$_pkgname-no-header
5pkgver=11.0
6pkgrel=6
7pkgdesc='A lightweight interface for interacting with the graphical display of virtualized guest OS. This package contains a patch drop the header bar.'
8arch=('x86_64')
9url='https://gitlab.com/virt-viewer/virt-viewer'
10license=('GPL')
11depends=('gtk-vnc' 'libvirt' 'spice-gtk' 'libvirt-glib' 'libgovirt' 'vte3')
12makedepends=('meson' 'intltool' 'spice-protocol' 'gobject-introspection' 'bash-completion')
13replaces=('virtviewer')
14provides=("$_pkgname")
15conflicts=("$_pkgname")
16source=(
17 "https://releases.pagure.org/virt-viewer/virt-viewer-${pkgver}.tar.xz"{,.asc}
18 "https://gitlab.com/Paper_/virt-viewer/-/commit/41cc016278e713d3db156761fce6437dff81a53a.patch"
19 "drop-header.patch")
20b2sums=('41914a60361f0a47a0b0b54962d228ffaec67c6b69c664bb6fe683b7074dd5e2136d2bf3528b6e1b6b785cc4e337125fe16fdd94dd603dd42e8fde543931241a'
21 'SKIP'
22 'd1b79f2bdc2749049767d7e22cf530c04438547fb3485fd0ab084222600ddcb08b8a27e104216c5da9b25d9c792d1cdf085d1c23c988194c3c6c22cf05eaa0e2'
23 '6571f7637f8328118bb4469d52a92936820ebc7a037bb9cf6e6bd257889ec43b18d4c9c952cf1d968ef4b8c4a08ea4358cec47754d869b6e59153a0f2dddf578')
24validpgpkeys=('DAF3A6FDB26B62912D0E8E3FBE86EBB415104FDF') # Daniel P. Berrange
25
26prepare() {
27 cd "${_pkgname}-${pkgver}"
28 patch -p1 < "${srcdir}/drop-header.patch"
29 patch -p1 < "${srcdir}/41cc016278e713d3db156761fce6437dff81a53a.patch"
30}
31
32build() {
33 arch-meson "${_pkgname}-${pkgver}" build \
34 -Dlibvirt=enabled \
35 -Dvnc=enabled \
36 -Dspice=enabled \
37 -Dovirt=disabled \
38 -Dvte=enabled \
39 -Dbash_completion=enabled
40
41 ninja -C build
42}
43
44check() {
45 ninja -C build test
46}
47
48package() {
49 DESTDIR="${pkgdir}" ninja -C build install
50}
51

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