finalshell
The PKGBUILD downloads prebuilt binary .deb packages from dl.hostbuf.com (the vendor's own distribution host for FinalShell, a proprietary Chinese SSH/server management tool) and installs them directly without building from source. The sha256sums are pinned, which mitigates tampering at rest, but the binaries are closed-source executables from a single vendor-controlled CDN with no independent verification. FinalShell is a proprietary application with a history of controversy around its network behavior (phone-home, telemetry). The risk is a real supply-chain concern: if dl.hostbuf.com is compromised or the vendor pushes malicious updates, users receive arbitrary code execution as the installed binary runs with user privileges. This is a textbook medium: not clearly malicious, but executed closed-source binaries from a non-auditable unofficial/vendor host with no source build path.
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:15
source_x86_64=('https://dl.hostbuf.com/finalshell3/finalshell_linux_x64.deb')
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD downloads prebuilt binary .deb packages from dl.hostbuf.com (the vendor's own distribution host for FinalShell, a proprietary Chinese SSH/server management tool) and installs them directly without building from source. The sha256sums are pinned, which mitigates tampering at rest, but the binaries are closed-source executables from a single vendor-controlled CDN with no independent verification. FinalShell is a proprietary application with a history of controversy around its network behavior (phone-home, telemetry). The risk is a real supply-chain concern: if dl.hostbuf.com is compromised or the vendor pushes malicious updates, users receive arbitrary code execution as the installed binary runs with user privileges. This is a textbook medium: not clearly malicious, but executed closed-source binaries from a non-auditable unofficial/vendor host with no source build path.
PKGBUILD
1 offending line(s) highlighted# Maintainer: lucas007 <lucaszhou007@163.com>
pkgname=finalshell
pkgver=4.6.4
pkgrel=1
pkgdesc="FinalShell是一体化的的服务器、网络管理软件,不仅是ssh客户端,还是功能强大的开发、运维工具,充分满足开发、运维需求。"
url="https://www.hostbuf.com/"
arch=("x86_64" "aarch64" "loong64")
license=('custom')
provides=('FinalShell')
makedepends=("rsync")
source=('FinalShell.desktop')
sha256sums=('3aa0a806f4fd3cdb5a8065226dc779f1915d5535e8bdec64fb7967698a693ed0')
source_x86_64=('https://dl.hostbuf.com/finalshell3/finalshell_linux_x64.deb')
source_aarch64=('https://dl.hostbuf.com/finalshell3/finalshell_linux_arm64.deb')
source_loong64=('https://dl.hostbuf.com/finalshell3/finalshell_linux_loong64.deb')
sha256sums_x86_64=('71d1326da3a864c6e5c64694ac669fb9b0870b175566bf8008e90fedd5aea90d')
sha256sums_aarch64=('06779669866b05c054fb9edd90efaf6768841d12c7f0839af28b0e9957b298d5')
sha256sums_loong64=('108b81abc1cd7afccd08025457871e1234e57c0f9a53330a00b354024840c43a')
prepare() {
tar -Jxf data.tar.xz
tar -Jxf control.tar.xz
}
pkgver() {
printf $(grep Version control | awk '{print $2}')
}
package() {
install -Dm644 "${srcdir}/usr/lib/finalshell/lib/FinalShell.png" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/FinalShell.png"
install -Dm644 "${srcdir}/FinalShell.desktop" "${pkgdir}/usr/share/applications/FinalShell.desktop"
rm -rf "${srcdir}/usr/lib/finalshell/lib/FinalShell.png" "${srcdir}/usr/lib/finalshell/lib/finalshell-FinalShell.desktop"
install -dm755 "${pkgdir}/usr/lib"
rsync -rq --delete "${srcdir}/usr/lib/finalshell" "${pkgdir}/usr/lib"
install -dm755 "${pkgdir}/usr/bin"
ln -sf "/usr/lib/finalshell/bin/FinalShell" "${pkgdir}/usr/bin/FinalShell"
}
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 |