wuffs-docs
wuffs
scanned 2026-11-01 00:21:48.120785
The flagged 'external install via go' is part of the project's own build process using upstream Go tools to compile and install its own command-line utilities, which are then packaged; this is normal for Go-based projects and does not involve untrusted or obfuscated remote code execution.
Triggered rules
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 flagged 'external install via go' is part of the project's own build process using upstream Go tools to compile and install its own command-line utilities, which are then packaged; this is normal for Go-based projects and does not involve untrusted or obfuscated remote code execution.
1 higher static finding superseded - not the current verdict (shown for transparency)
alt_pkg_manager_install
A non-pip/npm package manager (pipx, uv, poetry, cargo install, go install, gem, conda…) fetches and builds an external package at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:60
go install github.com/google/wuffs/cmd/...
PKGBUILD
1 offending line(s) highlightedpkgbase="wuffs"
pkgname=(
"wuffs-lib"
#"wuffs-examples"
"wuffs-fuzzers"
"wuffs-lang"
"wuffs-docs"
"wuffs-license"
)
pkgdesc="A memory-safe programming language, and a standard library, for Wrangling Untrusted File Formats Safely. Wrangling includes parsing, decoding and encoding. Example file formats include images, audio, video, fonts and compressed archives."
pkgver=0.3.6
pkgrel=1
arch=(
'x86_64'
)
url="https://github.com/google/wuffs"
license=(
"MIT"
"Apache-2.0"
)
makedepends=(
'gcc'
'gcc-libs'
'glibc'
'git'
'go'
"libxcb"
"lz4"
"sdl2"
"sdl2_image"
"xcb-util-image"
"xcb-util-renderutil"
"zlib"
"zstd"
"clang"
)
checkdepends=()
source=(
"source::git+${url}.git#tag=v${pkgver}"
)
sha256sums=('575956ed312cd4e68e8f228f59be6e3ee340ff7ee0881a023e431e8643205c89')
build() {
cd source
export GOPATH="${srcdir}/go"
export GOBIN="${GOPATH}/bin"
export PATH="/usr/bin:${GOPATH}/bin"
sed -i 's|go test|#go test|g' ./build-all.sh
sed -i 's|wuffs bench|#wuffs bench|g' ./build-all.sh
#./build-all.sh
CC=${CC:-gcc}
CXX=${CXX:-g++}
go install github.com/google/wuffs/cmd/...
wuffs gen
WARNING_FLAGS="-Wall -Werror -Wpedantic -Wcast-qual -Wcast-align -Wpointer-arith -Wfloat-equal -Wundef -Wvla -Wconversion -Wshadow -Wredundant-decls -Wunused-const-variable"
C_WARNING_FLAGS="$WARNING_FLAGS -Wstrict-prototypes -Wold-style-definition"
CXX_WARNING_FLAGS="$WARNING_FLAGS"
wuffs genlib -skipgen
wuffs test -skipgen -mimic
./build-fuzz.sh
}
package_wuffs-lib() {
cd source
pkgdesc='A memory-safe standard library for Wrangling Untrusted File Formats Safely. Wrangling includes parsing, decoding and encoding. Example file formats include images, audio, video, fonts and compressed archives.'
depends=(
"glibc"
"wuffs-license"
)
provides=(
"libwuffs.so"
"libwuffs.a"
)
optdepends=(
"python-pywuffs: Python bindings"
"wuffs-docs: Docs"
)
install -vDm644 \
-t "${pkgdir}/usr/include" \
release/c/*.c gen/c/*.c
install -vDm644 \
-t "${pkgdir}/usr/include/wuffs" \
release/c/*.c gen/c/*.c
install -vDm755 \
-t "${pkgdir}/usr/lib" \
gen/lib/c/gcc-dynamic/libwuffs.so
install -vDm644 -t \
"${pkgdir}/usr/lib" \
gen/lib/c/gcc-static/libwuffs.a
install -vDm644 -t \
"${pkgdir}/usr/share/doc/wuffs-lib" \
release/c/README.md
install -vdm644 "${pkgdir}/usr/share/licenses"
ln -srf \
"${pkgdir}/usr/share/licenses/wuffs" \
"${pkgdir}/usr/share/licenses"/wuffs-lib
}
package_wuffs-examples() {
pkgdesc='Example programmes for wuffs, a memory-safe programming language and standard library for Wrangling Untrusted File Formats Safely.'
depends=(
"gcc-libs"
"glibc"
"sdl2"
"sdl2_image"
"xcb-util-image"
"xcb-util-renderutil"
"wuffs-license"
)
cd source
declare _bins
_bins=`ls -1 gen/bin/example-*`
for _bin in ${_bins}; do
_name="$(basename "${_bin}" | sed -E -e 's|^example-||')"
install -vDm755 \
"${_bin}" \
"${pkgdir}/usr/bin"/wuffs-"${_name}"
done
install -vDm644 -t \
"${pkgdir}/usr/share/doc/wuffs-examples" \
example/README.md
install -vdm644 "${pkgdir}/usr/share/licenses"
ln -srf \
"${pkgdir}/usr/share/licenses/wuffs" \
"${pkgdir}/usr/share/licenses"/wuffs-examples
}
package_wuffs-fuzzers() {
pkgdesc='Fuzzer programmes for wuffs, a memory-safe programming language and standard library for Wrangling Untrusted File Formats Safely.'
depends=(
"gcc-libs"
"glibc"
"wuffs-license"
)
cd source
declare _bins
_bins=`ls -1 gen/bin/fuzz-*`
for _bin in ${_bins}; do
_name="$(basename "${_bin}")"
install -vDm755 \
"${_bin}" \
"${pkgdir}/usr/bin"/wuffs-"${_name}"
done
install -vDm644 \
-t "${pkgdir}/usr/share/doc/wuffs-fuzzers" \
fuzz/c/std/README.md
install -vdm644 "${pkgdir}/usr/share/licenses"
ln -srf \
"${pkgdir}/usr/share/licenses/wuffs" \
"${pkgdir}/usr/share/licenses"/wuffs-fuzzers
}
package_wuffs-lang() {
pkgdesc='A memory-safe programming language for Wrangling Untrusted File Formats Safely. Wrangling includes parsing, decoding and encoding. Example file formats include images, audio, video, fonts and compressed archives.'
depends=(
"wuffs-license"
# ractool deps
glibc
liblz4.so
libz.so
libzstd.so
)
provides=(
"dumbindent=${pkgver}"
#"handsum=${pkgver}"
"ractool=${pkgver}"
"wuffs=${pkgver}"
"wuffs-c=${pkgver}"
"wuffsfmt=${pkgver}"
)
optdepends=(
"wuffs-docs: Docs"
)
cd source
export GOPATH="${srcdir}/go"
export GOBIN="${GOPATH}/bin"
install -Dvm755 \
-t "${pkgdir}/usr/bin" \
"${GOBIN}"/{dumbindent,ractool,wuffs,wuffs-c,wuffsfmt}
install -vdm644 \
"${pkgdir}/usr/share/licenses"
ln -srf \
"${pkgdir}/usr/share/licenses/wuffs" \
"${pkgdir}/usr/share/licenses"/wuffs-lang
}
package_wuffs-docs() {
pkgdesc='Documentation for "Wuffs the Library" and "Wuffs the Language", as well as the corresponding example binaries.'
depends=("wuffs-license")
arch=('any')
cd source
install -Dvm644 \
-t "${pkgdir}/usr/share/doc/wuffs" \
AUTHORS \
*.md \
CONTRIBUTORS
cp -r \
doc \
"${pkgdir}/usr/share/doc/wuffs"/
install -vdm644 \
"${pkgdir}/usr/share/licenses"
ln -srf \
"${pkgdir}/usr/share/licenses/wuffs" \
"${pkgdir}/usr/share/licenses"/wuffs-docs
}
package_wuffs-license() {
pkgdesc='Common license for "Wuffs the Library" and "Wuffs the Language", as well as the corresponding example binaries.'
depends=()
arch=('any')
cd source
install -vDm644 \
-t "${pkgdir}/usr/share/licenses/wuffs" \
LICENSE*
ln -srf \
"${pkgdir}/usr/share/licenses/wuffs" \
"${pkgdir}/usr/share/licenses"/wuffs-license
ln -srf \
"${pkgdir}/usr/share/licenses/wuffs" \
"${pkgdir}/usr/share/licenses"/wuffs-license
}
Changes since previous scan
--- PKGBUILD @ 2026-10-20 00:10+++ PKGBUILD @ 2026-11-01 00:21@@ -11,7 +11,7 @@ pkgdesc="A memory-safe programming language, and a standard library, for Wrangling Untrusted File Formats Safely. Wrangling includes parsing, decoding and encoding. Example file formats include images, audio, video, fonts and compressed archives." -pkgver=0.3.5+pkgver=0.3.6 pkgrel=1 arch=(@@ -44,7 +44,7 @@ source=( "source::git+${url}.git#tag=v${pkgver}" )-sha256sums=('b9b5e80b0cd003da7fac2fa9cb4f7bf76806f9a88f867cc9a9eb2996514fce36')+sha256sums=('575956ed312cd4e68e8f228f59be6e3ee340ff7ee0881a023e431e8643205c89') build() { cd sourceScan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 13:28:00 | Medium | 1 |
| 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 |