coderec

LOW
maintainer vpao 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The non-standard host hosts a data corpus file, not executable code, used during build preparation; worst case is data tampering, not remote code execution.

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 non-standard host hosts a data corpus file, not executable code, used during build preparation; worst case is data tampering, not remote code execution.

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:24 "$pkgname-$pkgver-corpus.tar.gz::https://valentinobst.de/a13f15d91f0f8846d748e42e7a881f783eb8f922861a63d9dfb74824d21337039dd8216f0373c3e5820c5e32de8f0a1880ec55456ff0da39f17d32f567d62b84/cpu_rec_corpus.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Valentin Obst <aur@vpao.de>
2pkgname=coderec
3pkgver=0.1.2
4pkgrel=1
5pkgdesc="Identifies machine code in binary files."
6arch=('x86_64')
7url="https://github.com/vobst/coderec"
8license=('Apache-2.0')
9depends=('brotli'
10 'expat'
11 'fontconfig'
12 'freetype2'
13 'gcc-libs'
14 'glib2'
15 'glibc'
16 'graphite'
17 'harfbuzz'
18 'libpng'
19 'pcre2'
20 'zlib')
21makedepends=('cargo'
22 'pkgconf')
23source=("$pkgname-$pkgver.tar.gz::https://github.com/vobst/$pkgname/archive/$pkgver.tar.gz"
24 "$pkgname-$pkgver-corpus.tar.gz::https://valentinobst.de/a13f15d91f0f8846d748e42e7a881f783eb8f922861a63d9dfb74824d21337039dd8216f0373c3e5820c5e32de8f0a1880ec55456ff0da39f17d32f567d62b84/cpu_rec_corpus.tar.gz")
25sha512sums=('7482922b8f92d6a7e4cdc9adca67bb09820d1aa702f5628c463334b8d3036da11250527a15c570ec8817520401240c5277cfaf88abe4886924dcc15b55a7ef15'
26 'a13f15d91f0f8846d748e42e7a881f783eb8f922861a63d9dfb74824d21337039dd8216f0373c3e5820c5e32de8f0a1880ec55456ff0da39f17d32f567d62b84')
27noextract=("$pkgname-$pkgver-corpus.tar.gz")
28
29prepare() {
30 cd "$srcdir/$pkgname-$pkgver"
31
32 export RUSTUP_TOOLCHAIN=stable
33 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
34
35 rm -rf cpu_rec_corpus
36 tar xf "$srcdir/$pkgname-$pkgver-corpus.tar.gz"
37}
38
39build() {
40 cd "$pkgname-$pkgver"
41
42 export RUSTUP_TOOLCHAIN=stable
43 export CARGO_TARGET_DIR=target
44 cargo build --frozen --release --all-features
45}
46
47package() {
48 cd "$pkgname-$pkgver"
49
50 install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
51
52 install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md"
53 install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
54}
55

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