csky-debugserver-bin
The package downloads a prebuilt installer script from an untrusted, non-standard host (aliyuncs.com, a cloud storage service), which is then processed to extract and install a binary; this creates a supply-chain risk as the source is not verifiable and could be silently swapped.
Triggered rules
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:29
"${pkgname}-${pkgver}.sh.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1781751151864/XuanTie-DebugServer-linux-x86_64-V5.18.10-20260603.sh.tar.gz"
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 90%): The package downloads a prebuilt installer script from an untrusted, non-standard host (aliyuncs.com, a cloud storage service), which is then processed to extract and install a binary; this creates a supply-chain risk as the source is not verifiable and could be silently swapped.
PKGBUILD
1 offending line(s) highlighted# Maintainer: taotieren <admin@taotieren.com>
pkgname=csky-debugserver-bin
pkgver=5.18.10
pkgrel=3
epoch=
pkgdesc="C-Sky Debugger Server"
arch=('x86_64')
url="https://www.xrvm.cn/community/download?id=4380347564587814912"
license=('BSD')
groups=()
depends=(
sh
libgcc_s.so
libstdc++.so
libusb
)
makedepends=(libarchive)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=(!strip !debug)
install=
changelog=
source=(
"${pkgname}-${pkgver}.sh.tar.gz::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1781751151864/XuanTie-DebugServer-linux-x86_64-V5.18.10-20260603.sh.tar.gz"
"DebugServer User Guide_v5.18.pdf::https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1781751413408/Debugger+Server+User+Guide%28ZH-CN%29.pdf"
)
noextract=()
sha256sums=('24413810f02160e262a04cf22835adadf061c120f5ad9a7a4b3f2c821a122194'
'97888c3dc282f167cf2f627e2bde70ea678169c4855b98b8a4cf157b963c3b11')
#validpgpkeys=()
package() {
tail -n +285 "${srcdir}"/*${pkgver}*.sh >"${srcdir}/${pkgname}-${pkgver}.tar.gz"
install -dm0755 "${pkgdir}/opt/t-head/${pkgname%-bin}"
bsdtar -xf "${srcdir}/${pkgname}-${pkgver}.tar.gz" --no-same-owner --no-same-permissions --strip-components=1 -C "${pkgdir}/opt/t-head/${pkgname%-bin}"
install -Dm0644 "${srcdir}"/*.pdf -t "${pkgdir}/opt/t-head/${pkgname%-bin}"
# install -Dm0644 /dev/stdin "${pkgdir}/etc/profile.d/${pkgname%-bin}.csh" <<EOF
# setenv PATH "${PATH}:/opt/t-head/${pkgname%-bin}"
# EOF
install -Dm0755 /dev/stdin "${pkgdir}/usr/bin/${pkgname%-bin}" <<EOF
#!/bin/env bash
export PATH=/opt/t-head/${pkgname%-bin}:\$PATH
cd /opt/t-head/${pkgname%-bin}
exec DebugServerConsole.elf "\$@"
EOF
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |