dxf-thumbnailer
maintainer KenwoodFox
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a Python script from a personal domain not on the whitelist, but it is the project author's own site, the script is patched locally, and the worst case of a swapped source is limited to running untrusted Python code, which is a normal build risk for AUR packages from individual developers.
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 downloads a Python script from a personal domain not on the whitelist, but it is the project author's own site, the script is patched locally, and the worst case of a swapped source is limited to running untrusted Python code, which is a normal build risk for AUR packages from individual developers.
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:7
url="https://yorik.uncreated.net/archive/scripts/dxf-thumbnailer.py"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Joe <joe@kitsunehosting.net>
2
pkgname=dxf-thumbnailer
3
pkgver=0.1
4
pkgrel=1
5
pkgdesc="Freedesktop thumbnailer for DXF CAD files (Python, by Yorik van Havre)"
6
arch=('any')
7
url="https://yorik.uncreated.net/archive/scripts/dxf-thumbnailer.py"
8
license=('GPL-2.0-or-later')
9
depends=('python' 'python-pillow')
10
source=(
11
"${pkgname}.py::https://yorik.uncreated.net/archive/scripts/dxf-thumbnailer.py"
12
"${pkgname}.patch"
13
"dxf.thumbnailer"
14
)
15
sha256sums=(
16
'6e9527b3581aa4431bd19cde29d2c8d40494191cde253bfc387e865c3f49bb8f'
17
'31046005b795f832d67919940dcb03c7a7a1dd2051dee7e97e53422039f193f2'
18
'fa5202bfb72406a9bdbda4efa1fe7c45ddb6aa2101fdddd400c4688e4ffba874'
19
)
20
21
prepare() {
22
cd "$srcdir"
23
# makepkg links local sources into $srcdir as symlinks; patch refuses those.
24
cp -L -- "${pkgname}.py" "${pkgname}.py~"
25
mv -f -- "${pkgname}.py~" "${pkgname}.py"
26
patch -p0 -i "$srcdir/${pkgname}.patch"
27
}
28
29
package() {
30
install -Dm755 "${srcdir}/${pkgname}.py" "${pkgdir}/usr/bin/${pkgname}"
31
install -Dm644 "${srcdir}/dxf.thumbnailer" "${pkgdir}/usr/share/thumbnailers/dxf.thumbnailer"
32
}
33
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |