undither
maintainer founderio
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
3
pkgname=undither
4
pkgver=20021015
5
pkgrel=1
6
pkgdesc="Remove dither effects from scanned images"
7
arch=('x86_64' 'i686')
8
url="http://www.madingley.org/james/resources/undither/"
9
license=('Custom')
10
depends=('fftw2')
11
makedepends=('wget')
12
source=(
13
"http://www.madingley.org/james/resources/undither/files/undither-$pkgver.tar.gz"
14
"LICENSE"
15
)
16
sha256sums=(
17
'76241e87e64df3c7723c966ca71019e930e1473bb570de4c45e24a3340231b7f'
18
'SKIP'
19
)
20
21
prepare() {
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
33
build() {
34
cd "$srcdir/undither"
35
make FFTW="$destdir/usr" undither
36
}
37
38
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 3 |
| 2026-08-02 00:16:08 | LOW | 3 |
| 2026-08-01 00:11:18 | LOW | 3 |
| 2026-07-31 00:14:10 | LOW | 3 |
| 2026-07-30 00:17:23 | LOW | 3 |
| 2026-07-29 00:25:53 | LOW | 3 |
| 2026-07-28 00:07:28 | LOW | 3 |
| 2026-07-27 00:24:32 | LOW | 3 |
| 2026-07-26 00:07:32 | LOW | 3 |
| 2026-07-25 00:13:44 | LOW | 3 |
| 2026-07-24 00:02:28 | LOW | 3 |
| 2026-07-23 00:14:47 | LOW | 3 |
| 2026-07-22 00:29:32 | LOW | 3 |
| 2026-07-21 00:24:15 | LOW | 3 |
| 2026-07-20 00:19:49 | LOW | 3 |
| 2026-07-19 00:17:08 | LOW | 3 |
| 2026-07-18 00:14:48 | LOW | 3 |
| 2026-07-17 00:06:16 | LOW | 3 |
| 2026-07-16 00:05:41 | LOW | 3 |
| 2026-07-15 00:09:25 | LOW | 3 |