ape-loader-bin

LOW
maintainer That1Calculator 0 votes scanned 2026-09-17 00:27:14.276658
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
3pkgname=ape-loader-bin
4pkgver=4.0.2
5pkgrel=1
6pkgdesc="APE loader for the cosmopolitan toolchain"
7arch=('x86_64' 'aarch64' 'arm64')
8url="https://justine.lol/cosmopolitan/index.html"
9license=('ISC')
10depends=()
11makedepends=("sudo")
12optdepends=("cosmocc-bin: Cosmpoiltan compiler (which this is meant to be used with)")
13options=("!strip")
14
15source_x86_64=("ape::https://cosmo.zip/pub/cosmos/bin/ape-x86_64.elf")
16source_aarch64=("ape::https://cosmo.zip/pub/cosmos/bin/ape-x86_64.elf")
17source_arm64=("ape::https://cosmo.zip/pub/cosmos/bin/ape-x86_64.elf")
18
19noextract=("ape")
20
21sha512sums_x86_64=('67da9d68cfa9b252a549bc7415b4f8cc6faaca76441ca980f95e71f8e63653de1ddcf43efa285ad352d90ab5c4fee66bd8eaf0bc0fb71ceb996c1c1cbddeb4b1')
22sha512sums_aarch64=('67da9d68cfa9b252a549bc7415b4f8cc6faaca76441ca980f95e71f8e63653de1ddcf43efa285ad352d90ab5c4fee66bd8eaf0bc0fb71ceb996c1c1cbddeb4b1')
23sha512sums_arm64=('67da9d68cfa9b252a549bc7415b4f8cc6faaca76441ca980f95e71f8e63653de1ddcf43efa285ad352d90ab5c4fee66bd8eaf0bc0fb71ceb996c1c1cbddeb4b1')
24
25prepare() {
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
31package() {
32 install -Dm755 "$srcdir"/ape "$pkgdir/usr/bin/ape"
33}
34

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion