openocd-git
The source uses git repositories from non-whitelisted hosts, but all are plausibly project-related (repo.or.cz, github.com, gitlab.zapb.de, git.savannah.nongnu.org); this is a standard AUR git package building from upstream sources, so the risk is low despite unverifiable checksums.
Triggered rules
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 source uses git repositories from non-whitelisted hosts, but all are plausibly project-related (repo.or.cz, github.com, gitlab.zapb.de, git.savannah.nongnu.org); this is a standard AUR git package building from upstream sources, so the risk is low despite unverifiable checksums.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:27
"git+https://gitlab.zapb.de/libjaylink/libjaylink.git"
PKGBUILD
1 offending line(s) highlighted# ex: ts=2 sts=2 sw=2 et
# Maintainer: yhfudev <yhfudev ta gmail dot com>
# Contributor: veox <veox ta wemakethings dot net>
# Contributor: Nick Østergaard <oe.nick at gmail dot com>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Matthias Bauch <matthias.bauch@gmail.com>
# Contributor: Laszlo Papp <djszapi2 at gmail com>
# Contributor: Samuel Tardieu <sam@rfc1149.net>
_pkgbase=openocd
pkgname=openocd-git
pkgver=0.12.0.r59.g0b6f53e94
pkgrel=1
pkgdesc="Debugging, in-system programming and boundary-scan testing for embedded target devices (git version)"
arch=('i686' 'x86_64' 'arm' 'aarch64')
url="http://openocd.org"
license=('GPL')
depends=('libftdi-compat' 'libusb-compat' 'hidapi' 'libudev.so' 'capstone' 'libjaylink')
makedepends=('git' 'automake>=1.11' 'autoconf' 'libtool' 'tcl')
options=(!strip)
provides=('openocd')
conflicts=('openocd')
source=(
"${pkgname}::git+https://repo.or.cz/openocd.git"
"git+https://github.com/msteveb/jimtcl.git"
"git+https://gitlab.zapb.de/libjaylink/libjaylink.git"
"git+https://git.savannah.nongnu.org/git/git2cl.git"
)
md5sums=('SKIP'
'SKIP'
'SKIP'
'SKIP')
sha1sums=('SKIP'
'SKIP'
'SKIP'
'SKIP')
# Specify desired features and device support here. A list can be
# obtained by running ./configure in the source directory.
_features=(
aice
amtjtagaccel
armjtagew
at91rm9200
bcm2835gpio
buspirate
capstone
cmsis-dap
dummy
ep93xx
ftdi
gw16012
ioutil
jlink
jtag_vpi
legacy-ft2232_libftdi
oocd_trace
opendous
openjtag_ftdi
osbdm
parport
presto_libftdi
remote-bitbang
rlink
stlink
sysfsgpio
ti-icdi
ulink
usb-blaster-2
usb_blaster_libftdi
usbprog
vsllink
xlnx_pcie_xvc
#parport-giveio
#zy1000
#zy1000-master
)
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --tags --long | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir/${pkgname}"
sed -i 's|GROUP="plugdev", ||g' contrib/60-openocd.rules
git submodule init
git config submodule.jimtcl.url "$srcdir/jimtcl"
git config submodule."src/jtag/drivers/libjaylink".url "$srcdir/libjaylink"
git config submodule."tools/git2cl".url "$srcdir/git2cl"
git -c protocol.file.allow=always submodule update
}
build() {
cd "$srcdir/${pkgname}"
./bootstrap
./configure --prefix=/usr \
--disable-werror \
${_features[@]/#/--enable-}
make
}
package() {
cd "$srcdir/${pkgname}"
make "DESTDIR=${pkgdir}" install
install -Dm 644 contrib/60-openocd.rules "$pkgdir"/usr/lib/udev/rules.d/60-openocd.rules
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |