z-code-bin
The package downloads prebuilt .deb binaries from the project's own CDN (cdn-zcode.z.ai), which is plausibly official; checksums are provided and match the architecture-specific builds, reducing supply-chain risk despite the non-whitelisted host.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads prebuilt .deb binaries from the project's own CDN (cdn-zcode.z.ai), which is plausibly official; checksums are provided and match the architecture-specific builds, reducing supply-chain risk despite the non-whitelisted host.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:26
source_x86_64=("${pkgname}-${pkgver}-amd64::https://cdn-zcode.z.ai/zcode/electron/releases/${pkgver}/linux-x64/ZCode-${pkgver}-linux-x64.deb")
PKGBUILD
1 offending line(s) highlighted# Maintainer: czyt <czytcn@gmail.com>
pkgname=z-code-bin
pkgver=3.11.2
pkgrel=1
pkgdesc="ZCode - AI Agents combined with existing toolchains for planning, coding, review and deployment"
arch=('x86_64' 'aarch64')
url="https://zcode.z.ai"
license=('custom')
depends=(
'gtk3'
'libnotify'
'nss'
'libxss'
'libxtst'
'xdg-utils'
'at-spi2-core'
'util-linux'
'libsecret'
)
optdepends=(
'libappindicator-gtk3: for system tray icon support'
)
provides=('zcode')
conflicts=('zcode' 'zcode-bin' 'zcode-desktop-bin')
options=('!strip' '!debug')
source_x86_64=("${pkgname}-${pkgver}-amd64::https://cdn-zcode.z.ai/zcode/electron/releases/${pkgver}/linux-x64/ZCode-${pkgver}-linux-x64.deb")
source_aarch64=("${pkgname}-${pkgver}-arm64::https://cdn-zcode.z.ai/zcode/electron/releases/${pkgver}/linux-arm64/ZCode-${pkgver}-linux-arm64.deb")
sha256sums_x86_64=('7d13b838631302cf61e1b8040cb67f349ec23566795897f1746432c5c5d77d5b')
sha256sums_aarch64=('de31487b97aade1365bdbf1c3a1624336cd163db8996416a4f8946f491eeedb0')
package() {
# Extract files from the .deb package.
case "$CARCH" in
x86_64) _src="${pkgname}-${pkgver}-amd64" ;;
aarch64) _src="${pkgname}-${pkgver}-arm64" ;;
esac
bsdtar -O -xf "${srcdir}/${_src}" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
# Fix permissions
chmod -R u=rwX,go=rX "${pkgdir}/opt/ZCode"
}
Changes since previous scan
--- PKGBUILD @ 2026-09-04 00:03+++ PKGBUILD @ 2026-09-17 00:27@@ -1,6 +1,6 @@ # Maintainer: czyt <czytcn@gmail.com> pkgname=z-code-bin-pkgver=3.10.1+pkgver=3.11.2 pkgrel=1 pkgdesc="ZCode - AI Agents combined with existing toolchains for planning, coding, review and deployment" arch=('x86_64' 'aarch64')@@ -25,8 +25,8 @@ options=('!strip' '!debug') source_x86_64=("${pkgname}-${pkgver}-amd64::https://cdn-zcode.z.ai/zcode/electron/releases/${pkgver}/linux-x64/ZCode-${pkgver}-linux-x64.deb") source_aarch64=("${pkgname}-${pkgver}-arm64::https://cdn-zcode.z.ai/zcode/electron/releases/${pkgver}/linux-arm64/ZCode-${pkgver}-linux-arm64.deb")-sha256sums_x86_64=('1deceec01e0545a4c7f8e26516269b1e845dfc3524598b1655e38bc61acbf08b')-sha256sums_aarch64=('22b79babe3b00fb6fbfcf7dcc033b7564a734f53df4f28998c18556071286b2c')+sha256sums_x86_64=('7d13b838631302cf61e1b8040cb67f349ec23566795897f1746432c5c5d77d5b')+sha256sums_aarch64=('de31487b97aade1365bdbf1c3a1624336cd163db8996416a4f8946f491eeedb0') package() { # Extract files from the .deb package.Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 15:58:02 | Medium | 1 |
| 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 19:46:16 | Medium | 2 |
| 2026-08-31 00:19:57 | Low | 2 |