api-fox-bin
The package downloads a prebuilt .deb from the official vendor's domain (apifox.com) over HTTPS, which is then extracted and installed; despite the non-whitelisted host, the source is verifiable and the checksums are provided, reducing risk.
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 a prebuilt .deb from the official vendor's domain (apifox.com) over HTTPS, which is then extracted and installed; despite the non-whitelisted host, the source is verifiable and the checksums are provided, reducing risk.
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:56
"${_zip_x86_64}::https://file-assets.apifox.com/download/Apifox-linux-deb-latest.zip?version=${pkgver}"
PKGBUILD
1 offending line(s) highlighted# Maintainer: czyt <czytcn@gmail.com>
# Official downloads: https://apifox.com/download
pkgname=api-fox-bin
pkgver=2.8.48
pkgrel=1
pkgdesc="Apifox API documentation, debugging, mocking, and automated testing tool"
arch=('x86_64' 'aarch64')
url="https://apifox.com"
license=('LicenseRef-Proprietary')
depends=(
'alsa-lib'
'at-spi2-core'
'cairo'
'dbus'
'expat'
'gcc-libs'
'glib2'
'glibc'
'gtk3'
'libcups'
'libnotify'
'libsecret'
'libx11'
'libxcb'
'libxcomposite'
'libxdamage'
'libxext'
'libxfixes'
'libxkbcommon'
'libxrandr'
'libxss'
'libxtst'
'mesa'
'nspr'
'nss'
'pango'
'systemd-libs'
'util-linux-libs'
'xdg-utils'
)
optdepends=(
'java-runtime: run the bundled Java database executors'
'libappindicator-gtk3: system tray icon support'
)
makedepends=('libarchive')
provides=("apifox=${pkgver}")
conflicts=('apifox' 'apifox-bin' 'apifox-appimage')
options=('!debug' '!strip')
_zip_x86_64="apifox-${pkgver}-${pkgrel}-x86_64.zip"
_zip_aarch64="apifox-${pkgver}-${pkgrel}-aarch64.zip"
source_x86_64=(
"${_zip_x86_64}::https://file-assets.apifox.com/download/Apifox-linux-deb-latest.zip?version=${pkgver}"
)
source_aarch64=(
"${_zip_aarch64}::https://file-assets.apifox.com/download/Apifox-linux-arm64-deb-latest.zip?version=${pkgver}"
)
noextract=("${_zip_x86_64}" "${_zip_aarch64}")
sha256sums_x86_64=('30a9a936ca2bfa1d1a2d3a9393e3562ef1e9dfbd4fb47e811fba239930cdd740')
sha256sums_aarch64=('082dc09a703fbb9ef916a2107cfbc9d7bf3f4b23942e1bf839b10f5161ea86f4')
package() {
local zip_var="_zip_${CARCH}"
local zip_file="${!zip_var}"
local data_member
local -a deb_files
mapfile -t deb_files < <(bsdtar -tf "${srcdir}/${zip_file}" | awk '/[.]deb$/')
[[ ${#deb_files[@]} -eq 1 ]] || {
printf 'Expected exactly one deb in %s, found %d\n' \
"${zip_file}" "${#deb_files[@]}" >&2
return 1
}
data_member=$(
bsdtar -xOf "${srcdir}/${zip_file}" "${deb_files[0]}" |
bsdtar -tf - |
awk '/^data[.]tar[.]/ { print; exit }'
)
[[ -n "${data_member}" ]] || {
printf 'Could not find the deb data archive in %s\n' "${zip_file}" >&2
return 1
}
bsdtar -xOf "${srcdir}/${zip_file}" "${deb_files[0]}" |
bsdtar -xOf - "${data_member}" |
bsdtar --no-same-owner -xf - -C "${pkgdir}"
install -dm755 "${pkgdir}/usr/bin"
ln -s /opt/Apifox/apifox "${pkgdir}/usr/bin/apifox"
chmod 4755 "${pkgdir}/opt/Apifox/chrome-sandbox"
install -Dm644 "${pkgdir}/opt/Apifox/LICENSE.electron.txt" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.electron.txt"
install -Dm644 "${pkgdir}/opt/Apifox/LICENSES.chromium.html" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSES.chromium.html"
# Debian package-policy files are not used on Arch Linux.
rm -rf "${pkgdir}/usr/share/doc"
}
Changes since previous scan
--- PKGBUILD @ 2026-09-20 00:25+++ PKGBUILD @ 2026-10-02 00:00@@ -2,7 +2,7 @@ # Official downloads: https://apifox.com/download pkgname=api-fox-bin-pkgver=2.8.47+pkgver=2.8.48 pkgrel=1 pkgdesc="Apifox API documentation, debugging, mocking, and automated testing tool" arch=('x86_64' 'aarch64')@@ -59,8 +59,8 @@ "${_zip_aarch64}::https://file-assets.apifox.com/download/Apifox-linux-arm64-deb-latest.zip?version=${pkgver}" ) noextract=("${_zip_x86_64}" "${_zip_aarch64}")-sha256sums_x86_64=('a8d732b1ef073b0135ab0dd1b42a83568f42837b67e6c1ddd54770ba8b423d71')-sha256sums_aarch64=('283d191de2394e64366bc8bf78a6c5f5a04107d269ef8a015ac93f188f6ee4d2')+sha256sums_x86_64=('30a9a936ca2bfa1d1a2d3a9393e3562ef1e9dfbd4fb47e811fba239930cdd740')+sha256sums_aarch64=('082dc09a703fbb9ef916a2107cfbc9d7bf3f4b23942e1bf839b10f5161ea86f4') package() { local zip_var="_zip_${CARCH}"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |
| 2026-09-30 00:20:07 | Low | 2 |
| 2026-09-29 00:07:46 | Low | 2 |
| 2026-09-28 00:28:32 | Low | 2 |
| 2026-09-27 00:07:07 | Low | 2 |
| 2026-09-26 00:12:15 | Low | 2 |
| 2026-09-25 00:03:36 | Low | 2 |
| 2026-09-24 00:24:14 | Low | 2 |
| 2026-09-23 00:28:13 | Low | 2 |
| 2026-09-22 00:15:14 | Low | 2 |
| 2026-09-21 00:26:32 | Low | 2 |
| 2026-09-20 15:33:19 | Medium | 1 |
| 2026-09-20 00:25:31 | Low | 2 |
| 2026-09-19 00:25:36 | Low | 2 |
| 2026-09-18 00:17:11 | Low | 2 |
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 17:20:16 | Medium | 1 |
| 2026-09-15 00:25:31 | Low | 2 |