niiet-openocd-git
maintainer ntpssd
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from source hosted on a non-whitelisted but plausibly project-owned forge (gitflic.ru), which is normal for AUR packages; no unverifiable prebuilt binaries or malicious payloads are involved.
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 source hosted on a non-whitelisted but plausibly project-owned forge (gitflic.ru), which is normal for AUR packages; no unverifiable prebuilt binaries or malicious payloads are involved.
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:17
"${pkgname}::git+https://gitflic.ru/project/niiet/openocd.git"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Ivan <vanno6521@gmail.com>
2
pkgname=niiet-openocd-git
3
pkgver=0.12.0_ged6429411
4
pkgrel=1
5
pkgdesc="Provides on-chip programming and debugging support, also for NIIET MCUs"
6
arch=('i686' 'x86_64' 'arm' 'aarch64')
7
url="https://gitflic.ru/project/niiet/openocd"
8
license=('GPL')
9
depends=('hidapi' 'libftdi-compat' 'libusb' 'capstone')
10
makedepends=('git' 'tcl')
11
optdepends=('libjaylink: SEGGER J-Link support')
12
provides=('openocd')
13
conflicts=('openocd')
14
options=(!strip)
15
16
source=(
17
"${pkgname}::git+https://gitflic.ru/project/niiet/openocd.git"
18
"git+https://github.com/msteveb/jimtcl.git"
19
)
20
21
sha256sums=('SKIP'
22
'SKIP')
23
24
prepare() {
25
cd "$srcdir/${pkgname}"
26
27
sed -i 's|GROUP="plugdev", ||g' contrib/60-openocd.rules
28
git submodule init
29
git config submodule.jimtcl.url "$srcdir/jimtcl"
30
git -c protocol.file.allow=always submodule update
31
}
32
33
build() {
34
cd "$srcdir/${pkgname}"
35
36
./bootstrap
37
./configure --prefix=/usr CFLAGS='-Wno-calloc-transposed-args'
38
39
make
40
}
41
42
package() {
43
cd "$srcdir/${pkgname}"
44
45
make "DESTDIR=${pkgdir}" install
46
install -Dm 644 contrib/60-openocd.rules "$pkgdir"/usr/lib/udev/rules.d/60-openocd.rules
47
}
48
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 |