rofi-notion
The PKGBUILD creates a Python venv and runs `pip install pyinstaller` (pulling from PyPI without any version pin or hash verification), then `pip install .` (the package itself), and uses PyInstaller to bundle everything into a single binary that gets installed to /usr/bin. The concerns are: (1) pyinstaller is fetched from PyPI at whatever the latest version is — no version constraint, no integrity check — creating a supply-chain risk from an external, unverified source during build; (2) the resulting installed artifact is a PyInstaller-bundled binary, which is an unusual and opaque form for an Arch package; (3) sha256sums is 'SKIP', so the upstream source tarball itself is not verified. While PyPI is a legitimate ecosystem mirror, pulling an unconstrained, unverified build tool from it during the build process is a genuine (if not clearly malicious) supply-chain concern — a compromised or typosquatted pyinstaller on PyPI would result in arbitrary code execution during build and a trojanized installed binary. This matches the MEDIUM classification.
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 pyinstaller
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 80%): The PKGBUILD creates a Python venv and runs `pip install pyinstaller` (pulling from PyPI without any version pin or hash verification), then `pip install .` (the package itself), and uses PyInstaller to bundle everything into a single binary that gets installed to /usr/bin. The concerns are: (1) pyinstaller is fetched from PyPI at whatever the latest version is — no version constraint, no integrity check — creating a supply-chain risk from an external, unverified source during build; (2) the resulting installed artifact is a PyInstaller-bundled binary, which is an unusual and opaque form for an Arch package; (3) sha256sums is 'SKIP', so the upstream source tarball itself is not verified. While PyPI is a legitimate ecosystem mirror, pulling an unconstrained, unverified build tool from it during the build process is a genuine (if not clearly malicious) supply-chain concern — a compromised or typosquatted pyinstaller on PyPI would result in arbitrary code execution during build and a trojanized installed binary. This matches the MEDIUM classification.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Arnaud Gissinger <agissing@student.42.fr>
pkgname=rofi-notion
pkgver=2.1.2
pkgrel=1
pkgdesc="Quickly create new Notion pages for your databases with rofi as GUI."
arch=('any')
url="https://github.com/mathix420/rofi-notion"
license=('MIT')
makedepends=('python>=3.9' 'python-setuptools')
provides=('rofi-notion')
source=("$pkgname-$pkgver.tar.gz::https://github.com/mathix420/rofi-notion/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd "$pkgname-$pkgver"
rm .python-version
python -m venv "$pkgname-$pkgver-aur"
source $pkgname-$pkgver-aur/bin/activate
pip install pyinstaller
pip install .
pyinstaller stub.py --onefile --clean -n ${pkgname}
deactivate
rm -r "$pkgname-$pkgver-aur"
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 "./dist/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}
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 |