qoder-agent

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 (the project's own domain, plausibly official) but it is an unverifiable prebuilt executable with a single checksum and few votes; the host is the project's own domain rather than a personal file-sharing service, keeping risk moderate rather than high.

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:30 "qoder-${pkgver}.rpm::https://download.qoder.com/qoder-app/releases/latest/${_pkgname}-linux-${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 (the project's own domain, plausibly official) but it is an unverifiable prebuilt executable with a single checksum and few votes; the host is the project's own domain rather than a personal file-sharing service, keeping risk moderate rather than high.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: lzsnyy <710080675@qq.com>
2pkgname=qoder-agent
3_pkgname=Qoder
4pkgver=0.5.2
5_electronversion=43
6pkgrel=1
7pkgdesc="Qoder new form, with programming agents as the core engine, from idea to implementation, easy to handle."
8arch=('x86_64')
9url="https://qoder.com/"
10license=('LicenseRef-custom')
11conflicts=('qoder')
12provides=("qoder=${pkgver}")
13depends=(
14 "electron${_electronversion}"
15 'libsecret'
16 'nodejs'
17)
18makedepends=(
19 'asar'
20)
21optdepends=(
22 'bash'
23 'zsh'
24)
25options=(
26 '!emptydirs'
27 '!strip'
28)
29source=(
30 "qoder-${pkgver}.rpm::https://download.qoder.com/qoder-app/releases/latest/${_pkgname}-linux-${CARCH}.rpm"
31 "LICENSE.html"
32 "qoder.js"
33 "qoder.sh"
34)
35sha256sums=('c80e7cc53c5b4ea2ca2359fceda2546d6a82c3d409133890579e9d39bff60653'
36 'd93359b3ca57aec94960975eec23b6412dc8fc0c5b5fcbce57bee0931e01ec61'
37 '562897be8a17076176f8d985c0d7bc1c685f2e7c9b3a932339ce015963243627'
38 '9417ba033cfc980d6723978dc5fca100cbec6da78e5494f9e64960e4efec8c21')
39pkgver() {
40 cat "${srcdir}/.pkgver" 2>/dev/null || echo "${pkgver}"
41}
42_get_app_dir() {
43 find "${srcdir}" -type f -name "resources.pak" ! -path "*/node_modules/*" -printf '%h\n' 2>/dev/null \
44 | while read -r d; do [[ -d "${d}/resources" ]] && { echo "$d"; return 0; }; done
45}
46_check_electron_version() {
47 local _v=$(strings "$(find "$(_get_app_dir)" -maxdepth 1 -type f \
48 -executable -printf '%s %p\n' | sort -nr | head -1 | cut -d' ' -f2-)" \
49 | grep -oP 'Electron/\K[0-9]+' | head -1)
50 [[ -z "$_v" ]] && { echo -e "\033[1;33mNote: Could not check version.\033[0m"; return; }
51 (( _v == _electronversion )) && c=32 || c=31
52 echo -e "Electron version: \033[1;${c}m$_v$([[ $c -eq 31 ]] && echo " (expected $_electronversion)")\033[0m"
53}
54prepare() {
55 _check_electron_version
56 sed -i -e "
57 s/@electronversion@/${_electronversion}/g
58 s/@appname@/qoder/g
59 " "${srcdir}/qoder.sh" "${srcdir}/qoder.js"
60 sed -i "s/\/opt\/${_pkgname}\///g" "${srcdir}/usr/share/applications/qoder.desktop"
61 ( cd "${srcdir}" && asar ef "$(_get_app_dir)/resources/app.asar" package.json )
62 grep -oP '"version":\s*"\K[^"]+' "${srcdir}/package.json" > "${srcdir}/.pkgver"
63}
64package() {
65 install -Dm755 "${srcdir}/qoder.sh" "${pkgdir}/usr/bin/qoder"
66 install -Dm644 "${srcdir}/qoder.js" -t "${pkgdir}/usr/lib/qoder"
67 install -Dm755 -d "${pkgdir}/usr/lib/qoder/lib"
68 cp -a "$(_get_app_dir)/resources/." "${pkgdir}/usr/lib/qoder/"
69 ln -sf "/usr/lib/qoder/app.asar.unpacked/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3" \
70 "${pkgdir}/usr/lib/qoder/lib/libvips-cpp.so.8.17.3"
71 install -Dm644 "${srcdir}/usr/share/applications/qoder.desktop" -t "${pkgdir}/usr/share/applications"
72 find "${srcdir}" -type f \( -name "*.png" -o -name "*.svg" \) -path "*share/icons/*" | while read -r _i; do
73 _extension="${_i##*.}"
74 _icon_path="${_i#*share/icons/}"
75 _target_dir="/usr/share/icons/$(dirname "${_icon_path}")"
76 install -Dm644 "${_i}" "${pkgdir}${_target_dir}/qoder.${_extension}"
77 done
78 install -Dm644 "${srcdir}/LICENSE.html" -t "${pkgdir}/usr/share/licenses/${pkgname}"
79}
80

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