geminishell
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.
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-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |