ape-loader-bin
The package downloads a prebuilt ELF binary from the project's official host (cosmo.zip), which is not on the whitelist but is plausibly legitimate; the binary is installed as a static executable with a valid checksum, and no obfuscated or malicious behavior is present in the PKGBUILD.
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 a prebuilt ELF binary from the project's official host (cosmo.zip), which is not on the whitelist but is plausibly legitimate; the binary is installed as a static executable with a valid checksum, and no obfuscated or malicious behavior is present in the PKGBUILD.
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:15
source_x86_64=("ape::https://cosmo.zip/pub/cosmos/bin/ape-x86_64.elf")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Kainoa Kanter <kainoa@t1c.dev>
pkgname=ape-loader-bin
pkgver=4.0.2
pkgrel=1
pkgdesc="APE loader for the cosmopolitan toolchain"
arch=('x86_64' 'aarch64' 'arm64')
url="https://justine.lol/cosmopolitan/index.html"
license=('ISC')
depends=()
makedepends=("sudo")
optdepends=("cosmocc-bin: Cosmpoiltan compiler (which this is meant to be used with)")
options=("!strip")
source_x86_64=("ape::https://cosmo.zip/pub/cosmos/bin/ape-x86_64.elf")
source_aarch64=("ape::https://cosmo.zip/pub/cosmos/bin/ape-x86_64.elf")
source_arm64=("ape::https://cosmo.zip/pub/cosmos/bin/ape-x86_64.elf")
noextract=("ape")
sha512sums_x86_64=('67da9d68cfa9b252a549bc7415b4f8cc6faaca76441ca980f95e71f8e63653de1ddcf43efa285ad352d90ab5c4fee66bd8eaf0bc0fb71ceb996c1c1cbddeb4b1')
sha512sums_aarch64=('67da9d68cfa9b252a549bc7415b4f8cc6faaca76441ca980f95e71f8e63653de1ddcf43efa285ad352d90ab5c4fee66bd8eaf0bc0fb71ceb996c1c1cbddeb4b1')
sha512sums_arm64=('67da9d68cfa9b252a549bc7415b4f8cc6faaca76441ca980f95e71f8e63653de1ddcf43efa285ad352d90ab5c4fee66bd8eaf0bc0fb71ceb996c1c1cbddeb4b1')
prepare() {
chmod +x "${srcdir}/ape"
sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" || echo "ape already registered"
sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" || echo "ape already registered"
}
package() {
install -Dm755 "$srcdir"/ape "$pkgdir/usr/bin/ape"
}
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 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |