rofi-notion
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-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 |