mm32-jlink-pack
maintainer taotieren
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a JLink support pack from the official MindMotion domain for installation; the source is a non-whitelisted but legitimate vendor URL, and the installed content is configuration/data files, not executable code.
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 JLink support pack from the official MindMotion domain for installation; the source is a non-whitelisted but legitimate vendor URL, and the installed content is configuration/data files, not executable code.
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:23
source=("${pkgname}-${pkgver}.zip::https://www.mindmotion.com.cn/download1.aspx?itemid=152&typeid=4"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: taotieren <admin@taotieren.com>
2
3
pkgname=mm32-jlink-pack
4
pkgver=0.98
5
pkgrel=0
6
epoch=
7
pkgdesc="JLINK Pack 支持包支持 MM32 全系列芯片,在 SEGGER JLink 6.10 及以上版本下的安装。"
8
arch=('any')
9
url="https://www.mindmotion.com.cn/support/software/jlink_pack/"
10
license=('custom' 'Commercial')
11
groups=()
12
depends=("jlink-software-and-documentation>=6.10")
13
makedepends=('libarchive')
14
checkdepends=()
15
optdepends=()
16
provides=('MM32_JLINK_pack')
17
conflicts=()
18
replaces=()
19
backup=()
20
options=('!strip')
21
install=${pkgname}.install
22
changelog=
23
source=("${pkgname}-${pkgver}.zip::https://www.mindmotion.com.cn/download1.aspx?itemid=152&typeid=4"
24
"${pkgname}.install")
25
noextract=(${pkgname}-${pkgver}.zip)
26
sha256sums=('f8e4f6b932daadff751484915a49c1fc6e73f3084b146a65c88e06374ac784a4'
27
'de1e76c8cc464ac1a42b4466a82d75120c01f30d64b1f2c8ca122ea08c2c4d22')
28
29
package() {
30
install -dm0755 "${pkgdir}/opt/mindmotion/mm32/"
31
bsdtar -xf "${srcdir}/${pkgname}-${pkgver}.zip" --strip-components=1 -C "${pkgdir}/opt/mindmotion/mm32/"
32
33
find "${pkgdir}/opt/mindmotion/mm32/" -type f -exec chmod 644 "{}" \;
34
find "${pkgdir}/opt/mindmotion/mm32/" -type d -exec chmod 755 "{}" \;
35
36
install -Dm0755 /dev/stdin "${pkgdir}/usr/bin/${pkgname}" << EOF
37
#!/bin/bash
38
39
if [ ! -d "$HOME"/.config/SEGGER/JLinkDevices ] ; then
40
mkdir -p $HOME/.config/SEGGER/JLinkDevices || exit 1
41
fi
42
43
if [ -d "$HOME"/.config/SEGGER/JLinkDevices/mm32 ] ; then
44
rm -rf $HOME/.config/SEGGER/JLinkDevices/mm32 || exit 1
45
fi
46
47
if [ ! -d "$HOME"/.config/SEGGER/JLinkDevices/mm32 ] ; then
48
cp -r /opt/mindmotion/mm32 $HOME/.config/SEGGER/JLinkDevices/ || exit 1
49
fi
50
51
EOF
52
}
53
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 |