qoder-cn-ide

MEDIUM
maintainer lzsnyy 0 votes scanned 2026-11-03 12:09:28.176153
View on AUR
Why flagged

Downloads a prebuilt RPM binary from a non-standard Alibaba OSS bucket (qoder-ide-cn.oss-cn-hangzhou.aliyuncs.com) that is not the project's official release infrastructure and could be silently swapped; the checksum provides some protection but the source is an unverifiable third-party object store hosting an executable that gets installed and run.

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:28 "qoder-cn-ide-${pkgver}.rpm::https://qoder-ide-cn.oss-cn-hangzhou.aliyuncs.com/qoder/release/lastest/qoder-cn-ide_${CARCH}.rpm"
Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Medium AI review llm_review

An AI model (anthropic/claude-sonnet-4.6) reviewed this and agrees it is MEDIUM (confidence 70%): Downloads a prebuilt RPM binary from a non-standard Alibaba OSS bucket (qoder-ide-cn.oss-cn-hangzhou.aliyuncs.com) that is not the project's official release infrastructure and could be silently swapped; the checksum provides some protection but the source is an unverifiable third-party object store hosting an executable that gets installed and run.

PKGBUILD

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

Scan history

Scanned at (UTC)SeverityRules
2026-11-03 12:09:28 Medium 3
2026-11-03 12:04:35 Medium 3

Report a package

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

0 / 4000
Your suggestion