mm32-jlink-pack
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
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)
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# Maintainer: taotieren <admin@taotieren.com>
pkgname=mm32-jlink-pack
pkgver=0.98
pkgrel=0
epoch=
pkgdesc="JLINK Pack 支持包支持 MM32 全系列芯片,在 SEGGER JLink 6.10 及以上版本下的安装。"
arch=('any')
url="https://www.mindmotion.com.cn/support/software/jlink_pack/"
license=('custom' 'Commercial')
groups=()
depends=("jlink-software-and-documentation>=6.10")
makedepends=('libarchive')
checkdepends=()
optdepends=()
provides=('MM32_JLINK_pack')
conflicts=()
replaces=()
backup=()
options=('!strip')
install=${pkgname}.install
changelog=
source=("${pkgname}-${pkgver}.zip::https://www.mindmotion.com.cn/download1.aspx?itemid=152&typeid=4"
"${pkgname}.install")
noextract=(${pkgname}-${pkgver}.zip)
sha256sums=('f8e4f6b932daadff751484915a49c1fc6e73f3084b146a65c88e06374ac784a4'
'de1e76c8cc464ac1a42b4466a82d75120c01f30d64b1f2c8ca122ea08c2c4d22')
package() {
install -dm0755 "${pkgdir}/opt/mindmotion/mm32/"
bsdtar -xf "${srcdir}/${pkgname}-${pkgver}.zip" --strip-components=1 -C "${pkgdir}/opt/mindmotion/mm32/"
find "${pkgdir}/opt/mindmotion/mm32/" -type f -exec chmod 644 "{}" \;
find "${pkgdir}/opt/mindmotion/mm32/" -type d -exec chmod 755 "{}" \;
install -Dm0755 /dev/stdin "${pkgdir}/usr/bin/${pkgname}" << EOF
#!/bin/bash
if [ ! -d "$HOME"/.config/SEGGER/JLinkDevices ] ; then
mkdir -p $HOME/.config/SEGGER/JLinkDevices || exit 1
fi
if [ -d "$HOME"/.config/SEGGER/JLinkDevices/mm32 ] ; then
rm -rf $HOME/.config/SEGGER/JLinkDevices/mm32 || exit 1
fi
if [ ! -d "$HOME"/.config/SEGGER/JLinkDevices/mm32 ] ; then
cp -r /opt/mindmotion/mm32 $HOME/.config/SEGGER/JLinkDevices/ || exit 1
fi
EOF
}
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 |