mingw-w64-vtk-qt6

LOW
maintainer xantares 0 votes scanned 2026-11-01 00:21:48.120785
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

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 3
2026-10-31 00:07:41 Low 3
2026-10-30 00:29:30 Low 3
2026-10-29 00:13:55 Low 3
2026-10-28 00:06:54 Low 3
2026-10-27 00:23:28 Low 3
2026-10-26 00:12:40 Low 3
2026-10-25 00:20:48 Low 3
2026-10-24 00:14:55 Low 3
2026-10-23 00:02:19 Low 3
2026-10-22 00:13:10 Low 3
2026-10-21 00:12:50 Low 3
2026-10-20 00:10:31 Low 3
2026-10-19 00:03:55 Low 3
2026-10-18 00:06:55 Low 3
2026-10-17 00:21:55 Low 3
2026-10-16 00:12:47 Low 3
2026-10-15 00:28:05 Low 3
2026-10-14 00:06:47 Low 3
2026-10-13 00:23:45 Low 3

Report a package

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

0 / 4000
Your suggestion