coderec
maintainer vpao
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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>
2
pkgname=coderec
3
pkgver=0.1.2
4
pkgrel=1
5
pkgdesc="Identifies machine code in binary files."
6
arch=('x86_64')
7
url="https://github.com/vobst/coderec"
8
license=('Apache-2.0')
9
depends=('brotli'
10
'expat'
11
'fontconfig'
12
'freetype2'
13
'gcc-libs'
14
'glib2'
15
'glibc'
16
'graphite'
17
'harfbuzz'
18
'libpng'
19
'pcre2'
20
'zlib')
21
makedepends=('cargo'
22
'pkgconf')
23
source=("$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")
25
sha512sums=('7482922b8f92d6a7e4cdc9adca67bb09820d1aa702f5628c463334b8d3036da11250527a15c570ec8817520401240c5277cfaf88abe4886924dcc15b55a7ef15'
26
'a13f15d91f0f8846d748e42e7a881f783eb8f922861a63d9dfb74824d21337039dd8216f0373c3e5820c5e32de8f0a1880ec55456ff0da39f17d32f567d62b84')
27
noextract=("$pkgname-$pkgver-corpus.tar.gz")
28
29
prepare() {
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
39
build() {
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
47
package() {
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) | 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 |