belt-bin

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

The package downloads prebuilt binaries from the project's own distribution domain (dist.inference.sh), which is plausibly official; the host is not whitelisted but the binaries are checksummed and the worst case is supply-chain compromise of an official release, not arbitrary remote code execution.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads prebuilt binaries from the project's own distribution domain (dist.inference.sh), which is plausibly official; the host is not whitelisted but the binaries are checksummed and the worst case is supply-chain compromise of an official release, not arbitrary remote code execution.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:16 source_x86_64=("inferencesh-cli-v${pkgver}-linux-amd64.tar.gz::https://dist.inference.sh/cli/v${pkgver}/inferencesh-cli-v${pkgver}-linux-amd64.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: chuanshanjia <1845776552@qq.com>
2
3pkgname=belt-bin
4pkgver=1.26.19
5pkgrel=1
6pkgdesc="CLI for inference.sh - run AI apps, manage skills, connect MCP servers"
7arch=('x86_64' 'aarch64')
8url="https://inference.sh/belt"
9license=('MIT')
10depends=('glibc')
11provides=('belt' 'infsh' 'inferencesh')
12conflicts=('belt' 'infsh' 'inferencesh')
13options=('!strip' '!emptydirs')
14
15source=("LICENSE")
16source_x86_64=("inferencesh-cli-v${pkgver}-linux-amd64.tar.gz::https://dist.inference.sh/cli/v${pkgver}/inferencesh-cli-v${pkgver}-linux-amd64.tar.gz")
17source_aarch64=("inferencesh-cli-v${pkgver}-linux-arm64.tar.gz::https://dist.inference.sh/cli/v${pkgver}/inferencesh-cli-v${pkgver}-linux-arm64.tar.gz")
18
19sha256sums=('2b8447683453e9a1eab7364b149fcb2066f68ef0e1db1dd1fade2792f6d4cc96')
20sha256sums_x86_64=('fbda7904c9a2ecc2ca4d710e8b565209b4320e20016eafab9438a6aba75fa9b9')
21sha256sums_aarch64=('acd5ffd456b8f300936b27a915b7bbb2e2569954b2b5a0e79267a375b4e40e02')
22
23package() {
24 local _dist_arch
25 case "$CARCH" in
26 x86_64) _dist_arch="amd64" ;;
27 aarch64) _dist_arch="arm64" ;;
28 *) echo "Unsupported architecture: $CARCH" >&2; return 1 ;;
29 esac
30
31 install -Dm755 "${srcdir}/inferencesh-cli-v${pkgver}-linux-${_dist_arch}" "${pkgdir}/usr/bin/belt"
32 ln -s belt "${pkgdir}/usr/bin/infsh"
33 ln -s belt "${pkgdir}/usr/bin/inferencesh"
34 install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
35}
36

Changes since previous scan

--- PKGBUILD @ 2026-10-26 00:12
+++ PKGBUILD @ 2026-11-01 00:21
@@ -1,7 +1,7 @@
# Maintainer: chuanshanjia <1845776552@qq.com>
pkgname=belt-bin
-pkgver=1.26.1
+pkgver=1.26.19
pkgrel=1
pkgdesc="CLI for inference.sh - run AI apps, manage skills, connect MCP servers"
arch=('x86_64' 'aarch64')
@@ -17,8 +17,8 @@
source_aarch64=("inferencesh-cli-v${pkgver}-linux-arm64.tar.gz::https://dist.inference.sh/cli/v${pkgver}/inferencesh-cli-v${pkgver}-linux-arm64.tar.gz")
sha256sums=('2b8447683453e9a1eab7364b149fcb2066f68ef0e1db1dd1fade2792f6d4cc96')
-sha256sums_x86_64=('8ab4a71e1e3da8744998248258f57fed6a062afd327545e3888edbd623521cfa')
-sha256sums_aarch64=('501a9c2e07e30b67e7bcd03fb26326004f463abd13668bdcb4830083d5e596cd')
+sha256sums_x86_64=('fbda7904c9a2ecc2ca4d710e8b565209b4320e20016eafab9438a6aba75fa9b9')
+sha256sums_aarch64=('acd5ffd456b8f300936b27a915b7bbb2e2569954b2b5a0e79267a375b4e40e02')
package() {
local _dist_arch

Scan history

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

Report a package

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

0 / 4000
Your suggestion