ape-bin
The package downloads prebuilt APE binaries from cosmo.zip, a domain associated with the Cosmopolitan project; while not on a standard whitelist, it is the project's official distribution point, and the binaries are verified with fixed checksums, reducing risk.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads prebuilt APE binaries from cosmo.zip, a domain associated with the Cosmopolitan project; while not on a standard whitelist, it is the project's official distribution point, and the binaries are verified with fixed checksums, 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:16
"https://cosmo.zip/pub/cosmos/v/3.3.1/bin/ape-x86_64.elf"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Asger Hautop Drewsen <asger@tyilo.com>
pkgname=ape-bin
pkgver=1.10
pkgrel=2
pkgdesc="actually portable executable loader"
arch=('x86_64' 'aarch64')
url="https://justine.lol/cosmopolitan/index.html"
license=('ISC')
depends=()
makedepends=()
source=(
"ape-binfmt.conf"
)
source_x86_64=(
"https://cosmo.zip/pub/cosmos/v/3.3.1/bin/ape-x86_64.elf"
)
source_aarch64=(
"https://cosmo.zip/pub/cosmos/v/3.3.1/bin/ape-aarch64.elf"
)
sha256sums=('3e9c148ca8aeed687ec05bc06fea954b08cf4fff9044a06ab19a0e48c4dc8e17')
sha256sums_x86_64=('7c1cf8b24e1b6dd6ad7da3817045d582ada146b4d6ec0c6a45bea830e3a65f4d')
sha256sums_aarch64=('877ccbd465243065426cb4a3cab4351acad918649f8656556bb604882eead08f')
install=ape.install
pkgver() {
chmod +x "$srcdir/ape-$CARCH.elf"
"$srcdir/ape-$CARCH.elf" -h | sed -nE 's/.*version (.*).*/\1/p'
}
package() {
install -D -m755 "$srcdir/ape-$CARCH.elf" "$pkgdir/usr/bin/ape"
# Make sure the config filename sorts lexicographically greater than "wine.conf"
install -D -m644 "$srcdir/ape-binfmt.conf" "$pkgdir/usr/lib/binfmt.d/zzz_ape.conf"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |