qoder-cn-ide-bin

MEDIUM
maintainer zxp19821005 1 votes scanned 2026-11-06 00:21:40.447623
View on AUR
Why flagged

The package downloads a prebuilt RPM from an Alibaba Cloud OSS host, which is not the project's official release domain, creating a supply-chain risk if the artifact were silently swapped; the binary is executed as part of the IDE, increasing impact.

Triggered rules

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:29 "${pkgname%-bin}-${pkgver}.rpm::https://qoder-ide-cn.oss-cn-hangzhou.aliyuncs.com/qoder/release/lastest/${pkgname%-bin}_${CARCH}.rpm"
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 85%): The package downloads a prebuilt RPM from an Alibaba Cloud OSS host, which is not the project's official release domain, creating a supply-chain risk if the artifact were silently swapped; the binary is executed as part of the IDE, increasing impact.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2_appname=qoder-cn
3pkgname="${_appname}-ide-bin"
4_pkgname='Qoder IDE'
5pkgver=1.37.0
6_electronversion=42
7pkgrel=1
8pkgdesc="面向真实软件开发的 AI 原生 Qoder CN IDE。"
9arch=('x86_64')
10url="https://qoder.cn"
11license=('LicenseRef-custom')
12conflicts=("${pkgname%-bin}")
13provides=("${pkgname%-bin}=${pkgver}")
14depends=(
15 "electron${_electronversion}"
16 'libxkbfile'
17 'nodejs'
18 'python'
19)
20optdepends=(
21 'bash'
22 'zsh'
23)
24options=(
25 '!emptydirs'
26 '!strip'
27)
28source=(
29 "${pkgname%-bin}-${pkgver}.rpm::https://qoder-ide-cn.oss-cn-hangzhou.aliyuncs.com/qoder/release/lastest/${pkgname%-bin}_${CARCH}.rpm"
30 "LICENSE.html"
31 "${pkgname%-bin}.js"
32 "${pkgname%-bin}.sh"
33)
34sha256sums=('b72c2ebe1ba19b569997b4f7d05bb514c9052de9e3ddd3875887919c5628d775'
35 'd93359b3ca57aec94960975eec23b6412dc8fc0c5b5fcbce57bee0931e01ec61'
36 '562897be8a17076176f8d985c0d7bc1c685f2e7c9b3a932339ce015963243627'
37 '9417ba033cfc980d6723978dc5fca100cbec6da78e5494f9e64960e4efec8c21')
38pkgver() {
39 cat "${srcdir}/.pkgver" 2>/dev/null || echo "${pkgver}"
40}
41_get_app_dir() {
42 find "${srcdir}" -type f -name "resources.pak" ! -path "*/node_modules/*" -printf '%h\n' 2>/dev/null \
43 | while read -r d; do [[ -d "${d}/resources" ]] && { echo "$d"; return 0; }; done
44}
45_check_electron_version() {
46 local _v=$(strings "$(find "$(_get_app_dir)" -maxdepth 1 -type f \
47 -executable -printf '%s %p\n' | sort -nr | head -1 | cut -d' ' -f2-)" \
48 | grep -oP 'Electron/\K[0-9]+' | head -1)
49 [[ -z "$_v" ]] && { echo -e "\033[1;33mNote: Could not check version.\033[0m"; return; }
50 (( _v == _electronversion )) && c=32 || c=31
51 echo -e "Electron version: \033[1;${c}m$_v$([[ $c -eq 31 ]] && echo " (expected $_electronversion)")\033[0m"
52}
53prepare() {
54 _check_electron_version
55 grep '"version":' "$(_get_app_dir)/resources/app/featureFlags.json" | awk -F'"version": "' '{print $2}' | awk -F',' '{print $1}' | tr -d '"' > "${srcdir}/.pkgver"
56 sed -i -e "
57 s/@electronversion@/${_electronversion}/g
58 s/@appname@/${pkgname%-bin}/g
59 " "${srcdir}/${pkgname%-bin}.sh" "${srcdir}/${pkgname%-bin}.js"
60 sed -i "s/\/usr\/share\/${pkgname%-bin}\///g" "${srcdir}/usr/share/applications/${pkgname%-bin}"*.desktop
61 find "$(_get_app_dir)/resources/app" -type d \( -name "*win32*" -o -name "*darwin*" -o -name "*arm*" \) -exec rm -rf {} +
62 rm -rf \
63 "$(_get_app_dir)/resources/app/node_modules/windows-foreground-love" \
64 "$(_get_app_dir)/resources/app/node_modules/native-is-elevated"
65}
66package() {
67 install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
68 install -Dm755 "${srcdir}/${pkgname%-bin}.js" -t "${pkgdir}/usr/lib/${pkgname%-bin}"
69 cp -a "$(_get_app_dir)/resources/." "${pkgdir}/usr/lib/${pkgname%-bin}/"
70 install -Dm644 "${srcdir}/usr/share/pixmaps/${pkgname%-bin}.png" -t "${pkgdir}/usr/share/pixmaps"
71 install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}"* -t "${pkgdir}/usr/share/applications"
72 install -Dm644 "${srcdir}/usr/share/appdata/${pkgname%-bin}.appdata.xml" -t "${pkgdir}/usr/share/appdata"
73 install -Dm644 "${srcdir}/usr/share/mime/packages/${pkgname%-bin}-workspace.xml" -t "${pkgdir}/usr/share/mime/packages"
74 [[ -x /usr/bin/bash ]] && install -Dm644 "${srcdir}/usr/share/bash-completion/completions/${_appname}" "${pkgdir}/usr/share/bash-completion/completions/${pkgname%-bin}"
75 [[ -x /usr/bin/zsh ]] && install -Dm644 "${srcdir}/usr/share/zsh/site-functions/_${_appname}" "${pkgdir}/usr/share/zsh/site-functions/_${pkgname%-bin}"
76 install -Dm644 "${srcdir}/LICENSE.html" -t "${pkgdir}/usr/share/licenses/${pkgname}"
77}
78

Changes since previous scan

--- PKGBUILD @ 2026-10-30 01:55
+++ PKGBUILD @ 2026-11-06 00:21
@@ -2,7 +2,7 @@
_appname=qoder-cn
pkgname="${_appname}-ide-bin"
_pkgname='Qoder IDE'
-pkgver=1.36.0
+pkgver=1.37.0
_electronversion=42
pkgrel=1
pkgdesc="面向真实软件开发的 AI 原生 Qoder CN IDE。"
@@ -31,7 +31,7 @@
"${pkgname%-bin}.js"
"${pkgname%-bin}.sh"
)
-sha256sums=('9f5cabb1b89b1128bbe434d6fab64b8beb90fa4f72ef49799a9166b68a6ac235'
+sha256sums=('b72c2ebe1ba19b569997b4f7d05bb514c9052de9e3ddd3875887919c5628d775'
'd93359b3ca57aec94960975eec23b6412dc8fc0c5b5fcbce57bee0931e01ec61'
'562897be8a17076176f8d985c0d7bc1c685f2e7c9b3a932339ce015963243627'
'9417ba033cfc980d6723978dc5fca100cbec6da78e5494f9e64960e4efec8c21')

Scan history

Scanned at (UTC)SeverityRules
2026-11-06 00:21:40 Medium 2
2026-11-05 00:01:40 Medium 2
2026-11-04 00:25:23 Medium 2
2026-11-03 00:01:00 Medium 2
2026-11-02 00:26:00 Medium 2
2026-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 07:55:24 Medium 2
2026-10-30 01:55:02 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 03:43:44 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 03:30:06 Medium 2

Report a package

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

0 / 4000
Your suggestion