at32-work-bench

LOW
maintainer taotieren 1 votes base at32-work-bench-bin scanned 2026-10-17 00:21:55.226236
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
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:39 source=("${_pkg_file_name}.zip::https://www.arterytek.com/download/AT32%20Workbench/${_pkg_file_name}.zip")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: taotieren <admin@taotieren.com>
2
3pkgbase=at32-work-bench-bin
4pkgname=at32-work-bench
5pkgver=1.2.05
6pkgrel=5
7# epoch=1
8pkgdesc="AT32 MCU 图形化配置软件,生成初始化 C 代码"
9arch=('x86_64')
10url="https://www.arterytek.com/cn/support/tools.jsp"
11license=('LicenseRef-scancode-commercial-license')
12provides=(${pkgname})
13conflicts=()
14replaces=()
15depends=(
16 sh
17 glib2
18 libgcc_s.so
19 libstdc++.so
20 zlib
21)
22makedepends=(
23 desktop-file-utils
24 libarchive
25 sed)
26optdepends=(
27 'artery-isp-console'
28 'at-link-console'
29 'at32-bootloader-doc'
30 'at32-ide'
31 'at32-ide-project-generate'
32 'at32-new-clock-configuration'
33 'at32-openocd'
34 'jlink-software-and-documentation: Segger JLink software & documentation pack for Linux')
35backup=()
36options=('!strip' '!debug' '!lto')
37install=
38_pkg_file_name=AT32_Work_Bench_Linux-${arch}_V${pkgver}
39source=("${_pkg_file_name}.zip::https://www.arterytek.com/download/AT32%20Workbench/${_pkg_file_name}.zip")
40sha256sums=('15237b61e1aeda0c367b0f90f361afaa686fb65125243e5d84dcf45d1c4a4d6d')
41noextract=()
42
43package() {
44 install -dm0755 "${pkgdir}/opt/artery32/"
45
46 bsdtar -xf ${srcdir}/${_pkg_file_name}.deb -C ${srcdir}
47 bsdtar -xf ${srcdir}/data.tar.xz -C "${pkgdir}"
48
49 mv "${pkgdir}/usr/local" "${pkgdir}/opt/artery32/${pkgname}"
50
51 sed -i "s|/usr/local|/opt/artery32/${pkgname}|g" "${pkgdir}"/usr/share/applications/AT32_Work_Bench.desktop
52
53 install -Dm0755 /dev/stdin "${pkgdir}/usr/bin/${pkgname}" <<EOF
54#!/bin/bash
55cd /opt/artery32/${pkgname}/AT32_Work_Bench/
56bash AT32_Work_Bench.sh --stylesheet=<(echo 'QWidget {background-color: white;color: black;}') "\$@"
57EOF
58 chown -R root:root "${pkgdir}/"
59 find "${pkgdir}/" -type f -exec chmod 644 "{}" \;
60 find "${pkgdir}/" -type d -exec chmod 755 "{}" \;
61
62 chmod 777 "${pkgdir}/opt/artery32/${pkgname}/AT32_Work_Bench/"
63 cd "${pkgdir}/opt/artery32/${pkgname}/AT32_Work_Bench/"
64 chmod +x AT32_Work_Bench*
65}
66

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion