c0-bin

LOW
maintainer kopecs 1 votes scanned 2026-09-17 00:27:14.276658
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>
3pkgname=c0-bin
4pkgver=0.771
5pkgrel=1
6pkgdesc="A small safe subset of the C programming language, augmented with contracts"
7url="http://c0.cs.cmu.edu"
8arch=('x86_64' 'i686')
9license=('MIT')
10depends=('libpng>=1.2' 'zlib>=1.2' 'gcc>=5.1' 'ncurses5-compat-libs>=6.0')
11conflicts=('c0' 'c0-git')
12provides=('cc0')
13source=("$pkgname::https://c0.cs.cmu.edu/downloads/aux/cc0-r771.tgz" "fno-common.patch")
14md5sums=('e03e3c90b07603d899acedfc445faaf4'
15 '41a1d89191c6420779cf05a1f55339ab')
16
17prepare() {
18 cd "cc0.r771"
19 patch --forward --strip=1 --input="${srcdir}/fno-common.patch"
20}
21
22package() {
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)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