undither

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

The package builds from a source tarball hosted on the project's own plausible domain, and the additional wget in prepare() only downloads static documentation (HTML/images), which cannot execute code; both flagged URLs are from the same legitimate project host.

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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from a source tarball hosted on the project's own plausible domain, and the additional wget in prepare() only downloads static documentation (HTML/images), which cannot execute code; both flagged URLs are from the same legitimate project host.

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:30 wget -P $srcdir/undither-doc -r -nH -nd -np -nc -k -A html,gif,jpg "http://www.madingley.org/james/resources/undither/"
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:13 "http://www.madingley.org/james/resources/undither/files/undither-$pkgver.tar.gz"

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Oliver Kahrmann <oliver.kahrmann@gmail.com>
2
3pkgname=undither
4pkgver=20021015
5pkgrel=1
6pkgdesc="Remove dither effects from scanned images"
7arch=('x86_64' 'i686')
8url="http://www.madingley.org/james/resources/undither/"
9license=('Custom')
10depends=('fftw2')
11makedepends=('wget')
12source=(
13 "http://www.madingley.org/james/resources/undither/files/undither-$pkgver.tar.gz"
14 "LICENSE"
15)
16sha256sums=(
17 '76241e87e64df3c7723c966ca71019e930e1473bb570de4c45e24a3340231b7f'
18 'SKIP'
19)
20
21prepare() {
22 # Replace fttw header filenames and library names to adjust for fftw2 package
23 sed "s/<fftw.h>/<sfftw.h>/" -i "$srcdir/undither/undither.c"
24 sed "s/<rfftw.h>/<srfftw.h>/" -i "$srcdir/undither/undither.c"
25
26 sed "s/-lfftw/-lsfftw/" -i "$srcdir/undither/Makefile"
27 sed "s/-lrfftw/-lsrfftw/" -i "$srcdir/undither/Makefile"
28
29 # Download the explanation on the website as documentation
30 wget -P $srcdir/undither-doc -r -nH -nd -np -nc -k -A html,gif,jpg "http://www.madingley.org/james/resources/undither/"
31}
32
33build() {
34 cd "$srcdir/undither"
35 make FFTW="$destdir/usr" undither
36}
37
38package() {
39 cd "$srcdir/undither"
40 mkdir -p $pkgdir/usr/bin
41 make BINDIR="$pkgdir/usr/bin" FFTW="$destdir/usr" install
42
43 install -Dm644 "${srcdir}/undither/README" "${pkgdir}/usr/share/doc/${pkgname}/README"
44 install -Dm644 "${srcdir}/undither-doc/"* "${pkgdir}/usr/share/doc/${pkgname}/"
45 install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
46}
47
48# vim:set ts=2 sw=2 et:
49

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 00:22:44 Low 3
2026-09-09 00:04:09 Low 3
2026-09-08 00:18:08 Low 3
2026-09-07 00:30:15 Low 3
2026-09-06 00:17:06 Low 3
2026-09-05 00:16:27 Low 3
2026-09-04 00:03:13 Low 3
2026-09-03 00:15:47 Low 3
2026-09-02 00:02:31 Low 3
2026-09-01 00:11:19 Low 3
2026-08-31 00:19:57 Low 3
2026-08-30 00:04:14 Low 3
2026-08-29 00:29:17 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