qoder-ide
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
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"
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
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# Maintainer: lzsnyy <710080675@qq.com>
_appname=qoder
pkgname="${_appname}-ide"
_pkgname='Qoder IDE'
pkgver=1.38.0
_electronversion=42
pkgrel=1
pkgdesc="AI native IDE for real-world software development."
arch=('x86_64')
url="https://qoder.com/"
_ghurl="https://github.com/QoderAI/changelog-zh_CN"
license=('LicenseRef-custom')
conflicts=('qoder-ide-bin')
depends=(
"electron${_electronversion}"
'libxkbfile'
'nodejs'
'python'
)
optdepends=(
'bash'
'zsh'
)
options=(
'!emptydirs'
'!strip'
)
source=(
"qoder-ide-${pkgver}.rpm::https://download.qoder.com/release/latest/qoder-ide_${CARCH}.rpm"
"LICENSE.html"
"qoder-ide.js"
"qoder-ide.sh"
)
sha256sums=('a8eb8c6e09565d31916204ddbff972437d59cf6f7a2bc62838d52763d195535f'
'd93359b3ca57aec94960975eec23b6412dc8fc0c5b5fcbce57bee0931e01ec61'
'562897be8a17076176f8d985c0d7bc1c685f2e7c9b3a932339ce015963243627'
'9417ba033cfc980d6723978dc5fca100cbec6da78e5494f9e64960e4efec8c21')
pkgver() {
cat "${srcdir}/.pkgver" 2>/dev/null || echo "${pkgver}"
}
_get_app_dir() {
find "${srcdir}" -type f -name "resources.pak" ! -path "*/node_modules/*" -printf '%h\n' 2>/dev/null \
| while read -r d; do [[ -d "${d}/resources" ]] && { echo "$d"; return 0; }; done
}
_check_electron_version() {
local _v=$(strings "$(find "$(_get_app_dir)" -maxdepth 1 -type f \
-executable -printf '%s %p\n' | sort -nr | head -1 | cut -d' ' -f2-)" \
| grep -oP 'Electron/\K[0-9]+' | head -1)
[[ -z "$_v" ]] && { echo -e "\033[1;33mNote: Could not check version.\033[0m"; return; }
(( _v == _electronversion )) && c=32 || c=31
echo -e "Electron version: \033[1;${c}m$_v$([[ $c -eq 31 ]] && echo " (expected $_electronversion)")\033[0m"
}
prepare() {
_check_electron_version
grep '"version":' "$(_get_app_dir)/resources/app/featureFlags.json" | awk -F'"version": "' '{print $2}' | awk -F',' '{print $1}' | tr -d '"' > "${srcdir}/.pkgver"
sed -i -e "
s/@electronversion@/${_electronversion}/g
s/@appname@/qoder-ide/g
s/@runname@/qoder-ide.js/g
" "${srcdir}/qoder-ide.sh" "${srcdir}/qoder-ide.js"
sed -i "s/\/usr\/share\/qoder-ide\///g" "${srcdir}/usr/share/applications/qoder-ide"*.desktop
find "$(_get_app_dir)/resources/app" -type d \( -name "*win32*" -o -name "*darwin*" -o -name "*arm*" \) -exec rm -rf {} +
rm -rf \
"$(_get_app_dir)/resources/app/node_modules/windows-foreground-love" \
"$(_get_app_dir)/resources/app/node_modules/native-is-elevated"
}
package() {
install -Dm755 "${srcdir}/qoder-ide.sh" "${pkgdir}/usr/bin/qoder-ide"
install -Dm755 "${srcdir}/qoder-ide.js" -t "${pkgdir}/usr/lib/qoder-ide"
cp -a "$(_get_app_dir)/resources/." "${pkgdir}/usr/lib/qoder-ide/"
install -Dm644 "${srcdir}/usr/share/pixmaps/qoder-ide.png" -t "${pkgdir}/usr/share/pixmaps"
install -Dm644 "${srcdir}/usr/share/applications/qoder-ide"* -t "${pkgdir}/usr/share/applications"
install -Dm644 "${srcdir}/usr/share/appdata/qoder-ide.appdata.xml" -t "${pkgdir}/usr/share/appdata"
install -Dm644 "${srcdir}/usr/share/mime/packages/qoder-ide-workspace.xml" -t "${pkgdir}/usr/share/mime/packages"
[[ -x /usr/bin/bash ]] && install -Dm644 "${srcdir}/usr/share/bash-completion/completions/${_appname}" "${pkgdir}/usr/share/bash-completion/completions/qoder-ide"
[[ -x /usr/bin/zsh ]] && install -Dm644 "${srcdir}/usr/share/zsh/site-functions/_${_appname}" "${pkgdir}/usr/share/zsh/site-functions/_qoder-ide"
install -Dm644 "${srcdir}/LICENSE.html" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-03 12:09:28 | Medium | 3 |
| 2026-11-03 12:04:35 | Medium | 3 |