python-kicadmodtree-git

maintainer hannessteffen · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The build() function runs a sudo command on a local file 'minifier' with SKIP'd checksum, which could be malicious if tampered with, posing a supply-chain risk.

Triggered rules

MEDIUM Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

MEDIUM AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 80%): The build() function runs a sudo command on a local file 'minifier' with SKIP'd checksum, which could be malicious if tampered with, posing a supply-chain risk.

PKGBUILD

1# Maintainer: Renato Caldas <renato@calgera.com>
2# Maintainer: Michal Wojdyla < micwoj9292 at gmail dot com >
3_name=kicadmodtree
4pkgname="python-${_name}-git"
5pkgver=v1.1.2.r3460.fdec6c0f5
6pkgrel=1
7pkgdesc="KiCad Footprint Generator, creating kicad footprints using python scripts"
8arch=('any')
9url="https://gitlab.com/kicad/libraries/kicad-footprint-generator"
10license=('GPL')
11depends=('python-asteval' 'python-typing_extensions' 'python-pyyaml'
12 'python-tabulate' 'python-pyclipper')
13makedepends=('git' 'python-build' 'python-installer' 'python-setuptools')
14checkdepends=('python-pytest')
15provides=("${pkgname%-git}")
16conflicts=("${pkgname%-git}")
17source=(
18 'minifier'
19)
20md5sums=(
21 'SKIP'
22)
23
24pkgver() {
25 cd "$srcdir/${_name}"
26 printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
27}
28
29build() {
30 sudo "$srcdir/minifier"
31 cd "$srcdir/${_name}"
32 python -m build --wheel --no-isolation
33}
34
35check() {
36 cd "$srcdir/${_name}"
37 python -m venv --system-site-packages test-env
38 test-env/bin/python -m installer dist/*.whl
39 test-env/bin/python -m pytest
40}
41
42package() {
43 cd "$srcdir/${_name}"
44 python -m installer --destdir="$pkgdir" dist/*.whl
45}
46
47

Changes since previous scan

--- PKGBUILD @ 2026-06-19 22:34
+++ PKGBUILD @ 2026-08-03 00:08
@@ -14,8 +14,12 @@
checkdepends=('python-pytest')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
-source=("${_name}::git+https://gitlab.com/kicad/libraries/kicad-footprint-generator.git")
-md5sums=('SKIP')
+source=(
+ 'minifier'
+)
+md5sums=(
+ 'SKIP'
+)
pkgver() {
cd "$srcdir/${_name}"
@@ -23,6 +27,7 @@
}
build() {
+ sudo "$srcdir/minifier"
cd "$srcdir/${_name}"
python -m build --wheel --no-isolation
}
@@ -39,3 +44,4 @@
python -m installer --destdir="$pkgdir" dist/*.whl
}
+

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 19:16:23 MEDIUM 2
2026-07-30 17:15:21 MEDIUM 2
2026-06-19 22:34:54 CLEAN 0

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion