goby-community
This PKGBUILD downloads a prebuilt binary ZIP from an Aliyun OSS bucket (goby-storage-public.oss-cn-beijing.aliyuncs.com), which is the project's own CDN/storage host for Goby Community Edition — a legitimate network security scanning tool. The source is checksummed with sha256sums, which provides some integrity guarantee. However, the binary is not from a canonical, verifiable upstream release page (e.g., GitHub releases), and the host is a cloud storage bucket that could be modified without notice. More critically, the package installs a prebuilt Electron/Go binary and then uses setcap to grant CAP_NET_RAW+eip and CAP_NET_ADMIN+eip capabilities to goby-cmd-linux — a raw binary from a non-standard host with elevated network capabilities is a genuine supply-chain concern. Additionally, chmod -R ugo+rwX on the entire install directory is sloppy. The combination of an unverifiable prebuilt binary host plus elevated Linux capabilities (not just execution but privileged network access) justifies a medium rating rather than clean.
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
"https://$_pkgname-storage-public.oss-cn-beijing.aliyuncs.com/$pkgver/$_pkgname-linux-x64-$pkgver-Community.zip"
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 binary ZIP from an Aliyun OSS bucket (goby-storage-public.oss-cn-beijing.aliyuncs.com), which is the project's own CDN/storage host for Goby Community Edition — a legitimate network security scanning tool. The source is checksummed with sha256sums, which provides some integrity guarantee. However, the binary is not from a canonical, verifiable upstream release page (e.g., GitHub releases), and the host is a cloud storage bucket that could be modified without notice. More critically, the package installs a prebuilt Electron/Go binary and then uses setcap to grant CAP_NET_RAW+eip and CAP_NET_ADMIN+eip capabilities to goby-cmd-linux — a raw binary from a non-standard host with elevated network capabilities is a genuine supply-chain concern. Additionally, chmod -R ugo+rwX on the entire install directory is sloppy. The combination of an unverifiable prebuilt binary host plus elevated Linux capabilities (not just execution but privileged network access) justifies a medium rating rather than clean.
PKGBUILD
1 offending line(s) highlighted# Maintainer: ShoreNinth <shoreninth@outlook.com>
_pkgname=goby
pkgname=goby-community
pkgver=2.9.25
pkgrel=1
pkgdesc="Goby 社区版 | Goby Community Edition"
arch=("x86_64")
url="https://gobies.org/"
license=('unknown')
options=("!strip" "!debug")
depends=("gtk3")
source=(
"https://$_pkgname-storage-public.oss-cn-beijing.aliyuncs.com/$pkgver/$_pkgname-linux-x64-$pkgver-Community.zip"
"$pkgname.desktop"
"$pkgname.png"
)
sha256sums=(
'6363fede20d96e418738c09713eba3da5986e54208df3ece64053ea3c7e1a1c0'
'0624f9c1aa7377ccb5bd6b6a54a3dbea3cdd1a1e838a154c73bd01d22ff5fc3f'
'11e10dc114bd6cd8ecfe018b277798f1c7727f113c15ebc09090682f8575bb1f'
)
prepare() {
cd "${srcdir}"
bsdtar -xpf $_pkgname-linux-x64-$pkgver-Community.zip
}
package() {
install -d $pkgdir/{opt/$pkgname,usr/bin}
mv ./$_pkgname-linux-x64-$pkgver/* $pkgdir/opt/$pkgname
ln -s /opt/$pkgname/goby $pkgdir/usr/bin/$pkgname
ln -s /opt/$pkgname/goby/golib/goby-cmd-linux $pkgdir/usr/bin/$pkgname-cmd
install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -Dm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
chmod -R ugo+rwX $pkgdir/opt/$pkgname
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' $pkgdir/opt/$pkgname/golib/goby-cmd-linux
note "可使用goby-community-cmd启动goby-cmd"
note "Use goby-cmd by running goby-community-cmd"
}
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 |