ape-loader-bin
maintainer That1Calculator
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
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
LOW
AI review downgraded a static finding
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)
MEDIUM
source=() URL on a non-standard host
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
1
# Maintainer: Kainoa Kanter <kainoa@t1c.dev>
2
3
pkgname=ape-loader-bin
4
pkgver=4.0.2
5
pkgrel=1
6
pkgdesc="APE loader for the cosmopolitan toolchain"
7
arch=('x86_64' 'aarch64' 'arm64')
8
url="https://justine.lol/cosmopolitan/index.html"
9
license=('ISC')
10
depends=()
11
makedepends=("sudo")
12
optdepends=("cosmocc-bin: Cosmpoiltan compiler (which this is meant to be used with)")
13
options=("!strip")
14
15
source_x86_64=("ape::https://cosmo.zip/pub/cosmos/bin/ape-x86_64.elf")
16
source_aarch64=("ape::https://cosmo.zip/pub/cosmos/bin/ape-x86_64.elf")
17
source_arm64=("ape::https://cosmo.zip/pub/cosmos/bin/ape-x86_64.elf")
18
19
noextract=("ape")
20
21
sha512sums_x86_64=('67da9d68cfa9b252a549bc7415b4f8cc6faaca76441ca980f95e71f8e63653de1ddcf43efa285ad352d90ab5c4fee66bd8eaf0bc0fb71ceb996c1c1cbddeb4b1')
22
sha512sums_aarch64=('67da9d68cfa9b252a549bc7415b4f8cc6faaca76441ca980f95e71f8e63653de1ddcf43efa285ad352d90ab5c4fee66bd8eaf0bc0fb71ceb996c1c1cbddeb4b1')
23
sha512sums_arm64=('67da9d68cfa9b252a549bc7415b4f8cc6faaca76441ca980f95e71f8e63653de1ddcf43efa285ad352d90ab5c4fee66bd8eaf0bc0fb71ceb996c1c1cbddeb4b1')
24
25
prepare() {
26
chmod +x "${srcdir}/ape"
27
sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" || echo "ape already registered"
28
sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" || echo "ape already registered"
29
}
30
31
package() {
32
install -Dm755 "$srcdir"/ape "$pkgdir/usr/bin/ape"
33
}
34
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |