geminishell
Triggered rules
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:19
pip install -r requirements.txt -
PKGBUILD:20
pip install pyinstaller
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): This PKGBUILD pulls from a personal GitHub repo on the main branch (no pinned commit, sha256sums='SKIP'), then at build time runs 'pip install -r requirements.txt' and 'pip install pyinstaller' inside a venv — downloading arbitrary PyPI packages with no version pinning or integrity verification. The resulting PyInstaller binary bundles all those dynamically-fetched packages and is installed to /usr/bin. The combination of: (1) unpinned git HEAD from a personal repo, (2) unpinned/unverified pip dependencies, and (3) the final artifact being a compiled executable placed in /usr/bin constitutes a genuine supply-chain risk — any of the upstream sources (git repo, requirements.txt contents, PyPI packages) could be altered to inject malicious code that ends up executed as a bundled binary. This is a real medium-severity concern, not a false positive.
PKGBUILD
2 offending line(s) highlighted# Maintainer: Kshitij Aucharmal <kshitijaucharmal21@gmail.com>
pkgname=geminishell
pkgver=1.0.0
pkgrel=1
pkgdesc="A shell program written in Python"
arch=('any')
url="https://github.com/kshitijaucharmal/geminishell" # Replace with your project's URL
license=('Apache')
depends=('python' 'python-pip') # Add other dependencies if needed
source=("git+https://github.com/kshitijaucharmal/$pkgname.git#branch=main")
sha256sums=('SKIP') # Not required when using git
build() {
cd "$srcdir/$pkgname"
# Create virtual environment and install dependencies
python -m venv env
source env/bin/activate
pip install -r requirements.txt
pip install pyinstaller
# Build the application
pyinstaller src/__main__.py --clean -n geminishell --distpath target
deactivate
# Remove virtual environment
rm -rf env
}
package() {
cd "$srcdir/$pkgname"
# Install the binary into /usr/bin
install -Dm755 "target/geminishell/geminishell" "$pkgdir/usr/bin/geminishell"
# Install the LICENSE file
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |