qoder-bin

MEDIUM
maintainer zxp19821005 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a prebuilt RPM from a non-whitelisted host (download.qoder.com) which is not a standard code hosting platform, posing a supply-chain risk if the domain were compromised or maliciously redirected.

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 "${pkgname%-bin}-${pkgver}.rpm::https://download.qoder.com/qoder-app/releases/latest/${_pkgname}-linux-${CARCH}.rpm"
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 90%): The package downloads a prebuilt RPM from a non-whitelisted host (download.qoder.com) which is not a standard code hosting platform, posing a supply-chain risk if the domain were compromised or maliciously redirected.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2pkgname=qoder-bin
3_pkgname=Qoder
4pkgver=0.4.8
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=("${pkgname%-bin}")
12provides=("${pkgname%-bin}=${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 "${pkgname%-bin}-${pkgver}.rpm::https://download.qoder.com/qoder-app/releases/latest/${_pkgname}-linux-${CARCH}.rpm"
31 "LICENSE.html"
32 "resources-path-override.js"
33 "${pkgname%-bin}.sh"
34)
35sha256sums=('SKIP'
36 'd93359b3ca57aec94960975eec23b6412dc8fc0c5b5fcbce57bee0931e01ec61'
37 '7860b52642f7f9cac7341253149e5ac9b75deb338c2cf507c90e49a05d3adeb8'
38 '5754f1e135cc5783c57aaf0a4e10c73c18325422ab637d5e5b2cdf599409c1c8')
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@/${pkgname%-bin}/g
59 " "${srcdir}/${pkgname%-bin}.sh" "${srcdir}/resources-path-override.js"
60 sed -i "s/\/opt\/${_pkgname}\///g" "${srcdir}/usr/share/applications/${pkgname%-bin}.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}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
66 install -Dm644 "${srcdir}/resources-path-override.js" -t "${pkgdir}/usr/lib/${pkgname%-bin}"
67 install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-bin}/lib"
68 cp -a "$(_get_app_dir)/resources/." "${pkgdir}/usr/lib/${pkgname%-bin}/"
69 ln -sf "/usr/lib/${pkgname%-bin}/app.asar.unpacked/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3" \
70 "${pkgdir}/usr/lib/${pkgname%-bin}/lib/libvips-cpp.so.8.17.3"
71 install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.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}/${pkgname%-bin}.${_extension}"
77 done
78 install -Dm644 "${srcdir}/LICENSE.html" -t "${pkgdir}/usr/share/licenses/${pkgname}"
79}
80

Changes since previous scan

--- PKGBUILD @ 2026-10-21 00:12
+++ PKGBUILD @ 2026-11-01 00:21
@@ -1,7 +1,7 @@
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=qoder-bin
_pkgname=Qoder
-pkgver=0.4.4
+pkgver=0.4.8
_electronversion=43
pkgrel=1
pkgdesc="Qoder new form, with programming agents as the core engine, from idea to implementation, easy to handle."
@@ -29,11 +29,13 @@
source=(
"${pkgname%-bin}-${pkgver}.rpm::https://download.qoder.com/qoder-app/releases/latest/${_pkgname}-linux-${CARCH}.rpm"
"LICENSE.html"
+ "resources-path-override.js"
"${pkgname%-bin}.sh"
)
sha256sums=('SKIP'
'd93359b3ca57aec94960975eec23b6412dc8fc0c5b5fcbce57bee0931e01ec61'
- 'dfcd6603d29c7b8d88e019b517a2e5c1a7b5ab905a0961a8b81adfa508b258b8')
+ '7860b52642f7f9cac7341253149e5ac9b75deb338c2cf507c90e49a05d3adeb8'
+ '5754f1e135cc5783c57aaf0a4e10c73c18325422ab637d5e5b2cdf599409c1c8')
pkgver() {
cat "${srcdir}/.pkgver" 2>/dev/null || echo "${pkgver}"
}
@@ -54,20 +56,15 @@
sed -i -e "
s/@electronversion@/${_electronversion}/g
s/@appname@/${pkgname%-bin}/g
- " "${srcdir}/${pkgname%-bin}.sh"
+ " "${srcdir}/${pkgname%-bin}.sh" "${srcdir}/resources-path-override.js"
sed -i "s/\/opt\/${_pkgname}\///g" "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
- asar e "$(_get_app_dir)/resources/app.asar" "${srcdir}/app.asar.unpacked" || true
- grep '"version":' "${srcdir}/app.asar.unpacked/package.json" | awk -F'"version": "' '{print $2}' | awk -F',' '{print $1}' | tr -d '"' > "${srcdir}/.pkgver"
- find "${srcdir}/app.asar.unpacked/out" -type f -exec sed -i "s/process.resourcesPath/\'\/usr\/lib\/${pkgname%-bin}\'/g" {} +
- find "${srcdir}/" -type d \
- \( -name "*win32*" -o -name "*darwin*" -o -name "*arm*" \) \
- -exec rm -rf {} +
- asar p "${srcdir}/app.asar.unpacked" "$(_get_app_dir)/resources/app.asar"
+ ( cd "${srcdir}" && asar ef "$(_get_app_dir)/resources/app.asar" package.json )
+ grep -oP '"version":\s*"\K[^"]+' "${srcdir}/package.json" > "${srcdir}/.pkgver"
}
package() {
install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
+ install -Dm644 "${srcdir}/resources-path-override.js" -t "${pkgdir}/usr/lib/${pkgname%-bin}"
install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-bin}/lib"
- local _app_dir="$(_get_app_dir)"
cp -a "$(_get_app_dir)/resources/." "${pkgdir}/usr/lib/${pkgname%-bin}/"
ln -sf "/usr/lib/${pkgname%-bin}/app.asar.unpacked/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3" \
"${pkgdir}/usr/lib/${pkgname%-bin}/lib/libvips-cpp.so.8.17.3"

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 03:43:44 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 03:30:06 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2

Report a package

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

0 / 4000
Your suggestion