qoder-cli

HIGH
maintainer Pakrohk 0 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 High 2
2026-09-16 00:03:17 High 2
2026-09-15 00:25:31 High 2
2026-09-14 00:27:57 High 2
2026-09-13 00:19:54 High 2
2026-09-12 00:25:17 High 2
2026-09-11 00:19:22 High 2
2026-09-10 00:22:44 High 2
2026-09-09 00:04:09 High 2
2026-09-08 00:18:08 High 2
2026-09-07 00:30:15 High 2
2026-09-06 00:17:06 High 2
2026-09-05 00:16:27 High 2
2026-09-04 00:03:13 High 2
2026-09-03 00:15:47 High 2
2026-09-02 00:02:31 High 2
2026-09-01 00:11:19 High 2
2026-08-31 00:19:57 High 2
2026-08-30 00:04:14 High 2
2026-08-29 00:29:17 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