mingw-w64-vtk-qt6

LOW
maintainer xantares 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package builds VTK from source hosted on the project's official website, and the external patches are downloaded from the project's official GitLab instance; while the host is not whitelisted and checksums are skipped for patches, these are build-time patches to fix compilation and do not constitute untrusted executable code or malicious payloads.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds VTK from source hosted on the project's official website, and the external patches are downloaded from the project's official GitLab instance; while the host is not whitelisted and checksums are skipped for patches, these are build-time patches to fix compilation and do not constitute untrusted executable code or malicious payloads.

2 higher static findings superseded - not the current verdict (shown for transparency)
Medium External download from an untrusted host, not in source=() external_download_not_in_source

curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.

  • PKGBUILD:18 curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12856.patch | patch -p1
  • PKGBUILD:19 curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12937.patch | patch -p1
  • PKGBUILD:20 curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12939.patch | patch -p1
  • PKGBUILD:21 curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12940.patch | patch -p1
  • PKGBUILD:27 curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/13393.patch -p1
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:11 source=("https://www.vtk.org/files/release/${pkgver:0:3}/VTK-${pkgver}.tar.gz" MR13293.patch)

PKGBUILD

6 offending line(s) highlighted
1pkgname=mingw-w64-vtk-qt6
2pkgver=9.6.2
3pkgrel=1
4pkgdesc='Software system for 3D computer graphics, image processing, and visualization (mingw-w64)'
5arch=('any')
6url='https://www.vtk.org/'
7license=('BSD')
8depends=('mingw-w64-crt' 'mingw-w64-qt6-base' 'mingw-w64-jsoncpp' 'mingw-w64-expat' 'mingw-w64-netcdf' 'mingw-w64-libtiff' 'mingw-w64-libjpeg-turbo' 'mingw-w64-freetype2' 'mingw-w64-libpng' 'mingw-w64-libxml2' 'mingw-w64-hdf5' 'mingw-w64-freeglut' 'mingw-w64-lz4' 'mingw-w64-proj' 'mingw-w64-double-conversion' 'mingw-w64-pugixml' 'mingw-w64-libtheora' 'mingw-w64-gl2ps' 'mingw-w64-cgns' 'mingw-w64-libharu' 'mingw-w64-verdict' 'mingw-w64-scnlib')
9makedepends=('mingw-w64-cmake' 'mingw-w64-wine' 'qt6-base')
10options=('!buildflags' 'staticlibs' '!strip')
11source=("https://www.vtk.org/files/release/${pkgver:0:3}/VTK-${pkgver}.tar.gz" MR13293.patch)
12sha256sums=('aed12cec12a9609179bf66329070266627ca64244a10856a452b2a17ffb04a1d' SKIP)
13
14_architectures="x86_64-w64-mingw32"
15
16prepare() {
17 cd "${srcdir}/VTK-${pkgver}"
18 curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12856.patch | patch -p1
19 curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12937.patch | patch -p1
20 curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12939.patch | patch -p1
21 curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12940.patch | patch -p1
22
23 # gcc16: vtkNativePartitioningStrategy.cxx:(.text+0x6865): undefined reference to `vtkAOSDataArrayTemplate<long long>::IsTypeOf(char const*)'
24 patch -p1 -i "${srcdir}"/MR13293.patch
25
26 # flag to skip hw backends
27 curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/13393.patch -p1
28}
29
30build() {
31 cd "${srcdir}/VTK-${pkgver}"
32 for _arch in ${_architectures}; do
33 ${_arch}-cmake \
34 -DCMAKE_BUILD_TYPE=Release \
35 -DVTK_USE_EXTERNAL=ON \
36 -DVTK_BUILD_TESTING=OFF \
37 -DVTK_QT_VERSION=6 \
38 -DVTK_MODULE_USE_EXTERNAL_VTK_cli11=OFF \
39 -DVTK_MODULE_USE_EXTERNAL_VTK_ioss=OFF \
40 -DVTK_MODULE_USE_EXTERNAL_VTK_eigen=OFF \
41 -DVTK_MODULE_USE_EXTERNAL_VTK_exprtk=OFF \
42 -DVTK_MODULE_USE_EXTERNAL_VTK_fmt=OFF \
43 -DVTK_MODULE_USE_EXTERNAL_VTK_fast_float=OFF \
44 -DVTK_MODULE_USE_EXTERNAL_VTK_nlohmannjson=OFF \
45 -DVTK_MODULE_USE_EXTERNAL_VTK_pegtl=OFF \
46 -DVTK_MODULE_USE_EXTERNAL_VTK_token=OFF \
47 -DVTK_MODULE_USE_EXTERNAL_VTK_utf8=OFF \
48 -DVTK_MODULE_ENABLE_VTK_GUISupportQt=YES \
49 -DVTK_MODULE_ENABLE_VTK_cli11=YES \
50 -DVTK_MODULE_ENABLE_VTK_FiltersParallelStatistics=YES \
51 -DVTK_MODULE_ENABLE_VTK_FiltersParallelVerdict=YES \
52 -DVTK_MODULE_ENABLE_VTK_FiltersParallelDIY2=YES \
53 -DVTK_MODULE_ENABLE_VTK_IOAvmesh=YES \
54 -DVTK_MODULE_ENABLE_VTK_IOH5part=YES \
55 -DVTK_MODULE_ENABLE_VTK_IOH5Rage=YES \
56 -DVTK_MODULE_ENABLE_VTK_IOOMF=YES \
57 -DVTK_MODULE_ENABLE_VTK_IOParallelExodus=YES \
58 -DVTK_MODULE_ENABLE_VTK_IOParallelLSDyna=YES \
59 -DVTK_MODULE_ENABLE_VTK_IOPIO=YES \
60 -DVTK_MODULE_ENABLE_VTK_IOTRUCHAS=YES \
61 -DVTK_MODULE_ENABLE_VTK_IOVPIC=YES \
62 -DVTK_MODULE_ENABLE_VTK_IOXdmf2=YES \
63 -DVTK_MODULE_ENABLE_VTK_RenderingParallel=YES \
64 -DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR=YES \
65 -B build-${_arch} .
66 make -C build-${_arch}
67 done
68}
69
70package() {
71 for _arch in ${_architectures}; do
72 cd "$srcdir/VTK-${pkgver}/build-${_arch}"
73 make install/fast DESTDIR="$pkgdir"
74 rm -r "$pkgdir"/usr/${_arch}/share
75 ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
76 ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
77 done
78}
79

Changes since previous scan

--- PKGBUILD @ 2026-09-10 00:22
+++ PKGBUILD @ 2026-09-17 00:27
@@ -22,6 +22,9 @@
# gcc16: vtkNativePartitioningStrategy.cxx:(.text+0x6865): undefined reference to `vtkAOSDataArrayTemplate<long long>::IsTypeOf(char const*)'
patch -p1 -i "${srcdir}"/MR13293.patch
+
+ # flag to skip hw backends
+ curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/13393.patch -p1
}
build() {

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 3
2026-09-16 00:03:17 Low 3
2026-09-15 00:25:31 Low 3
2026-09-14 00:27:57 Low 3
2026-09-13 00:19:54 Low 3
2026-09-12 00:25:17 Low 3
2026-09-11 00:19:22 Low 3
2026-09-10 17:21:08 Medium 2
2026-09-10 00:22:44 Medium 3
2026-09-09 00:04:09 Medium 3
2026-09-08 00:18:08 Medium 3
2026-09-07 00:30:15 Medium 3
2026-09-06 00:17:06 Medium 3
2026-09-05 00:16:27 Medium 3
2026-09-04 00:03:13 Medium 3
2026-09-03 00:15:47 Medium 3
2026-09-02 00:02:31 Medium 3
2026-09-01 00:11:19 Medium 3
2026-08-31 00:19:57 Medium 3
2026-08-30 00:04:14 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