ca-racing
maintainer piotrek2713
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
4
pkgname=ca-racing
5
_app_version="1.0.0-demo"
6
# Sanitize version for Arch (replace - with _)
7
pkgver="${_app_version//-/_}"
8
pkgrel=1
9
pkgdesc="Top-down 2D racing game written in Python"
10
arch=('any')
11
url="https://github.com/piotrek1372/ca-racing"
12
license=('MIT')
13
14
depends=('python-pygame' 'python-numpy' 'python-pillow' 'python-pytmx')
15
makedepends=('python' 'python-pip' 'python-setuptools')
16
17
# Source code from GitHub release
18
_urlver="${pkgver/_/-}"
19
source=("$pkgname-$_urlver.tar.gz::https://github.com/piotrek1372/$pkgname/archive/refs/tags/v$_urlver.tar.gz"
20
"ca-racing.desktop"
21
"ca-racing.sh")
22
sha256sums=('50b2799a4012a49df6000072b45eecab7afbdef632cd073cf3028fe4077f098a'
23
'1daadbed224442b479eb435bb7927a3c16353acbf25eff04d7348202b07cf3f3'
24
'ded2d55a2da0ccd2a3273130d3ed41c2e6d6e5b6f0e9c0d7f8cbbbf5365316d5')
25
26
build() {
27
cd "$srcdir/CA-Racing-$_urlver"
28
# No build steps needed for a Python source package
29
echo "Skipping build process..."
30
}
31
32
package() {
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) | 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 |