mingw-w64-libwebp

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

The source is a tarball from a Google-owned domain (storage.googleapis.com) used for official releases; despite the non-whitelisted host, it hosts the project's own source code, and the checksum is verified, making this a normal build-from-source AUR package with low risk.

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 source is a tarball from a Google-owned domain (storage.googleapis.com) used for official releases; despite the non-whitelisted host, it hosts the project's own source code, and the checksum is verified, making this a normal build-from-source AUR package with low risk.

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:15 source=("https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-$pkgver.tar.gz"{,.asc})

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Patrick Northon <northon_patrick3@yahoo.ca>
2# Contributor: drakkan <nicola.murino at gmail dot com>
3
4_pkgname=libwebp
5pkgname=mingw-w64-${_pkgname}
6pkgver=1.6.0
7pkgrel=2
8pkgdesc="WebP library and conversion tools (mingw-w64)"
9arch=(any)
10url="https://developers.google.com/speed/webp/"
11license=('BSD-3-Clause')
12makedepends=(mingw-w64-cmake ninja)
13depends=(mingw-w64-crt)
14options=(staticlibs !strip !buildflags)
15source=("https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-$pkgver.tar.gz"{,.asc})
16sha256sums=('e4ab7009bf0629fd11982d4c2aa83964cf244cffba7347ecd39019a9e38c4564'
17 'SKIP')
18
19validpgpkeys=('6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D') # WebP release signing key
20
21_srcdir="${_pkgname}-${pkgver}"
22_architectures="${MINGW_W64_ARCHS:-x86_64-w64-mingw32}"
23_flags=(
24 -Wno-dev -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE='-DNDEBUG'
25 -DWEBP_ENABLE_SWAP_16BIT_CSP=ON )
26
27build() {
28 for _arch in ${_architectures}; do
29 ${_arch}-cmake -G Ninja -S "${_srcdir}" -B "build-${_arch}-static" "${_flags[@]}" \
30 -DBUILD_SHARED_LIBS=OFF \
31 -DCMAKE_INSTALL_PREFIX="/usr/${_arch}/static" \
32 -DCMAKE_FIND_NO_INSTALL_PREFIX=ON
33 cmake --build "build-${_arch}-static"
34
35 ${_arch}-cmake -G Ninja -S "${_srcdir}" -B "build-${_arch}" "${_flags[@]}"
36 cmake --build "build-${_arch}"
37 done
38}
39
40package() {
41 for _arch in ${_architectures}; do
42 DESTDIR="${pkgdir}" cmake --install "build-${_arch}-static"
43 rm -rf "$pkgdir"/usr/${_arch}/static/share
44 ${_arch}-strip -g "$pkgdir"/usr/${_arch}/static/lib/*.a
45
46 DESTDIR="${pkgdir}" cmake --install "build-${_arch}"
47 ${_arch}-strip "$pkgdir"/usr/${_arch}/bin/*.exe
48 ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
49 ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
50 done
51}
52
53# vim: ts=2 sw=2 et:
54

Scan history

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