railcar-git
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 build process, not an external application install, and the package builds from the project's own source, posing minimal risk.
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 build process, not an external application install, and the package builds from the project's own source, posing minimal risk.
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:23
cargo install cargo-when --force
PKGBUILD
1 offending line(s) highlighted
1
#Maintainer: Mariszo <mariszo@itfinger.com>
2
#Contributor: Mariszo <mariszo@itfinger.com>
3
4
pkgname=railcar-git
5
pkgver=1.0.4.47.bedd974597
6
pkgrel=1
7
pkgdesc="Rust implementation of the Open Containers Initiative oci-runtime"
8
url="https://github.com/oracle/railcar"
9
depends=('gcc-libs' 'libseccomp')
10
makedepends=('git' 'rustup')
11
conflicts=('railcar')
12
arch=('x86_64')
13
provides=('railcar')
14
license=("APACHE")
15
source=('git+https://github.com/oracle/railcar.git')
16
sha512sums=('SKIP')
17
18
prepare() {
19
rustup toolchain install stable-$CARCH-unknown-linux-gnu
20
rustup default stable-$CARCH-unknown-linux-gnu
21
rustup target install $CARCH-unknown-linux-musl
22
23
cargo install cargo-when --force
24
}
25
26
build() {
27
cd railcar
28
./build.sh
29
}
30
31
package() {
32
install -D -m 0755 railcar/railcar "$pkgdir/usr/bin/railcar"
33
}
34
35
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 |