qoder-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 download.qoder.com (a non-whitelisted, project-owned but unverifiable host) and installs it directly; the checksum provides some assurance but the binary is a closed-source prebuilt executable from a relatively unknown vendor with few AUR votes, making silent substitution or supply-chain risk a realistic concern.

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 "qoder-ide-${pkgver}.rpm::https://download.qoder.com/release/latest/qoder-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 download.qoder.com (a non-whitelisted, project-owned but unverifiable host) and installs it directly; the checksum provides some assurance but the binary is a closed-source prebuilt executable from a relatively unknown vendor with few AUR votes, making silent substitution or supply-chain risk a realistic concern.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: lzsnyy <710080675@qq.com>
2_appname=qoder
3pkgname="${_appname}-ide"
4_pkgname='Qoder IDE'
5pkgver=1.38.0
6_electronversion=42
7pkgrel=1
8pkgdesc="AI native IDE for real-world software development."
9arch=('x86_64')
10url="https://qoder.com/"
11_ghurl="https://github.com/QoderAI/changelog-zh_CN"
12license=('LicenseRef-custom')
13conflicts=('qoder-ide-bin')
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 "qoder-ide-${pkgver}.rpm::https://download.qoder.com/release/latest/qoder-ide_${CARCH}.rpm"
30 "LICENSE.html"
31 "qoder-ide.js"
32 "qoder-ide.sh"
33)
34sha256sums=('a8eb8c6e09565d31916204ddbff972437d59cf6f7a2bc62838d52763d195535f'
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@/qoder-ide/g
59 s/@runname@/qoder-ide.js/g
60 " "${srcdir}/qoder-ide.sh" "${srcdir}/qoder-ide.js"
61 sed -i "s/\/usr\/share\/qoder-ide\///g" "${srcdir}/usr/share/applications/qoder-ide"*.desktop
62 find "$(_get_app_dir)/resources/app" -type d \( -name "*win32*" -o -name "*darwin*" -o -name "*arm*" \) -exec rm -rf {} +
63 rm -rf \
64 "$(_get_app_dir)/resources/app/node_modules/windows-foreground-love" \
65 "$(_get_app_dir)/resources/app/node_modules/native-is-elevated"
66}
67package() {
68 install -Dm755 "${srcdir}/qoder-ide.sh" "${pkgdir}/usr/bin/qoder-ide"
69 install -Dm755 "${srcdir}/qoder-ide.js" -t "${pkgdir}/usr/lib/qoder-ide"
70 cp -a "$(_get_app_dir)/resources/." "${pkgdir}/usr/lib/qoder-ide/"
71 install -Dm644 "${srcdir}/usr/share/pixmaps/qoder-ide.png" -t "${pkgdir}/usr/share/pixmaps"
72 install -Dm644 "${srcdir}/usr/share/applications/qoder-ide"* -t "${pkgdir}/usr/share/applications"
73 install -Dm644 "${srcdir}/usr/share/appdata/qoder-ide.appdata.xml" -t "${pkgdir}/usr/share/appdata"
74 install -Dm644 "${srcdir}/usr/share/mime/packages/qoder-ide-workspace.xml" -t "${pkgdir}/usr/share/mime/packages"
75 [[ -x /usr/bin/bash ]] && install -Dm644 "${srcdir}/usr/share/bash-completion/completions/${_appname}" "${pkgdir}/usr/share/bash-completion/completions/qoder-ide"
76 [[ -x /usr/bin/zsh ]] && install -Dm644 "${srcdir}/usr/share/zsh/site-functions/_${_appname}" "${pkgdir}/usr/share/zsh/site-functions/_qoder-ide"
77 install -Dm644 "${srcdir}/LICENSE.html" -t "${pkgdir}/usr/share/licenses/${pkgname}"
78}
79

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