at32-ide-bin

LOW
maintainer taotieren 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is a prebuilt IDE binary downloaded from the official vendor's domain (arterytek.com), which is plausibly the project's own release infrastructure; despite the non-whitelisted host, this is a standard vendor distribution and the package does not execute untrusted remote code or exhibit malicious behavior.

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 IDE binary downloaded from the official vendor's domain (arterytek.com), which is plausibly the project's own release infrastructure; despite the non-whitelisted host, this is a standard vendor distribution and the package does not execute untrusted remote code or exhibit malicious behavior.

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:45 source=("${_pkg_file_name}.zip::https://www.arterytek.com/download/AT32%20IDE/${_pkg_file_name}.zip")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: taotieren <admin@taotieren.com>
2
3pkgname=at32-ide-bin
4pkgver=1.0.14
5pkgrel=4
6# epoch=1
7pkgdesc="AT32 IDE 是个跨平台 ARM 嵌入式系统的软件开发环境。 它包含一系列的 Eclipse 插件和工具。该插件可让用户在 AT32 IDE 开发环境下创建、建置和调试 AT32
8MCU。"
9arch=('x86_64')
10url="https://www.arterytek.com/cn/support/tools.jsp"
11license=('LicenseRef-scancode-commercial-license')
12provides=(at32-ide AT32IDE)
13conflicts=(at32-ide AT32IDE)
14replaces=()
15depends=(
16 # java-runtime
17 bash
18 hidapi
19 libgcc_s.so
20 libstdc++.so
21 libusb
22 libz.so
23 java-runtime
24 perl
25 python
26)
27makedepends=(
28 libarchive
29 sed
30)
31optdepends=(
32 'artery-isp-console'
33 'at-link-console'
34 'at32-bootloader-doc'
35 'at32-ide-project-generate'
36 'at32-new-clock-configuration'
37 'at32-work-bench'
38 'at32-openocd'
39 'jlink-software-and-documentation: Segger JLink software & documentation pack for Linux'
40)
41backup=()
42options=(!strip !emptydirs !staticlibs)
43install=${pkgname}.install
44_pkg_file_name=AT32_IDE_V${pkgver}_Linux-${arch}
45source=("${_pkg_file_name}.zip::https://www.arterytek.com/download/AT32%20IDE/${_pkg_file_name}.zip")
46sha256sums=('e975168e5a23ce48fa774abec39bb087f3f40cb5aa366d05c742a49b1c81237b')
47noextract=(${_pkg_file_name}.zip)
48
49package() {
50 bsdtar -xf ${srcdir}/${_pkg_file_name}.zip -C ${srcdir}/
51
52 install -dm0755 "${pkgdir}/opt/artery32/${pkgname%-bin}/"
53
54 bsdtar -xf ${srcdir}/AT32IDE_V${pkgver}_Linux-X86_64.tar.gz -C "${pkgdir}/opt/artery32/${pkgname%-bin}/"
55
56 install -Dm0755 /dev/stdin "${pkgdir}/usr/bin/${pkgname%-bin}" <<EOF
57#!/bin/bash
58/opt/artery32/${pkgname%-bin}/AT32IDE "\$@"
59EOF
60
61 chmod 664 "${pkgdir}/opt/artery32/${pkgname%-bin}/AT32IDE.ini"
62
63 install -Dm0644 "${pkgdir}/opt/artery32/${pkgname%-bin}/icon.xpm" "${pkgdir}/usr/share/pixmaps/${pkgname%-bin}.xpm"
64
65 install -Dm0644 "${pkgdir}/opt/artery32/${pkgname%-bin}/OpenOCD/contrib/60-openocd.rules" "${pkgdir}/etc/udev/rules.d/60-openocd-${pkgname%-bin}.rules"
66 sed -i 's|openocd_rules|openocd_at32_ide_rules|g' "${pkgdir}/etc/udev/rules.d/60-openocd-${pkgname%-bin}.rules"
67
68 install -Dm0644 /dev/stdin "${pkgdir}/usr/share/metainfo/com.arterytek.at32ide.metainfo.xml" <<EOF
69<?xml version="1.0" encoding="UTF-8"?>
70<component type="desktop-application">
71 <id>com.arterytek.at32ide</id>
72
73 <name>AT32IDE</name>
74 <summary>AT32IDE</summary>
75
76 <metadata_license>MIT</metadata_license>
77 <project_license>GPL-2.0-or-later</project_license>
78
79 <description>
80 <p>
81 AT32 IDE 是个跨平台 ARM 嵌入式系统的软件开发环境。 它包含一系列的 Eclipse 插件和工具。该插件可让用户在 AT32 IDE 开发环境下创建、建置和调试 AT32
82MCU。
83 </p>
84 </description>
85
86 <launchable type="desktop-id">com.arterytek.at32ide.desktop</launchable>
87</component>
88EOF
89
90 install -Dm0644 /dev/stdin "${pkgdir}/usr/share/applications/com.arterytek.at32ide.desktop" <<EOF
91[Desktop Entry]
92Version=1.0
93Type=Application
94
95Name=AT32IDE
96Comment=AT32IDE
97Categories=Development;Electronics;
98
99Icon=${pkgname%-bin}
100Exec=${pkgname%-bin}
101Terminal=false
102EOF
103 chown -R root:root "${pkgdir}/"
104}
105

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
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

Report a package

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

0 / 4000
Your suggestion