boxd-cli-bin

maintainer theorangeguo · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The package downloads a prebuilt binary from a non-standard host (boxd.sh) which is not on the standard whitelist; while the domain appears project-specific, the lack of verifiable source code for the binary creates a supply-chain risk if the host is compromised.

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:23 source_x86_64=(boxd-cli-bin-0.1.23-x86_64::https://boxd.sh/downloads/cli/boxd-linux-amd64 )
MEDIUM AI review llm_review

An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is MEDIUM (confidence 90%): The package downloads a prebuilt binary from a non-standard host (boxd.sh) which is not on the standard whitelist; while the domain appears project-specific, the lack of verifiable source code for the binary creates a supply-chain risk if the host is compromised.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: theorangeguo
2# Packaging Repo: https://github.com/theorangeguo/aur-packages/tree/main/packages/boxd-cli-bin
3pkgname=boxd-cli-bin
4pkgver=0.1.23
5pkgrel=1
6pkgdesc=External\ CLI\ for\ managing\ boxd\ cloud\ VMs
7arch=(x86_64 aarch64 )
8url=https://boxd.sh/
9license=(custom:boxd-terms )
10depends=(ca-certificates glibc )
11makedepends=()
12checkdepends=()
13optdepends=(openssh:\ connect\ to\ boxd\ VMs\ via\ ssh )
14options=(\!strip )
15provides=(boxd boxd-cli )
16conflicts=(boxd boxd-cli )
17validpgpkeys=()
18install=boxd-cli-bin.install
19source=(LICENSE )
20sha256sums=('7f5da622099b2595235408e5130e231f74b8a4d6972fd0d5234be963f5baa247')
21sha256sums_x86_64=('4e551e178d4972c31e91e1b1e32f1d2b28d343fa321f026b4b14452c3da76297')
22sha256sums_aarch64=('4d50887bd8ba01d7e5b4e04688659ba68af494f357e34b0add7b77e4825639e1')
23source_x86_64=(boxd-cli-bin-0.1.23-x86_64::https://boxd.sh/downloads/cli/boxd-linux-amd64 )
24source_aarch64=(boxd-cli-bin-0.1.23-aarch64::https://boxd.sh/downloads/cli/boxd-linux-arm64 )
25
26_binary_source_path=boxd-cli-bin-0.1.23-\*
27_install_bin_path=/usr/bin/boxd
28_wrapper_source_path=''
29_wrapper_install_path=''
30_wrapper_mode=755
31_service_file=''
32_service_install_path=''
33_doc_files=()
34_license_files=(LICENSE )
35
36
37package() {
38 _resolve_required_source_file() {
39 local pattern=$1
40 local matches=()
41 local nullglob_was_set=false
42
43 shopt -q nullglob && nullglob_was_set=true
44 shopt -s nullglob
45 matches=("${srcdir}"/$pattern)
46 [ "$nullglob_was_set" = true ] || shopt -u nullglob
47
48 if [ "${#matches[@]}" -ne 1 ]; then
49 printf 'Expected exactly one source match for pattern %s, found %s\n' "$pattern" "${#matches[@]}" >&2
50 return 1
51 fi
52
53 [ -f "${matches[0]}" ] || {
54 printf 'Matched source is not a file: %s\n' "${matches[0]}" >&2
55 return 1
56 }
57
58 printf '%s\n' "${matches[0]}"
59 }
60
61 _install_optional_source_files() {
62 local pattern=$1
63 local target_dir=$2
64 local mode=$3
65 local matches=()
66 local matched_file
67 local nullglob_was_set=false
68
69 shopt -q nullglob && nullglob_was_set=true
70 shopt -s nullglob
71 matches=("${srcdir}"/$pattern)
72 [ "$nullglob_was_set" = true ] || shopt -u nullglob
73
74 for matched_file in "${matches[@]}"; do
75 [ -f "$matched_file" ] || continue
76 install -Dm"$mode" "$matched_file" "${pkgdir}${target_dir}/$(basename "$matched_file")"
77 done
78 }
79
80 local binary_source_file
81 binary_source_file=$(_resolve_required_source_file "${_binary_source_path}")
82 install -Dm755 "$binary_source_file" "${pkgdir}${_install_bin_path}"
83
84 if [ -n "${_wrapper_source_path}" ] && [ -n "${_wrapper_install_path}" ]; then
85 local wrapper_source_file
86 wrapper_source_file=$(_resolve_required_source_file "${_wrapper_source_path}")
87 install -Dm${_wrapper_mode} "$wrapper_source_file" "${pkgdir}${_wrapper_install_path}"
88 fi
89
90 local doc_file
91 for doc_file in "${_doc_files[@]}"; do
92 _install_optional_source_files "$doc_file" "/usr/share/doc/${pkgname}" 644
93 done
94
95 local license_file
96 for license_file in "${_license_files[@]}"; do
97 _install_optional_source_files "$license_file" "/usr/share/licenses/${pkgname}" 644
98 done
99
100 if [ -n "${_service_file}" ] && [ -f "${srcdir}/${_service_file}" ]; then
101 install -Dm644 "${srcdir}/${_service_file}" "${pkgdir}${_service_install_path}"
102 fi
103}
104

Scan history

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