qoder-cli

maintainer Pakrohk · 0 votes · scanned 2026-08-03 00:08:14.047287
HIGH
View on AUR ↗
Why flagged This PKGBUILD executes `curl -fsSL https://qoder.com/install | bash` at build time with no checksum verification, no pinned version, and no source array entry. This is a classic supply-chain attack vector: the remote script can deliver arbitrary code to the builder's machine at any time. The PKGBUILD itself acknowledges 'Qoder does not publish official SHA256/MD5 checksums.' Additionally, pkgver='latest' means there is no reproducibility whatsoever. The binary installed is a proprietary, unverified executable from an unofficial/personal host (qoder.com is not a well-known vendor). The combination of piped shell execution of a remote script plus no integrity verification elevates this beyond a typical medium supply-chain concern to high severity.

Triggered rules

MEDIUM External download from an untrusted host, not in source=() external_download_not_in_source

curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.

  • PKGBUILD:27 curl -fsSL https://qoder.com/install | bash || {
HIGH AI review of an ambiguous pattern llm_review

The static rules found a suspicious pattern they could not resolve, so an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed it and judged it HIGH (confidence 95%): This PKGBUILD executes `curl -fsSL https://qoder.com/install | bash` at build time with no checksum verification, no pinned version, and no source array entry. This is a classic supply-chain attack vector: the remote script can deliver arbitrary code to the builder's machine at any time. The PKGBUILD itself acknowledges 'Qoder does not publish official SHA256/MD5 checksums.' Additionally, pkgver='latest' means there is no reproducibility whatsoever. The binary installed is a proprietary, unverified executable from an unofficial/personal host (qoder.com is not a well-known vendor). The combination of piped shell execution of a remote script plus no integrity verification elevates this beyond a typical medium supply-chain concern to high severity.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: pakrohk <pakrohk@gmail.com>
2pkgname=qoder-cli
3pkgver=latest
4pkgrel=1
5pkgdesc="Qoder Agentic CLI - Advanced AI coding agent from Alibaba"
6url="https://qoder.com/cli"
7arch=('x86_64')
8license=('proprietary')
9
10# No runtime dependencies beyond base system (portable binary)
11# Build-time: curl (usually present on Arch)
12options=('!strip')
13
14prepare() {
15 cd "${srcdir}"
16
17 echo "================================================================================"
18 echo "Preparing Qoder CLI installation..."
19 echo "================================================================================"
20
21 # Check if binary already provided manually
22 if [ ! -f "qoder-cli" ]; then
23 echo "Downloading latest Qoder CLI using official installation script..."
24 echo "Script: curl -fsSL https://qoder.com/install | bash"
25
26 # Run official script to download portable binary
27 curl -fsSL https://qoder.com/install | bash || {
28 echo "ERROR: Download failed. Check internet connection or sanctions bypass."
29 echo "Alternative: Manually download the Linux CLI binary from https://qoder.com/cli"
30 echo " Place it as 'qoder-cli' in this directory and rerun makepkg."
31 exit 1
32 }
33
34 # Official script typically outputs 'qoder' or 'qodercli' - rename safely
35 if [ -f "qoder" ]; then
36 mv qoder qoder-cli && echo "Renamed 'qoder' → 'qoder-cli'"
37 elif [ -f "qodercli" ]; then
38 mv qodercli qoder-cli && echo "Renamed 'qodercli' → 'qoder-cli'"
39 else
40 echo "ERROR: Expected binary (qoder or qodercli) not found after script execution."
41 echo "Please check script output or download manually."
42 exit 1
43 fi
44 else
45 echo "Using pre-placed qoder-cli binary from source directory"
46 fi
47
48 # Security notice
49 echo "================================================================================"
50 echo "NOTE: Qoder does not publish official SHA256/MD5 checksums."
51 echo " For security-critical use, verify the binary manually."
52 echo "================================================================================"
53}
54
55package() {
56 cd "${srcdir}"
57
58 echo "================================================================================"
59 echo "Installing Qoder CLI..."
60 echo "================================================================================"
61
62 # Install portable binary
63 install -Dm755 qoder-cli "${pkgdir}/usr/bin/qoder"
64 echo "Binary installed to /usr/bin/qoder"
65
66 echo "================================================================================"
67 echo "Qoder CLI successfully installed!"
68 echo ""
69 echo "Launch with: qoder"
70 echo "First run: Use /login command inside CLI to sign in (pakrohk@gmail.com)"
71 echo "Enjoy agentic coding in your terminal! 🚀"
72 echo "================================================================================"
73}
74

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 HIGH 2
2026-08-02 00:16:08 HIGH 2
2026-08-01 00:11:18 HIGH 2
2026-07-31 00:14:10 HIGH 2
2026-07-30 00:17:23 HIGH 2
2026-07-29 00:25:53 HIGH 2
2026-07-28 00:07:28 HIGH 2
2026-07-27 00:24:32 HIGH 2
2026-07-26 00:07:32 HIGH 2
2026-07-25 00:13:44 HIGH 2
2026-07-24 00:02:28 HIGH 2
2026-07-23 00:14:47 HIGH 2
2026-07-22 00:29:32 HIGH 2
2026-07-21 00:24:15 HIGH 2
2026-07-20 00:19:49 HIGH 2
2026-07-19 00:17:08 HIGH 2
2026-07-18 00:14:48 HIGH 2
2026-07-17 00:06:16 HIGH 2
2026-07-16 00:05:41 HIGH 2
2026-07-15 00:09:25 HIGH 2

Report a package

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

0 / 4000
Your suggestion