c0-bin
maintainer kopecs
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a source tarball from the project's official domain (c0.cs.cmu.edu), which is plausibly the project's own infrastructure; the build process unpacks and installs it with minor patches, posing no execution of remote code or supply-chain risk beyond standard source builds.
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 source tarball from the project's official domain (c0.cs.cmu.edu), which is plausibly the project's own infrastructure; the build process unpacks and installs it with minor patches, posing no execution of remote code or supply-chain risk beyond standard source builds.
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:13
source=("$pkgname::https://c0.cs.cmu.edu/downloads/aux/cc0-r771.tgz" "fno-common.patch")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Cooper Pierce <cppierce@andrew.cmu.edu>
2
# Contributor: Derek Brown <derekbro@andrew.cmu.edu>
3
pkgname=c0-bin
4
pkgver=0.771
5
pkgrel=1
6
pkgdesc="A small safe subset of the C programming language, augmented with contracts"
7
url="http://c0.cs.cmu.edu"
8
arch=('x86_64' 'i686')
9
license=('MIT')
10
depends=('libpng>=1.2' 'zlib>=1.2' 'gcc>=5.1' 'ncurses5-compat-libs>=6.0')
11
conflicts=('c0' 'c0-git')
12
provides=('cc0')
13
source=("$pkgname::https://c0.cs.cmu.edu/downloads/aux/cc0-r771.tgz" "fno-common.patch")
14
md5sums=('e03e3c90b07603d899acedfc445faaf4'
15
'41a1d89191c6420779cf05a1f55339ab')
16
17
prepare() {
18
cd "cc0.r771"
19
patch --forward --strip=1 --input="${srcdir}/fno-common.patch"
20
}
21
22
package() {
23
# Create Installation Folder Structure
24
mkdir -p ${pkgdir}/usr/lib/c0
25
cp -r ${srcdir}/cc0.r771/* ${pkgdir}/usr/lib/c0
26
27
mkdir -p ${pkgdir}/usr/bin
28
29
bins=('cc0' 'coin' 'codex' 'wrappergen')
30
for bin in "${bins[@]}"; do
31
chmod +x ${pkgdir}/usr/lib/c0/bin/${bin}.bin
32
echo -e "#!/bin/sh\n/usr/lib/c0/bin/${bin}.bin \$@" >> ${pkgdir}/usr/bin/${bin}
33
chmod +x ${pkgdir}/usr/bin/${bin}
34
done
35
}
36
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 |