at32-new-clock-configuration

LOW
maintainer taotieren 0 votes base at32-new-clock-configuration-bin scanned 2026-10-17 00:21:55.226236
View on AUR
Why flagged

The source is a prebuilt binary (deb in zip) from the official vendor's domain (arterytek.com), which is plausibly the project's own release infrastructure; while not on a standard code host, it is not an arbitrary untrusted host, and the checksum is provided, reducing supply-chain risk.

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 source is a prebuilt binary (deb in zip) from the official vendor's domain (arterytek.com), which is plausibly the project's own release infrastructure; while not on a standard code host, it is not an arbitrary untrusted host, and the checksum is provided, reducing supply-chain risk.

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/Program%20and%20Debug/${_pkg_file_name}.zip")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: taotieren <admin@taotieren.com>
2
3pkgbase=at32-new-clock-configuration-bin
4pkgname=at32-new-clock-configuration
5pkgver=3.0.20
6pkgrel=3
7# epoch=1
8pkgdesc="AT32 时钟配置工具是雅特力科技为方便对 AT32 系列 MCU 进行时钟配置而开发的一个图形化配置工具,其主旨是使用户清晰了解时钟路径和配置出期望的时钟频率。"
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 libz.so
21)
22makedepends=(libarchive sed)
23optdepends=(
24 'artery-isp-console'
25 'at-link-console'
26 'at32-bootloader-doc'
27 'at32-ide'
28 'at32-ide-project-generate'
29 'at32-work-bench'
30 'at32-openocd'
31 'jlink-software-and-documentation: Segger JLink software & documentation pack for Linux'
32)
33backup=()
34options=('!strip' '!debug' '!lto')
35# install=${pkgname}.install
36_pkg_name=AT32_New_Clock_Configuration
37_pkg_linux=${_pkg_name}_Linux-${arch}
38_pkg_file_name=${_pkg_linux}_V${pkgver}
39source=("${_pkg_file_name}.zip::https://www.arterytek.com/download/Program%20and%20Debug/${_pkg_file_name}.zip")
40# https://www.arterytek.com/download/Program%20and%20Debug/AT32_New_Clock_Configuration_Linux-x86_64_V3.0.19.zip
41sha256sums=('55d41411fcc0b22b9df4a6d900575c88bf0852a6883d5f96761fbfb6e85e2f1a')
42# noextract=(${_pkg_file_name}.zip)
43
44package() {
45 install -dm0755 "${pkgdir}/opt/artery32/${pkgname}/" \
46 "${srcdir}/${_pkg_file_name}"
47
48 bsdtar -xf ${srcdir}/${_pkg_file_name}.deb -C ${srcdir}/${_pkg_file_name}
49 bsdtar -xf ${srcdir}/${_pkg_file_name}/data.tar.xz -C ${srcdir}/${_pkg_file_name}
50
51 cp -rv ${srcdir}/${_pkg_file_name}/usr/local/* "${pkgdir}/opt/artery32/${pkgname}/"
52
53 sed -i 's|/usr/local/|/opt/artery32/at32-new-clock-configuration/|g' ${srcdir}/${_pkg_file_name}/usr/share/applications/AT32_New_Clock_Configuration.desktop
54 install -Dm0644 ${srcdir}/${_pkg_file_name}/usr/share/applications/AT32_New_Clock_Configuration.desktop ${pkgdir}/usr/share/applications/AT32_New_Clock_Configuration.desktop
55 install -Dm0644 ${srcdir}/${_pkg_file_name}/usr/share/icons/AT32_New_Clock_Configuration/ArteryIcon.ico ${pkgdir}/usr/share/icons/AT32_New_Clock_Configuration/ArteryIcon.ico
56
57 install -Dm0755 /dev/stdin "${pkgdir}/usr/bin/${pkgname}" <<EOF
58#!/bin/bash
59/opt/artery32/${pkgname}/${_pkg_name}/${_pkg_name}.sh "\$@"
60EOF
61 chown -R root:root "${pkgdir}/"
62}
63

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