railcar

maintainer mariszo · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The cargo install is for a build tool (cargo-when) used in the prepare phase, not an external application install; the package builds railcar from source and installs only the resulting binary.

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 cargo install is for a build tool (cargo-when) used in the prepare phase, not an external application install; the package builds railcar from source and installs only the resulting binary.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM External install via pipx/uv/poetry/cargo/go/gem alt_pkg_manager_install

A non-pip/npm package manager (pipx, uv, poetry, cargo install, go install, gem, conda…) fetches and builds an external package at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:22 cargo install cargo-when --force

PKGBUILD

1 offending line(s) highlighted
1#Maintainer: Mariszo <mariszo@itfinger.com>
2#Contributor: Mariszo <mariszo@itfinger.com>
3
4pkgname=railcar
5pkgver=1.0.4
6pkgrel=1
7pkgdesc="Rust implementation of the Open Containers Initiative oci-runtime"
8url="https://github.com/oracle/railcar"
9depends=('gcc-libs' 'libseccomp')
10makedepends=('rustup')
11arch=('x86_64')
12source=("$pkgver.tar.gz::https://github.com/oracle/railcar/archive/v$pkgver.tar.gz")
13provides=('railcar')
14license=("APACHE")
15sha512sums=('83cb2309bd333e98c9c6a7768df6fb389b0e4d6c07821db494ccf3882938334f4ab5221d5a695df8e4871619d14eeb2e52d7d21af83f86b389e33e428f1d6c3d')
16
17prepare() {
18 rustup toolchain install stable-$CARCH-unknown-linux-gnu
19 rustup default stable-$CARCH-unknown-linux-gnu
20 rustup target install $CARCH-unknown-linux-musl
21
22 cargo install cargo-when --force
23}
24
25build() {
26 cd $pkgname-$pkgver
27 ./build.sh
28}
29
30package() {
31 install -D -m 0755 $pkgname-$pkgver/railcar "$pkgdir/usr/bin/railcar"
32}
33
34

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion