at32-work-bench
at32-work-bench-bin
scanned 2026-10-17 00:21:55.226236
The package downloads a source archive from the official vendor's domain (arterytek.com) which is plausibly the project's own release infrastructure; despite the static analyzer flag for a non-standard host, the download is from the legitimate manufacturer's site, and the checksum is provided, making it a normal AUR package building from official prebuilt binaries.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a source archive from the official vendor's domain (arterytek.com) which is plausibly the project's own release infrastructure; despite the static analyzer flag for a non-standard host, the download is from the legitimate manufacturer's site, and the checksum is provided, making it a normal AUR package building from official prebuilt binaries.
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:39
source=("${_pkg_file_name}.zip::https://www.arterytek.com/download/AT32%20Workbench/${_pkg_file_name}.zip")
PKGBUILD
1 offending line(s) highlighted# Maintainer: taotieren <admin@taotieren.com>
pkgbase=at32-work-bench-bin
pkgname=at32-work-bench
pkgver=1.2.05
pkgrel=5
# epoch=1
pkgdesc="AT32 MCU 图形化配置软件,生成初始化 C 代码"
arch=('x86_64')
url="https://www.arterytek.com/cn/support/tools.jsp"
license=('LicenseRef-scancode-commercial-license')
provides=(${pkgname})
conflicts=()
replaces=()
depends=(
sh
glib2
libgcc_s.so
libstdc++.so
zlib
)
makedepends=(
desktop-file-utils
libarchive
sed)
optdepends=(
'artery-isp-console'
'at-link-console'
'at32-bootloader-doc'
'at32-ide'
'at32-ide-project-generate'
'at32-new-clock-configuration'
'at32-openocd'
'jlink-software-and-documentation: Segger JLink software & documentation pack for Linux')
backup=()
options=('!strip' '!debug' '!lto')
install=
_pkg_file_name=AT32_Work_Bench_Linux-${arch}_V${pkgver}
source=("${_pkg_file_name}.zip::https://www.arterytek.com/download/AT32%20Workbench/${_pkg_file_name}.zip")
sha256sums=('15237b61e1aeda0c367b0f90f361afaa686fb65125243e5d84dcf45d1c4a4d6d')
noextract=()
package() {
install -dm0755 "${pkgdir}/opt/artery32/"
bsdtar -xf ${srcdir}/${_pkg_file_name}.deb -C ${srcdir}
bsdtar -xf ${srcdir}/data.tar.xz -C "${pkgdir}"
mv "${pkgdir}/usr/local" "${pkgdir}/opt/artery32/${pkgname}"
sed -i "s|/usr/local|/opt/artery32/${pkgname}|g" "${pkgdir}"/usr/share/applications/AT32_Work_Bench.desktop
install -Dm0755 /dev/stdin "${pkgdir}/usr/bin/${pkgname}" <<EOF
#!/bin/bash
cd /opt/artery32/${pkgname}/AT32_Work_Bench/
bash AT32_Work_Bench.sh --stylesheet=<(echo 'QWidget {background-color: white;color: black;}') "\$@"
EOF
chown -R root:root "${pkgdir}/"
find "${pkgdir}/" -type f -exec chmod 644 "{}" \;
find "${pkgdir}/" -type d -exec chmod 755 "{}" \;
chmod 777 "${pkgdir}/opt/artery32/${pkgname}/AT32_Work_Bench/"
cd "${pkgdir}/opt/artery32/${pkgname}/AT32_Work_Bench/"
chmod +x AT32_Work_Bench*
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |
| 2026-10-12 00:18:51 | Low | 2 |
| 2026-10-11 00:26:05 | Low | 2 |
| 2026-10-10 00:11:52 | Low | 2 |
| 2026-10-09 00:05:33 | Low | 2 |
| 2026-10-08 00:28:03 | Low | 2 |
| 2026-10-07 00:21:34 | Low | 2 |
| 2026-10-06 00:13:36 | Low | 2 |
| 2026-10-05 00:08:03 | Low | 2 |
| 2026-10-04 00:18:08 | Low | 2 |
| 2026-10-03 00:23:04 | Low | 2 |
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |
| 2026-09-30 00:20:07 | Low | 2 |
| 2026-09-29 00:07:46 | Low | 2 |
| 2026-09-28 00:28:32 | Low | 2 |