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-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |