xterminal-deb
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:16
source_x86_64=("https://cdn-cn.xterminal.cn/downloads/XTerminal-${pkgver}-linux-amd64.deb")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): This PKGBUILD downloads a prebuilt Electron-based binary (.deb) from cdn-cn.xterminal.cn, which is the official CDN for the XTerminal application (xterminal.cn is the vendor's own domain). The host is not a random personal server — it is the vendor's own distribution CDN. However, the package still installs a prebuilt, closed-source binary blob extracted from a .deb without any integrity verification beyond a sha512 checksum. The sha512sum provides reasonable integrity protection against CDN compromise or MITM, though the checksum itself is only as trustworthy as the PKGBUILD maintainer. The binary is a full Electron app with SSH/RDP capabilities, meaning it has significant system access potential. The PKGBUILD also has a minor issue: the package() function references data.tar.xz without first extracting it from the .deb (the .deb is the source, not data.tar.xz directly), suggesting the build may rely on makepkg's automatic extraction behavior or may be broken. Overall this is a standard 'binary repackage from vendor CDN' pattern common in AUR, which carries inherent supply-chain risk (trust in the vendor) but is not unusual or clearly malicious. The medium rating is appropriate given the prebuilt binary nature and closed-source Electron app with network capabilities.
PKGBUILD
1 offending line(s) highlighted# Maintainer: himi <himi888@outlook.com>
pkgname=xterminal-deb
_pkgname=xterminal
pkgver=1.31.4
pkgrel=1
pkgdesc="SSH和RDP Windows客户端(使用内置electron)"
arch=('x86_64')
url="https://www.xterminal.cn/"
license=('custom')
provides=("${_pkgname}=${pkgver}")
conflicts=("xterminal-bin" "xterminal")
depends=('gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'at-spi2-core' 'util-linux-libs' 'libsecret' 'desktop-file-utils' 'hicolor-icon-theme')
optdepends=('libappindicator-gtk3')
options=('!strip' '!emptydirs')
install=${_pkgname}.install
source_x86_64=("https://cdn-cn.xterminal.cn/downloads/XTerminal-${pkgver}-linux-amd64.deb")
sha512sums_x86_64=('789604eb52e98f7b85b39c703c0cb7e4801cdcb652135ee070efef2d73ba4170ca98b80603c760b0810dde9c00b88016c63dede39e129eadc87cc150e6623e0b')
DLAGENTS=("https::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 --retry-delay 3 -o %o %u")
package(){
tar -xJ -f data.tar.xz -C "${pkgdir}"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |