hexhub
This PKGBUILD downloads a prebuilt AppImage binary from oss.hexhub.cn, which is the vendor's own CDN/OSS host (matching the official site hexhub.cn), extracts it, and installs the contents. The host is not a well-known, independently verifiable mirror, but it does appear to be the vendor's own storage bucket. The core concern is that a prebuilt binary is being executed (chmod +x and --appimage-extract runs the AppImage), and the entire extracted contents are installed to /opt. There is a sha256sum check, which mitigates silent substitution to some degree, but the binary itself is opaque and unauditable. This is a classic medium-risk pattern: a closed-source prebuilt binary from a vendor-controlled but non-mainstream host, with no source build. Not clearly malicious, but a genuine supply-chain concern.
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:14
source=('https://oss.hexhub.cn/plugin/HexHub-amd64-appimage-1.3.0.AppImage')
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 AppImage binary from oss.hexhub.cn, which is the vendor's own CDN/OSS host (matching the official site hexhub.cn), extracts it, and installs the contents. The host is not a well-known, independently verifiable mirror, but it does appear to be the vendor's own storage bucket. The core concern is that a prebuilt binary is being executed (chmod +x and --appimage-extract runs the AppImage), and the entire extracted contents are installed to /opt. There is a sha256sum check, which mitigates silent substitution to some degree, but the binary itself is opaque and unauditable. This is a classic medium-risk pattern: a closed-source prebuilt binary from a vendor-controlled but non-mainstream host, with no source build. Not clearly malicious, but a genuine supply-chain concern.
PKGBUILD
1 offending line(s) highlighted# Maintainer: wwxiaoqi <tahicoing@gmail.com>
# 1.3.0 updated by: YangYuS8 <YangYuS8@163.com>
pkgname=hexhub
pkgver=1.3.0
pkgrel=1
pkgdesc="database, docker, ssh, sftp. all in one"
arch=('x86_64')
url='https://www.hexhub.cn/'
license=('GPL')
depends=()
conflicts=()
options=("!strip" "!debug")
source=('https://oss.hexhub.cn/plugin/HexHub-amd64-appimage-1.3.0.AppImage')
sha256sums=('af03d64d97e671c14ffd29fa22bdef4eac5fe00f2448c8acf5b4ef34259dba2a')
_pkgname=HexHub-amd64-appimage-1.3.0.AppImage
noextract=("$_pkgname")
prepare() {
chmod +x "$_pkgname"
./"$_pkgname" --appimage-extract > /dev/null
}
build() {
# Adjust .desktop so it will work autside of AppImage container
sed -i \
-e "s|Exec=HexHub|Exec=/opt/$pkgname/AppRun|" \
-e "s+^Icon=.*+Icon=hexhub-bin+" \
-e "s|^Terminal=true|Terminal=false|" \
-e "s|^NoDisplay=true|NoDisplay=false|" \
"squashfs-root/appimagetool.desktop"
# Fix work no so files.
sed -i \
-e "s|cd \"\$(dirname \"\$0\")\"|cd /opt/$pkgname|" \
"squashfs-root/AppRun"
}
package() {
# Icon images
install -Dm644 "squashfs-root/hexhub.png" \
"$pkgdir/usr/share/icons/hicolor/512x512/apps/hexhub-bin.png"
# Desktop file
install -Dm644 "$srcdir/squashfs-root/appimagetool.desktop" \
"$pkgdir/usr/share/applications/HexHub.desktop"
# Copy executable
mkdir -p "$pkgdir/opt/$pkgname"
cp -r "$srcdir/squashfs-root/." "$pkgdir/opt/$pkgname/"
# Copy Bin run file
install -dm755 "$pkgdir/usr/bin"
cp -r "$pkgdir/opt/$pkgname/AppRun" "$pkgdir/usr/bin/hexhub"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |