railcar

LOW
maintainer mariszo 0 votes scanned 2026-11-01 00:21:48.120785
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-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