c0-bin

LOW
maintainer kopecs 1 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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