ca-racing

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

The pip install is part of the build process for a legitimate Python application, installs dependencies into a local vendor directory, and uses a requirements.txt from the trusted source tarball; no remote code execution or supply-chain risk beyond normal build steps.

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 pip install is part of the build process for a legitimate Python application, installs dependencies into a local vendor directory, and uses a requirements.txt from the trusted source tarball; no remote code execution or supply-chain risk beyond normal build steps.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:38 pip install -r "$pkgdir/opt/$pkgname/requirements.txt" --target "$pkgdir/opt/$pkgname/vendor" --no-user

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Piotrek2713 <piotrek.karasinski13@gmail.com>
2# Contributor: Kilo Code <ai@kilo.dev>
3
4pkgname=ca-racing
5_app_version="1.0.0-demo"
6# Sanitize version for Arch (replace - with _)
7pkgver="${_app_version//-/_}"
8pkgrel=1
9pkgdesc="Top-down 2D racing game written in Python"
10arch=('any')
11url="https://github.com/piotrek1372/ca-racing"
12license=('MIT')
13
14depends=('python-pygame' 'python-numpy' 'python-pillow' 'python-pytmx')
15makedepends=('python' 'python-pip' 'python-setuptools')
16
17# Source code from GitHub release
18_urlver="${pkgver/_/-}"
19source=("$pkgname-$_urlver.tar.gz::https://github.com/piotrek1372/$pkgname/archive/refs/tags/v$_urlver.tar.gz"
20 "ca-racing.desktop"
21 "ca-racing.sh")
22sha256sums=('50b2799a4012a49df6000072b45eecab7afbdef632cd073cf3028fe4077f098a'
23 '1daadbed224442b479eb435bb7927a3c16353acbf25eff04d7348202b07cf3f3'
24 'ded2d55a2da0ccd2a3273130d3ed41c2e6d6e5b6f0e9c0d7f8cbbbf5365316d5')
25
26build() {
27 cd "$srcdir/CA-Racing-$_urlver"
28 # No build steps needed for a Python source package
29 echo "Skipping build process..."
30}
31
32package() {
33 # Install the application source code
34 install -d "$pkgdir/opt/$pkgname"
35 cp -r "$srcdir/CA-Racing-$_urlver/"* "$pkgdir/opt/$pkgname/"
36
37 # Install Python dependencies
38 pip install -r "$pkgdir/opt/$pkgname/requirements.txt" --target "$pkgdir/opt/$pkgname/vendor" --no-user
39
40 # Install the wrapper script
41 install -Dm755 "$srcdir/ca-racing.sh" "$pkgdir/usr/bin/$pkgname"
42
43 # Install icon and desktop file
44 install -Dm644 "$srcdir/CA-Racing-$_urlver/assets/images/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
45 install -Dm644 "$srcdir/ca-racing.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
46}
47

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