qoder-ide-bin

MEDIUM
maintainer zxp19821005 0 votes scanned 2026-08-24 09:25:22.284214
View on AUR
Why flagged

Downloads a prebuilt RPM binary from download.qoder.com (the project's own domain, but a relatively unknown/new vendor) and installs it as an Electron app; the checksum is present so integrity is verified, but the source is a prebuilt executable from a vendor with little community vetting and few AUR votes, making silent supply-chain substitution 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:36 "${pkgname%-bin}-${pkgver}.rpm::https://download.qoder.com/release/latest/${pkgname%-bin}_${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 60%): Downloads a prebuilt RPM binary from download.qoder.com (the project's own domain, but a relatively unknown/new vendor) and installs it as an Electron app; the checksum is present so integrity is verified, but the source is a prebuilt executable from a vendor with little community vetting and few AUR votes, making silent supply-chain substitution a realistic concern.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2_appname=qoder
3pkgname="${_appname}-ide-bin"
4_pkgname='Qoder IDE'
5pkgver=1.25.1
6_electronversion=42
7pkgrel=1
8pkgdesc="Agent Programming Platform for Real Software.(Prebuilt version.Use system-wide electron)"
9arch=('x86_64')
10url="https://qoder.com/"
11_ghurl="https://github.com/QoderAI/changelog-zh_CN"
12license=('LicenseRef-custom')
13conflicts=(
14 "${_appname}"
15 "${pkgname%-bin}"
16)
17provides=(
18 "${_appname}=${pkgver}"
19 "${pkgname%-bin}=${pkgver}"
20)
21depends=(
22 "electron${_electronversion}"
23 'libxkbfile'
24 'nodejs'
25 'python'
26)
27optdepends=(
28 'bash'
29 'zsh'
30)
31options=(
32 '!emptydirs'
33 '!strip'
34)
35source=(
36 "${pkgname%-bin}-${pkgver}.rpm::https://download.qoder.com/release/latest/${pkgname%-bin}_${CARCH}.rpm"
37 "LICENSE.html"
38 "${pkgname%-bin}.js"
39 "${pkgname%-bin}.sh"
40)
41sha256sums=('e08732f05a64c11ec0120756a70a6c92cff486351799cad21cc36290b6847b1b'
42 'd93359b3ca57aec94960975eec23b6412dc8fc0c5b5fcbce57bee0931e01ec61'
43 'cbeb2e78d46c0cbe8793e7a2c06bd339e3ed9dca5f0ae1196281b8d2cf60c4c5'
44 '700067aa4b354a91ab3374b5495af9eb3093855a3d8016a8303e88abf3470599')
45pkgver() {
46 cd "${srcdir}/usr/share/${pkgname%-bin}/resources/app"
47 grep '"version":' featureFlags.json | awk -F'"version": "' '{print $2}' | awk -F',' '{print $1}' | tr -d '"'
48}
49_get_app_dir() {
50 find "${srcdir}" -type f -name "resources.pak" -exec dirname {} + | head -n 1
51}
52_check_electron_version() {
53 echo "Verifying Electron version..."
54 local _main_exe=$(find "$(_get_app_dir)" -maxdepth 1 -type f -executable -printf '%s %p\n' | sort -nr | head -1 | cut -d' ' -f2-)
55 [[ -z "${_main_exe}" ]] && echo -e "\033[1;33mNote: Could not find Electron binary.\033[0m" && return
56 local _elec_ver=$(strings "${_main_exe}" | grep -oP 'Electron/\K[0-9]+' | head -1)
57 [[ -z "${_elec_ver}" ]] && echo -e "\033[1;33mNote: Could not determine Electron version.\033[0m" && return
58 [[ "${_elec_ver}" != "${_electronversion}" ]] &&
59 echo -e "\033[1;31mWarning: Electron version mismatch! Detected: ${_elec_ver}, Expected: ${_electronversion}\033[0m" ||
60 echo -e "Electron version verified: \033[1;31m${_elec_ver}\033[0m"
61}
62prepare() {
63 _check_electron_version
64 sed -i -e "
65 s/@electronversion@/${_electronversion}/g
66 s/@appname@/${pkgname%-bin}/g
67 s/@runname@/app/g
68 s/@cfgdirname@/${_pkgname}/g
69 " "${srcdir}/${pkgname%-bin}.sh"
70 sed -i "s/@ELECTRON@/electron${_electronversion}/g" "${srcdir}/${pkgname%-bin}.js"
71 sed -i "s/\/usr\/share\/${pkgname%-bin}\///g" "${srcdir}/usr/share/applications/${pkgname%-bin}"*.desktop
72 local _app_dir=$(_get_app_dir)
73 find "${_app_dir}/resources/app" -name "win32-*" -name "*.node" -delete
74 rm -rf \
75 "${_app_dir}/resources/app/node_modules/windows-foreground-love" \
76 "${_app_dir}/resources/app/node_modules/native-is-elevated" \
77 "${_app_dir}/resources/app/extensions/ms-vscode.js-debug/src/win32-app-container-tokens."*".node"
78}
79package() {
80 install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
81 install -Dm755 "${srcdir}/${pkgname%-bin}.js" -t "${pkgdir}/usr/lib/${pkgname%-bin}"
82 local _app_dir=$(_get_app_dir)
83 cp -a "${_app_dir}/resources/app/"* "${pkgdir}/usr/lib/${pkgname%-bin}/"
84 install -Dm644 "${srcdir}/usr/share/pixmaps/${pkgname%-bin}.png" -t "${pkgdir}/usr/share/pixmaps"
85 install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}"* -t "${pkgdir}/usr/share/applications"
86 install -Dm644 "${srcdir}/usr/share/appdata/${pkgname%-bin}.appdata.xml" -t "${pkgdir}/usr/share/appdata"
87 install -Dm644 "${srcdir}/usr/share/mime/packages/${pkgname%-bin}-workspace.xml" -t "${pkgdir}/usr/share/mime/packages"
88 if [ -x "/usr/bin/zsh" ];then
89 install -Dm644 "${srcdir}/usr/share/bash-completion/completions/${_appname}" "${pkgdir}/usr/share/bash-completion/completions/${pkgname%-bin}"
90 fi
91 if [ -x "/usr/bin/zsh" ];then
92 install -Dm644 "${srcdir}/usr/share/zsh/site-functions/_${_appname}" "${pkgdir}/usr/share/zsh/site-functions/_${pkgname%-bin}"
93 fi
94 install -Dm644 "${srcdir}/LICENSE.html" -t "${pkgdir}/usr/share/licenses/${pkgname}"
95}
96

Scan history

Scanned at (UTC)SeverityRules
2026-08-24 09:25:22 Medium 3
2026-08-24 09:22:42 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