mingw-w64-vtk
Triggered rules
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
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)
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD fetches four patches at build time via curl from gitlab.kitware.com (the official Kitware GitLab, which hosts the upstream VTK project) and pipes them directly into patch without any integrity verification. While gitlab.kitware.com is the legitimate upstream host for VTK, these MR patches are not listed in source=() and have no checksums, meaning: (1) they cannot be verified by makepkg's integrity checks, (2) the content can change at any time (MRs can be force-pushed or the patch endpoint can serve different content), and (3) there is no reproducibility guarantee. This is a real supply-chain concern — unverified, mutable code is fetched and applied to the source tree before compilation. The main source tarball is from the official vtk.org release host (clean), and MR13293.patch is included in source=() with SKIP (sloppy but at least declared). The four curl-piped patches represent a genuine medium-severity supply-chain risk: if Kitware's GitLab were compromised or the MR content changed, arbitrary code would be compiled and installed without any warning to the user.
PKGBUILD
5 offending line(s) highlightedpkgname=mingw-w64-vtk
pkgver=9.6.2
pkgrel=1
pkgdesc='Software system for 3D computer graphics, image processing, and visualization (mingw-w64)'
arch=('any')
url='https://www.vtk.org/'
license=('BSD')
depends=('mingw-w64-crt' 'mingw-w64-qt5-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')
makedepends=('mingw-w64-cmake' 'mingw-w64-wine')
options=('!buildflags' 'staticlibs' '!strip')
source=("https://www.vtk.org/files/release/${pkgver:0:3}/VTK-${pkgver}.tar.gz" MR13293.patch)
sha256sums=('aed12cec12a9609179bf66329070266627ca64244a10856a452b2a17ffb04a1d' SKIP)
_architectures="x86_64-w64-mingw32"
prepare() {
cd "${srcdir}/VTK-${pkgver}"
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12856.patch | patch -p1
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12937.patch | patch -p1
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12939.patch | patch -p1
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12940.patch | patch -p1
# gcc16: vtkNativePartitioningStrategy.cxx:(.text+0x6865): undefined reference to `vtkAOSDataArrayTemplate<long long>::IsTypeOf(char const*)'
patch -p1 -i "${srcdir}"/MR13293.patch
}
build() {
cd "${srcdir}/VTK-${pkgver}"
for _arch in ${_architectures}; do
${_arch}-cmake \
-DCMAKE_BUILD_TYPE=Release \
-DVTK_USE_EXTERNAL=ON \
-DVTK_BUILD_TESTING=OFF \
-DVTK_QT_VERSION=5 \
-DVTK_MODULE_USE_EXTERNAL_VTK_cli11=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_ioss=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_eigen=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_exprtk=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_fmt=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_fast_float=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_nlohmannjson=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_pegtl=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_token=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_utf8=OFF \
-DVTK_MODULE_ENABLE_VTK_GUISupportQt=YES \
-DVTK_MODULE_ENABLE_VTK_cli11=YES \
-DVTK_MODULE_ENABLE_VTK_FiltersParallelStatistics=YES \
-DVTK_MODULE_ENABLE_VTK_FiltersParallelVerdict=YES \
-DVTK_MODULE_ENABLE_VTK_FiltersParallelDIY2=YES \
-DVTK_MODULE_ENABLE_VTK_IOAvmesh=YES \
-DVTK_MODULE_ENABLE_VTK_IOH5part=YES \
-DVTK_MODULE_ENABLE_VTK_IOH5Rage=YES \
-DVTK_MODULE_ENABLE_VTK_IOOMF=YES \
-DVTK_MODULE_ENABLE_VTK_IOParallelExodus=YES \
-DVTK_MODULE_ENABLE_VTK_IOParallelLSDyna=YES \
-DVTK_MODULE_ENABLE_VTK_IOPIO=YES \
-DVTK_MODULE_ENABLE_VTK_IOTRUCHAS=YES \
-DVTK_MODULE_ENABLE_VTK_IOVPIC=YES \
-DVTK_MODULE_ENABLE_VTK_IOXdmf2=YES \
-DVTK_MODULE_ENABLE_VTK_RenderingParallel=YES \
-DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR=YES \
-B build-${_arch} .
make -C build-${_arch}
done
}
package() {
for _arch in ${_architectures}; do
cd "$srcdir/VTK-${pkgver}/build-${_arch}"
make install/fast DESTDIR="$pkgdir"
rm -r "$pkgdir"/usr/${_arch}/share
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
done
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 3 |
| 2026-08-02 00:16:08 | MEDIUM | 3 |
| 2026-08-01 00:11:18 | MEDIUM | 3 |
| 2026-07-31 00:14:10 | MEDIUM | 3 |
| 2026-07-30 00:17:23 | MEDIUM | 3 |
| 2026-07-29 00:25:53 | MEDIUM | 3 |
| 2026-07-28 00:07:28 | MEDIUM | 3 |
| 2026-07-27 00:24:32 | MEDIUM | 3 |
| 2026-07-26 00:07:32 | MEDIUM | 3 |
| 2026-07-25 00:13:44 | MEDIUM | 3 |
| 2026-07-24 00:02:28 | MEDIUM | 3 |
| 2026-07-23 00:14:47 | MEDIUM | 3 |
| 2026-07-22 00:29:32 | MEDIUM | 3 |
| 2026-07-21 00:24:15 | MEDIUM | 3 |
| 2026-07-20 00:19:49 | MEDIUM | 3 |
| 2026-07-19 00:17:08 | MEDIUM | 3 |
| 2026-07-18 00:14:48 | MEDIUM | 3 |
| 2026-07-17 00:06:16 | MEDIUM | 3 |
| 2026-07-16 00:05:41 | MEDIUM | 3 |
| 2026-07-15 00:09:25 | MEDIUM | 3 |